Nope …

You just enable the profile and all you need is automatically created in the 
root project’s target directory …
So just run the build once locally with the profile enabled and after that’s 
finished simply run

mvn -P with-architectural-analysis jqassistant:server

And have fun ;-)

Chris

Von: Xinyu Tan <tanxi...@apache.org>
Datum: Freitag, 23. August 2024 um 08:40
An: dev@iotdb.apache.org <dev@iotdb.apache.org>
Betreff: Re: PR adding some exciting analysis tool
Hi,Chris

This tool looks really cool because we can quantify our progress in eliminating 
singlons graphically.

I only have one question: do we need to install a graph database locally to use 
it?

Best
---------------
Xinyu Tan

On 2024/08/22 12:01:00 Christofer Dutz wrote:
> Hi all,
>
> I just created the PR https://github.com/apache/iotdb/pull/13269
> This adds a new profile to the build which uses a tool called jqassistant to 
> collect a huge amount of data during the build.
> It stores this information in a graph-database Neo4J.
>
> This is not only about classes, which methods they define, which properties 
> they have, which other methods they call, package relations, etc. it also 
> contains all information from Maven and it’s dependencies as well as SCM 
> information. It’s really amazing which types of analysis you can to with this 
> tool.
>
> As an example, I added some analysis definitions, that automatically detect 
> Singletons as well as their usage and reports these separately.
> We can use this information for tracking progress of getting rid of 
> singletons.
>
> The probably coolest thing about it, is that you can even start a local Neo4J 
> instance which contains all data about our project and you can do your own 
> queries.
>
> Chris
>

Reply via email to