jQassistant的默认严重性

时间:2017-02-21 08:39:32

标签: 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找到了某人。

这是文档中的错误还是错过了我的东西?

1 个答案:

答案 0 :(得分:1)

实施之间确实存在差距,已创建的故障单(https://github.com/buschmais/jqa-core-framework/issues/9)。

很抱歉给您带来不便。