Plugin Information |
---|
View Visual Studio Code Metrics on the plugin site for more information. |
Visual Studio Code Metrics PowerTool execute plugin.
And record the metrics report.
Image
Installation |
Build |
Post-build Actions |
---|---|---|
|
|
|
Project Trend |
Build Trend |
Report |
---|---|---|
|
|
|
Health Report |
---|
|
Description
Visual Studio Code Metrics PowerTool execute plugin.
And record the metrics report.
Install the Visual Studio 2010 or FxCop 10.0 to use the Visual Studio Code Metrics PowerTool.
Maintainability Index description are listed below.
http://msdn.microsoft.com/library/vstudio/bb385914
Configuration
System configuration
- Open the system configuration page "Manage Jenkins->Configure system"
- Enter the path to the Visual Studio Code Metrics PowerTool, that should be used by Jenkins.
- Example: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\Metrics.exe
Job configuration
name |
description |
---|---|
Code Metrics Tool Name |
Select Visual Studio Code Metrics PowerTool version. |
Assembly Files |
Assembly file(s) to analyze. |
Output XML |
Metrics results XML output file. |
Location to search for assembly dependencies. |
Location to search for assembly dependencies. |
Search the GAC for missing references |
Search the Global Assembly Cache for missing references. |
Location of framework assemblies. |
Location of framework assemblies, such as mscorlib.dll. |
Reference assemblies required for analysis. |
Reference assemblies required for analysis. |
Ignore invalid target. |
Silently ignore invalid target files. |
Ignore generated code. |
Suppress analysis results against generated code. |
Command Line Arguments |
This is a whitespace separated list of command line arguments you can specify. |
Fail the build on failure |
Fail the build on failure. |
Post-build Action configuration
name |
description |
---|---|
VS Code Metrics File |
Specify the path to the XML report files, relative to the workspace root
|
MaintainabilityIndex |
Configure health reporting thresholds. |
Fail the build on failure |
Fail the build on failure. |
Changelog
Version 1.7 (03/14/2014)
- Fix : Add flag to set build to Unstable if failure (JENKINS-20573)
- Add ignoregeneratedcode field.
Version 1.6 (06/26/2013)
- Fix : Jenkins lock metrics.xml file (JENKINS-18369)
Version 1.5 (05/30/2013)
- Edit help-directory.html
Version 1.4 (05/29/2013)
- Specify multiple directories. (Pull Requests #1)
Version 1.3 (03/31/2013)
- Build trend width change.(300px -> 500px)
- Performance tuning.
Version 1.2 (03/18/2013)
- Project trend width change.(400px -> 500px)
Version 1.1 (03/07/2013)
- Remove default 'Path to VS Code Metrics PowerTool' value.
Version 1.0 (03/06/2013)
- Initial release.
Attachments:
vs-code-metrics-2.png (image/png)
vs-code-metrics-3.png (image/png)
vs-code-metrics-4.png (image/png)
vs-code-metrics-5.png (image/png)
vs-code-metrics-6.png (image/png)
vs-code-metrics-7.png (image/png)
vs-code-metrics-1s.png (image/png)
vs-code-metrics-2s.png (image/png)
vs-code-metrics-3s.png (image/png)
vs-code-metrics-2.png (image/png)
vs-code-metrics-2s.png (image/png)
vs-code-metrics-2.png (image/png)
vs-code-metrics-2s.png (image/png)
vs-code-metrics-3.png (image/png)
vs-code-metrics-3s.png (image/png)