我在NDepend项目中有一些自定义的CQL,我想使用NDepend.Console.exe生成这些CQL的结果。生成报告时,我在报告中看不到自定义CQL的任何结果。我可以从Visual NDepend导出,但我想从脚本中使用NDepend.Console.exe。蚂蚁。
发布于 2010-09-30 18:45:15
可以使用几种不同的方式在报告中显示代码查询和代码规则结果:
from m in Methods select new {m, m.CyclomaticComplexity}
到warnif count > 0 from m in Methods select new {m, m.CyclomaticComplexity}中
在report中显示所选项目的列表,然后单击...and:you need to set the following code query flag:

你也可以使用Reports groups of Code Queries in the report as explained here.
中找到
https://stackoverflow.com/questions/3828794
复制相似问题