devMetrics can be run as a stand-alone command line program outside of Visual Studio® .NET. As a stand-alone program, devMetrics provides some additional features over the Add-in:
The devMetrics command line program is located in the program installation directory of devMetrics
[drive:\Program Files]\Anticipating Minds\devMetrics\devMetrics.exe
When run, devMetrics will traverse the folder structure starting from the folder provided and analyze all C# projects in this folder and its subfolders. At the completion of the analysis, Internet Explorer will be launched to display the project report. For more details on the reports, click here. Command line arguments provide additional control over the analysis and reporting and are covered in full below.
devMetrics “E:\My Documents\Visual Studio Projects”
devMetrics .
devMetrics /q “E:\My Documents\Visual Studio Projects”
devMetrics /quiet “E:\My Documents\Visual Studio Projects”
[drive:\Program Files]\Anticipating Minds\devMetrics\Reports
devMetrics /o:”F:\Inetpub\wwwroot\Build\Reports” “E:\My
Documents\Visual Studio Projects”
devMetrics /output:“E:\My Documents\Visual Studio Project\Reports”
“E:\My Documents\Visual Studio Projects”
devMetrics /?
devMetrics /help
Automated build process with saved output in log file
devMetrics /q /o:D:\Reports\20040321 F:\Build >
D:\Reports\20040321\Analysis.log
Analyzing a single project and placing reports in the project directory
devMetrics /o:“E:\My Documents\Visual Studio
Projects\MySolution\MyProject” “E:\My Documents\Visual Studio
Projects\MySolution\MyProject”
Directing reports to web server location for distributed access
devMetrics /o:”F:\Inetpub\wwwroot\Build\Reports” “E:\My
Documents\Visual Studio Projects”