Questions tagged [jqassistant]

jQAssistant is an open source source code analytics tool that scans various aspects of a (java based) software project into a graph database (neo4j). It makes the raw data available for analytics and querying with Cypher but also allows to enrich the graph with higher level concepts. Features a plugin architecture and build integration. See: http://jqassistant.org

jQAssistant is an open source source code analytics tool that scans various aspects of a (java based) software project into a graph database (Neo4j).

It makes the raw data available for analytics and querying with Cypher but also allows to enrich the graph with higher level concepts.

Features a plugin architecture and build integration which allows to fail the build when architectural or other constraints are violated.

The idea is to allow software developers and teams to freely define their own rules and concepts and make them independent of commercial tools that are too narrow in their capabilities.

93 questions
3
votes
1 answer

Passing the parameter 'ruleParameters' when using the jQAssistant-Maven-Plugin via the command line

Is it possible to pass the ruleParameters argument when using the jQAssistant-Maven-Plugin from command line? I tried to call the analyze goal of the plugin like so: mvn com.buschmais.jqassistant:jqassistant-maven-plugin:1.8.0:analyze …
JerryTerra
  • 31
  • 1
3
votes
3 answers

How to include package into query?

This question is a continuation of How to identify all classes implementing a specific interface that do NOT extend some base class?. The accepted answer there suggests to use: MATCH (i:Interface {name:'Action'} )<-[:IMPLEMENTS|EXTENDS*1..10]-…
GhostCat
  • 137,827
  • 25
  • 176
  • 248
3
votes
2 answers

Maximizing (ordering) version number elements in Neo4j database

I have used jQAssistant to fill a Neo4j database with information about java artifacts. Now I want to find the latest version of some artifact fulfilling some conditions. At first glance, I could use max(a.version) on the version property of an…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
2
votes
0 answers

JQassistant commandline report task is not generating asciidoc html files

Love the idea behind this tool, but I'm struggling with the documentation. I am trying to generate a report of jar files using the commandline. When I run ./bin/jqassistant.sh: scan, I see the generated associated neo4j store analyze produces…
Pebbz
  • 21
  • 1
2
votes
0 answers

jQAssistant with multiple constraints in @jQASuppress not working

It seems, that currently only one constraint/concept can be surpressed by @jQASuppress annotation. The following @jQASuppress({"spring-injection:InjectablesShouldBeHeldInFinalFields", …
2
votes
0 answers

Syntax for jqAssistant / cypher - Return all paths that end in one node

I scanned my Java code base with jqassistant into a neo4j library, and I'd like to get all calls (also transitive) to a certain method methodname. I guess it something like this: MATCH (c:Class)-[:DECLARES]-(m:Method)-[:INVOKES*0..]- (v:Method…
user857990
  • 1,140
  • 3
  • 14
  • 29
2
votes
1 answer

Analyzing @SuppressWarnings with JqAssistant

we're using SonarQube zu analyze our Codebase and sometimes just have to use the @SuppressWarnings-Annotation to mark Issues in SonarQube as false positives. Of course we'd like to limit the use of this Annotation to defined cases and dissallow it…
tom
  • 1,455
  • 1
  • 8
  • 13
2
votes
1 answer

What node properties must exist for a clean graphml name in jQassistant

What properties must a node have, so that it's name is displayed in the graphml. grafic? I create some node based on my packages with MATCH (artifact:Artifact) WHERE artifact.type <> "test-jar" MATCH …
niels
  • 7,321
  • 2
  • 38
  • 58
2
votes
2 answers

Discover methods without @Transaction?

I'm struggling with a validation I would like to implement. I would like to verify that every Methods from a Service that start with update must have the @Transactional annotation. So far I have made a concept that gives me the methods from my…
rogergl
  • 3,501
  • 2
  • 30
  • 49
2
votes
1 answer

multiple projects jqassistant

I have multiple maven projects that are related to each other in Eclipse. Now I need to check the projects e.g. for cyclic dependencies. What I have is a folder that contains the constraints in every single project. Is there a possibility to check…
Tino W
  • 21
  • 1
2
votes
1 answer

Error when scanning XML file with jqassistant

When I scan my XML file from the command line, I see a "No JSR 303 Bean Validation provider available.": C:\Dev\jqassistant.distribution-1.0.0>.\bin\jqassistant.cmd scan -f ..\Main\PC_MES\docs\javadoc\publishedApi.xml -s jqassistant\xml Using…
Sven Thiel
  • 21
  • 2
2
votes
1 answer

Exclusion of inner classes in query for jQAssistant

I would like to implement some naming conventions with the help of jQAssistant. All classes implementing the PropertyConverter interface should have names ending with Converter. This rule does not apply to anonymous inner classes. Now I have two…
Oliver
  • 3,815
  • 8
  • 35
  • 63
2
votes
0 answers

Pre-defined stylesheets in Neo4j browser

My project called jQAssistant (https://jqassistant.org) comes with a maven goal which starts an embedded Neo4j server using this.server = new WrappingNeoServer(databaseAPI); this.server.start(); which then can be used with a web browser to…
Dirk Mahler
  • 1,186
  • 1
  • 6
  • 7
1
vote
1 answer

How to use javaparser plugin of JQAssistant?

I'm trying to use javaparser plugin of JQAssistant using command line. I have done the following: Copied "jqassistant.plugin.javaparser-1.8.0.jar" to "plugin" folder. I also noticed plugin has runtime dependency to…
hmozaffari
  • 31
  • 3
1
vote
1 answer

How to scan multiple Git repositories with JQAssistant Git plugin in one shot?

I have a situation with structure bellow and Git plugin plus property file scanner. There are N Git repositories under "Parent_Directory". I am not able to scan "Parent_Directory" in one shot because Git plugin is expecting one .git folder per scan.…
hmozaffari
  • 31
  • 3
1
2 3 4 5 6 7