简体   繁体   English

Visual Studio Code Metrics结果:以编程方式调用它

[英]Visual Studio Code Metrics Results: call it programmatically

For my master thesis, I'm writing a VSPackage (for VS 2013) to identify the critical methods in a project and I would like to include, in the algorithm used to classify the methods, also some of the metrics provided by Visual Studio. 对于我的硕士论文,我正在编写VSPackage(用于VS 2013)以标识项目中的关键方法,并且我希望在用于对方法进行分类的算法中包括Visual Studio提供的一些指标。

In a VSpackage, is there a way to programmatically call the calculation of metrics (the one already embedded in Visual Studio.) and access, in a programmatic way, the results? 在VSpackage中,是否有一种方法可以以编程方式调用度量的计算(已经嵌入在Visual Studio中的度量),并以编程方式访问结果?

You may not have that feature. 您可能没有该功能。
But, there are many sophisticated open-souces to implement code analysis jobs integrated with VisualStudio. 但是,有许多复杂的开放式资源可以实现与VisualStudio集成的代码分析作业。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM