Skip to content
Adrien LAUER edited this page Jun 7, 2016 · 4 revisions

This SONAR plugin can analyze a SeedStack project to find defects and violations.

Checks

Basic checks

  • No use of classes located in org.seedstack..internal. packages. MAJOR. 30min. AL.
  • No use of Guice alternative of JSR-330 annotations. MAJOR. 5min. AL.

Transaction checks

  • Don't use @Transactional on private or final methods as they cannot be intercepted. CRITICAL. AL.

Business framework checks

  • Field of value objects must not be modifiable. MAJOR.
  • No entity or value object field can reference an entity from another aggregate. MAJOR.
  • Classes should only have one responsibility. MAJOR.
  • Domain layer cannot reference a class from application layer. MAJOR.
  • Application layer cannot reference a class from interface layer. MAJOR.
  • No infrastructure classes can be referenced from outside the infrastructure layer. MAJOR.
  • Repository and finder implementations should be located in the infrastructure layer. MAJOR.
Clone this wiki locally