按照文档,所有约束都应检查为严重性MAJOR
,所有概念都应检查为MINOR
.
如果我查看我发现的项目日志
[INFO] Reading rules from directory C:\seu\sandboxes\github\sze_spring\jqassistant
[INFO] Executing group 'default'
[INFO] Executing group 'package:Default'
[INFO] Applying concept 'dependency:Package' with severity: 'MINOR'.
[INFO] Validating constraint 'package:Cycles' with severity: 'INFO'.
[INFO] Executing group 'maven:Default'
[INFO] Executing group 'test:Default'
[INFO] Applying concept 'junit4:TestMethod' with severity: 'MINOR'.
[INFO] Applying concept 'junit4:TestClass' with severity: 'MINOR'.
[INFO] Validating constraint 'test:UnitTestClassName' with severity: 'INFO'.
[INFO] Executing group 'layer:Default'
[INFO] Applying concept 'structure:RootPackage' with severity: 'MINOR'.
[INFO] Applying concept 'layer:Layer' with severity: 'MINOR'.
[INFO] Applying concept 'layer:LayerDependency.graphml' with severity: 'MINOR'.
[INFO] Applying concept 'layer:WantedRelations' with severity: 'MINOR'.
[INFO] Applying concept 'layer:ExistingRelations' with severity: 'MINOR'.
[INFO] Validating constraint 'layer:Cycles' with severity: 'INFO'.
[INFO] Validating constraint 'layer:ForbiddenRelations' with severity: 'INFO'.
[INFO] Executing group 'structure:Default'
[INFO] Applying concept 'structure:Slice' with severity: 'MINOR'.
[INFO] Applying concept 'structure:SliceDependency.graphml' with severity: 'MINOR'.
[INFO] Validating constraint 'structure:ServiceDependency' with severity: 'INFO'.
[INFO] Applying concept 'maven:InternalFile' with severity: 'MINOR'.
[INFO] Validating constraint 'structure:RootPackage' with severity: 'INFO'.
[INFO] Validating constraint 'structure:JobsDependency' with severity: 'INFO'.
[INFO] Validating constraint 'structure:FrontendDependency' with severity: 'INFO'.
所以在我看来,默认严重性是INFO
or MINOR
。
我在整个项目中搜索了关键字severity
,但只在checkstyle.xml
.
那么这是文档中的错误还是遗漏了什么?