我正在尝试使用CppDepend获取LCOM度量报告。我写了下面的查询 // <Name>TODO short description</Name>
from t in Application.Types
select new {t,t.LCOM, t.LCOMHS}
但是这个查询给出的代码中只有头文件的表值。它不报告Cpp文件的值。 请帮忙,因为我是新手这样做。
我想知道是否有最佳方法来执行此类检查。 我想看到所有返回任务(或任务,并没有“异步”后缀) // <Name>Task type should be called with Async suffix</Name>
from m in Application.Methods
where m.ReturnType!= null && m.ReturnType.NameLike("Task") &&
我需要检查名称以“Repository”结尾的类型是否来自名为“DefaultRepositoryBase”的基类。 我已经搜查,但我已经没有能够找到如何从一个已知类型得到ITYPE ...我怎样才能做到这一点,然后把它传递给t.DerivesFrom(ITYPE) from t in Application.Types
where t.NameLike("Repository")
selec
我只是试图加载SLN文件到Visual NDepend的和不断收到此错误: Can't find the .NET assembly {AssemblyName} in specified folders. Has it been compiled properly? Is the NDepend project missing the containing folder of the .NET
我的某些库出现以下错误。 Error!
Unresolved .NET Assembly
Can't find the .NET assembly {x} in specified folders.
Has it been compiled properly?
Is the NDepend project missing the containing folder of the .NET