Home > database >  ArchUnit: Is there a way to visualize violations?
ArchUnit: Is there a way to visualize violations?

Time:09-21

With ArchUnit violations can be frozen so that things do not get worse. The problem that remains is that there is nothing which indicates the frozen violations in daily coding.

Is there a way to visualize the violations in the IDE? E.g. as inspection problem in IntelliJ.

If not, what is your approach to constantly reduce the frozen violations?

CodePudding user response:

I'm not aware of Any plans for Intellij Plugin Development to show violations as inspections.

The discussions about ArchUnit Trends and Freezing rule violations as SonarQube metric might be more realistic:

  • Many projects just use a simple (possibly wc -l-based) count of stored violations as a metric.

  • Stefan Röck has implemented an XmlFileBasedViolationStore which is possibly useful to import violations in other tools.

  • Related