Charlie Mott

  Home  |   Contact  |   Syndication    |   Login
  20 Posts | 0 Stories | 18 Comments | 0 Trackbacks

News

View Charlie Mott's profile on LinkedIn



Archives

Post Categories

Article Source: http://geekswithblogs.net/charliemott

Tracking the count of TODO’s in your solution can be used for the following:

  • Use as an additional measure of code quality.
  • Predict estimated completion dates through use of a burndown chart.
  • Once in production, TODO’s can be a good measure of how much Technical Debt lives within a solution.

As such, I have created a “FilesTextSearch” WF activity that can be plugged into a TFS build template.  I’ve uploaded this as patch 13789 in the codeplex Community TFS Build Extensions project.

The default configuration of this activity is used to count TODO’s in the solution code.

ActivityProperties  
 
- Search all directories below this base directory.
- Comma separated list of file extensions to search.
- List of strings to search (case insensitive).

This produces the following output in the build log:

ToDoLog2

Future Improvements

TODO Formatting

See my post on recommendations for TODO formatting: http://geekswithblogs.net/charliemott/archive/2011/11/22/todo-formatting.aspx.

posted on Monday, February 4, 2013 2:22 AM

Feedback

# re: TFS Build Custom Activity : TODO Counter 7/1/2013 2:38 AM Mike Fourie
thanks.... looking at integrating into the Community TFS Build Extensions soon...

Post A Comment
Title:
Name:
Email:
Comment:
Verification: