I have a scenario where I have to gather code metrics on a frequent basis and send out a report. My project uses TFS 2010. I generally need to get latest code from TFS, build it (both using .TFS Client APIs), run code analysis, code metrics and code coverage (all using command line tools) and report them. I am trying to create a standalone app that would do all this -
- Get Code from TFS
- Build
- Run Code Analysis
- Run Code Metrics
- Determine Code Coverage
I would be exporting the results to an excel and probably chart it out. I feel the need for such a tool because in the absence of a TFS Build server and VS.NET, anyone who has read access to TFS should be able to gather metrics, by using such a tool.
Is there an existing tool someone has already built, possibly does all or some of this? I am aware of few PowerShell scripts out there that does getlatest, build and also can be quickly extended to include more, but I am specifically looking at an app.