jQassistant 的默认严重性

Default-Severity at jQassistant

documentation 之后,所有约束都应检查为严重性 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'.

所以在我看来,默认严重性是 INFOMINOR

我在整个项目中搜索关键字severity,但只找到checkstyle.xml中的人。

这是文档中的错误还是我遗漏了什么?

实施与创建的票证之间确实存在差距 (https://github.com/buschmais/jqa-core-framework/issues/9)。

对于给您带来的不便,我们深表歉意。