软件质量检测控制----sonar

一、Issue(代码规范)
1.要求:指标总数小于500
2.Issue分为五种,从严重到轻分别是Blocker、Critical、Major、Minor、Info
常见规范问题如下:
Issue常见问题及解决方案
二、Duplication(代码重复率)
1.要求:指标小于1%
三、Unit Case Coverage
1.要求:指标高于70%
四、 LCOM4(类聚合)
1.要求:指标=1

猜你喜欢

转载自blog.csdn.net/historycreator/article/details/79303250
今日推荐