jQAssistant 1.3.0 released

jQAssistant 1.3.0 released

2 Kommentare zu jQAssistant 1.3.0 released

A new release of jQAssistant is available and it comes with some interesting new features! Read about them in this release announcement and for keeping you curious there’s also a preview on what to expect from jQAssistant development in the near future.

JSON plugin

The new JSON scanner plugin picks up *.json files and stores them in a generic represenation in the graph database. For a file „/indy.json“ with the content…

  "firstName" : "Indiana ",
  "lastName" : "Name"

…the values of all attributes can be gathered using the following Cypher query:

  f.fileName, key.name, value.value

For more information on the structure refer to the plugin documentation.

Support for Remote Neo4j Servers

Until now jQAssistant users had to use the Neo4j community edition which comes embedded with the command line tool or the Maven plugin. There’s now additional support for connecting to existing Neo4j 3.x instances using the bolt protocol. Therefore the command line utility supports new parameters:

bin/jqassistant.sh scan -f myApplication.war -storeUri bolt://localhost:7687 -storeUsername=neo4j -storePassword=secret

For the Maven plugin a store section is available in the plugin configuration:


There’s no difference in the behavior of jQAssistant in using the embedded or a remote Neo4j instance but scanning of course is a bit slower (about 2-3 times).

This new feature enables setting up a job on your continuous integration server to scan your application on a regular base and make the data available to developers, architects, QA engineers such that they can explore the code structures or gather metrics using cypher queries.

Rule Severities

The default severities of rules have been raised: If not specified otherwise concepts will now use „MINOR“ (before „INFO“) and constraints „MAJOR“ (before: „MINOR“). It is also possible to define default severities for groups, concepts and constraints, e.g. for the Maven plugin:

      <!-- values from older jQAssistant releases -->

WarnOnSeverity and FailOnSeverity

These two new options have been introduced to allow more fine grained control on printing warnings on the console or breaking a build:


The options „failOnViolations“ and „severity“ have been deprecated and will be removed in future releases.

Release Notes, Documentation and Download

For a full list of changes refer to the release notes, the full documentation is available here.

The command line utility can be downloaded as ZIP archive, for upgrading the Maven plugin just change the plugin version from 1.2.0 to 1.3.0.

What’s up next?

There are cool ideas in the pipeline and here’s what to expect in the next release:

Asciidoc as executable documentation and report
Since the first official release jQAssistant can evaluate rules which are embedded in Asciidoc files. It’s a core feature and the idea behind is to provide an approach for executable design and architecture documentation. In the near future it will be possible to render these documents directly to HTML or PDF documents including the results of executed rules. Thus every build which includes a run of jQAssistant will provide information about the currently defined rules and the conformity of the system in a human readable representation in just one single place.
Parameter sets
jQAssistant already provides support for parameterized rules, i.e. concepts and constraints may define parameters. There will be an option to define parameter sets, e.g. as Asciidoc tables where each row will be applied for executing a rule.
PlantUML rules
At this time rules can be expressed as Cypher queries or scripting languages (e.g. Groovy or JavaScript). There are use cases (especially in the case of architectural concepts) where it is more convenient and intuitive to use diagrams, e.g. for defining components and their allowed dependencies. There will be initial support for this scenario using PlantUML diagrams.

Last but not least two other releases will be announced soon: an update of the SonarQube plugin and a brand new Spring plugin providing rules for ensuring clean design and architecture of Spring Boot applications.

Stay tuned!

About the author:



  1. Roman Zagorski  - 10. Oktober 2017 - 16:22

    Are there plans to support analysis of Spring-Context? We have beans defined in ‚application.xml‘-Fashion and are wondering if it were possible to analyse such context files.

    Best regards,
    Roman Zagorski

    • Dirk Mahler  - 13. Oktober 2017 - 12:57

      Hi Roman,

      it’s not yet in the plans but people sometimes ask for it.

      But there’s already another solution in place that can help you in the meantime: you can use the generic XML file scanner by specifying an include pattern (xml.file.include) in the scanner properties, see http://buschmais.github.io/jqassistant/doc/1.3.0/#XmlFileScanner. The files will be picked up and you’ll get structures like this:


      By writing some concepts you should be able to extract the information you need.

Leave a comment

Back to Top