Visual Studio Team System (VSTS) Blog - by Neno Loje

Neno's Blog about Team Development and Software Quality with Microsofts ALM platform - since 2005

News

Recent Posts

Community

Tags

Email Notifications

VSTS Blogs

VSTS Sites

VSTS Community

My Other Blogs

German VSTS Websites

Archives

How code churn is calculated in TFS 2005/2008

Code churn [1] in TFS 2005 and TFS 2008 is calculated using a very simple algorithm: inserted + changed + deleted lines [2].

This is done independently of the contents of the line, which means that everything - incl. comments, blank lines, etc. - is counted.

--

[1] http://blogs.msdn.com/mohamedg/archive/2007/12/04/code-churn.aspx

[2] http://msdn2.microsoft.com/en-us/library/ms244698(VS.80).aspx

Comments

Team System News said:

Ajoyk on Process Templates for TFS. Ameyab on Demo - Tutorial: Building a TFS report using Report Designer....

# February 27, 2008 7:14 AM