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
0
votes
1 answer

Create Neo4j database dump with JQAssistant

I want to create a dump of the database that JQAssistant creates with a scan. So far i have tried to do this with the integrated server and by connecting jqassistant to a running database. The problem with the integrated database is that i can't…
Norwort
  • 13
  • 6
0
votes
1 answer

Q: jQAssistant - generate report

It is possible to generate two reports? I have one report for the test team with individual query. And I have have a second report for the development team with a different query. All rules are located in the folder "jqassistant/myrule1.xml". The…
auertob
  • 15
  • 3
0
votes
2 answers

Find implementation of interface method

I'd like to visualize method chains of our codebase (which method invokes which method) starting from a given method with jqassistant. For normal method calls the following Cypher query works. workupNotification is the method I am starting…
Philippe
  • 157
  • 1
  • 11
0
votes
1 answer

Is it possible to use jQAssistant as a tool inside a java application?

I am currently working on a small project. The idea is to use jQAssistant to fill the neo4j database so that the data can be used by an rest api. The plan is to upload a jar, war or ear to a java backend so that it can be scanned (scan -f) and then…
Phuong
  • 1
0
votes
1 answer

jQAssistant - scanInclude Maven artifact

I have a project with the following structure: myProject + Annotations - pom.xml + projectA + jqassistant -my-rules.xml - pom.xml There are dependencies between the two, as some classes from the project A are…
JaneDoe
  • 15
  • 2
0
votes
1 answer

Find checked/unchecked Exceptions with jQAssistant

I'm trying to use jqassistant to find any checked exceptions used in my project. Is there any way to differentiate between checked/unchecked exceptions with jqa?
JaneDoe
  • 15
  • 2
0
votes
1 answer

How to find an example instance of a cyclic dependency in jQAssistant?

I found the output of the dependency:packageCycles constraint shipped with jQAssistant hard to interpret. Specifically I'm keen on finding an example instance of classes that make up the cyclic dependency. Given I found a cyclce of packages, for…
f4lco
  • 3,728
  • 5
  • 28
  • 53
0
votes
1 answer

Skip JQAssistant scan & analyze for a particular sub module project due to error

When there are multiple modules under a parent project, how to indicate jqassistant not to scan or analyze a particular module ? This is because I get below error while executing the jqassistant:scan,analyze with parent pom.xml. But when run…
skpraveen
  • 183
  • 1
  • 5
  • 18
0
votes
1 answer

JQassistant rule for TestMethods with lambda expressions and consumers asserts

Our project has few Unit Tests in which the asserts are passed as a lambda or consumer to the test class. Example as below. How to write a cypher rule constraint such the asserts are identified and the method is not flagged as without assert.…
skpraveen
  • 183
  • 1
  • 5
  • 18
0
votes
2 answers

JQassistant rule for TestMethodWithoutAssertion with non-Junit assert methods

Our project uses assert methods from assertj library as well in some of the unit test methods. So the current cypher rule to search for assert method doesn't identify assert methods like below and flags them as…
skpraveen
  • 183
  • 1
  • 5
  • 18
0
votes
1 answer

jQAssistant command line stopped working after switching to 1.3.0

I'm used to configure the gradle build to use jQAssistent with (basically) this snippet in build.gradle: project.ext["jqaversion"] = "1.3.0" project.ext["jqacoreversion"] = "1.3" configurations { jqaRuntime } …
Jens Nerche
  • 118
  • 8
0
votes
1 answer

How to exclude applied groups from report

I am using jqassistant 1.2.0 with asciidoc 1.5.3 - all in maven. My question is a specific question for the maven plugin "jqassistant". I am scanning a large java war from a server using "mvn clean install" as the default command line prompt. I…
Tilde
  • 155
  • 7
0
votes
2 answers

How to use jqassistent in a multi-module project with a parent which is stored parallel to the module?

I have a multi-module maven project with the following structure myProject + parent - pom.xml + moduleA - pom.xml + moduleB - pom.xml I would configure jqassistant in the parent directory the same way I did in a simple…
niels
  • 7,321
  • 2
  • 38
  • 58
0
votes
1 answer

Memory overhead of neo4j

What is the disk-memory overhead of neo4j? At jqassistant I analyse 5 MB of Sources and the compiled jar which includes everything is about 50 MB great. The database-directory is about 500 MB. In other words storing the structure information of an…
niels
  • 7,321
  • 2
  • 38
  • 58
0
votes
1 answer

Default-Severity at jQassistant

Following the documentation all constrainst should be checked as severity MAJOR and all concepts as MINOR. If I look to the log of my project I found [INFO] Reading rules from directory C:\seu\sandboxes\github\sze_spring\jqassistant [INFO]…
niels
  • 7,321
  • 2
  • 38
  • 58