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
1
vote
0 answers

How to use git plugin in JQAssistant command line?

Paragraph below mentioned we can use git plugin in JQAssistant commmand line: If you want to add the git plugins to your jQAssistant downloaded commandline installation you currently have to manually add the an org.eclipse.jgit jar file to the…
hmozaffari
  • 31
  • 3
1
vote
1 answer

Should jQAssistant's EJB3 plugin create the Concepts listed in the manual?

I'm trying a couple of jQAssistant plugins, in this case the EJB3 plugin. I think I haven't grasped the idea of Concepts. I was expecting Node labels like "Ejb", "Local" and "Remote" to appear after scanning a Maven module that contains some…
eerriicc
  • 1,124
  • 4
  • 17
  • 29
1
vote
1 answer

How to differentiate between "Direct" and "Indirect" dependencies in jQAssistant

To illustrate my issue, I created a minimal, fictional example project which consists of three classes, Service, Transaction and Product. P package org.example; public class Service { public Service(Transaction transaction) { int…
Michael Osl
  • 2,720
  • 1
  • 21
  • 36
1
vote
1 answer

Is there a tool like JQAssistant for Typescript

I'm currently working on code analysis and using this tool https://jqassistant.org/ to query the code of a Java application, I'm able right now to query all the feign clients and relationships between a set of jar files what gives me a dependency…
1
vote
1 answer

is it possible to use jqassistant output with graphlytic?

I'm currently struggling with circular dependencies and wanted to see all classes that are dependant on my desired class transitively. I figured jqassistant is a tool to go to. I am already familiar with graphlytic, but can i somehow import the…
ibecar
  • 415
  • 3
  • 10
1
vote
1 answer

JQAssistant with multiple projects and builds

I have JQAssistant scanning my project(s) and can query each of the projects. The documentation cites a Team Server ability where all projects/builds are stored in a central Neo4j db. I cannot find any documentation though on how this would be…
Rollo Tomassi
  • 81
  • 1
  • 6
1
vote
1 answer

Terraform plugin for JQAssistant available?

I am looking for a terraform plugin for JQAssistant. So far I didn't found any. Is there a plugin available to analyze terraform code?
Matthias
  • 15
  • 3
1
vote
0 answers

Integrate JQAssistant-Maven-Plugin with database analysis via RDBMS Plugin

I´m trying to move my existing software-analysis with jQAssistant (which is basically all steps and scripts in a textfile and executed manually) to the maven-plugin of jQAssistant in order to be able to perform the software-analysis at the…
CSan
  • 954
  • 1
  • 10
  • 25
1
vote
1 answer

How to detect / resolve super method invocations with jqassistant

I am using jqassistant 1.8.0 to detect super method calls in a class hierarchy. It seems some method invocations within a class hierarchy are missing, even after applying the classpath:Resolve concept. Minimal set-up consist of three…
1
vote
0 answers

How can I query invocations of a certain Java method in Java and get access to all parameter values?

I am developing a DMN plugin for JQAssistant (https://github.com/remast/jqa-dmn-plugin). I know how to handle the DMN itself. Now I want to create relations for all Java calls to the DMN decision table. One way to invoke the decision table in Java…
remast
  • 33
  • 5
1
vote
1 answer

How to exclude individual constraints with jqassistant?

Background We are experimenting with using jqassistant for automatic audit compliance checking. As is typical in that area, there are a lot of constraints, but they are not necessarily hard constraints. For example, in software architecture, a…
Frank
  • 10,461
  • 2
  • 31
  • 46
1
vote
2 answers

Ensure that a method in an enum exists with jQAssistant

I want to ensure that all enums have a static method called findByAttribute. I can select the method by MATCH (enum:Enum) - [:DECLARES] -> (method:Method) WHERE method.static = true AND method.name = "findByAttribute" RETURN enum.name,…
Mark Hunt
  • 25
  • 5
1
vote
2 answers

Integrate jQAssistant in Maven build using profile and running server

I'm trying to integrate jQAssistant into my existing Maven build. I have a hierarchy of POMs, but basically the top POM defines what the build does. That's where I have my and my build plugins that are always used. I also have a…
eerriicc
  • 1,124
  • 4
  • 17
  • 29
1
vote
1 answer

JQAssistant - is it possible to query for the value of annotation attributes?

We are thinking about doing some JQAssistant concepts/rules based on the values of annotation attributes. Can these values be queried and evaluated with JQAssistant? Example: Find all classes that have methods that are annotated with…
jens
  • 1,763
  • 1
  • 15
  • 25
1
vote
1 answer

How can I exclude libraries in a WAR during jQAssistant scan?

I'm new to jQAssistant, and I like it very much. However, I'm not interested in having any data of dependencies outside our company in the Neo4j database. So far, I haven't found any means to exclude JARs from being scanned when they're found in a…
eerriicc
  • 1,124
  • 4
  • 17
  • 29