-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
The build process template and custom activity described in this post is available here: http://cid-ee034c9f620cd58d.office.live.com/self.aspx/BlogSamples/CodeMetricsSample.zip Running code metrics has been available since VS 2008, but only from inside the IDE. Yesterday Microsoft finally releases…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
While the code metrics tool gives a pretty good analysis of the code being analyzed, I was wondering if there was any such benchmark on acceptable standards for the following as well:
Maximum number of types per assembly
Maximum number of such types that can be accessible
Maximum number of parameters…
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
In my previous posting about code metrics I introduced how to measure LoC (Lines of Code) in .NET applications. Now let’s take a step further and let’s take a look how to measure compiled code. This way we can somehow have a picture about what compiler produces. In this posting I will introduce you…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi there!
As a person who loves to follow the best practices,
If i run code metrics (right click on project name in solution explorer and select "Calculate Code Metrics" - Visual Studio 2010) on:
public static string GetFormFactor(int number)
{
string formFactor = string.Empty;
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The code metrics analyser in Visual Studio, as well as the code metrics power tool, report the number of lines of code in the TestMethod method of the following code as 8.
At the most, I would expect it to report lines of code as 3.
[TestClass]
public class UnitTest1
{
private void Test(out…
>>> More