|
According to this blog the build in code metrics feature in VS2008 Team Edition is suppose to be smart enough to skip generated code. It's not. Is there an option somewhere that I need to set?
Started by Jeff on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Let me know how it worked and nobody really invested... .
I got the distinct impression that the code metric feature was mostly a marketing stunt for Team System, but iirc I was able to get the metrics working right using one of these.
|
|
I want to automate the process of gathering code metrics on a .NET solution. Is there any way of getting msbuild to run the Code Metrics feature included in VS2008 Development Edition?
I may end up using SourceMonitor , but I would like to know if there...
Started by Mark Heath on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
/// </summary> private static void warnings: " + codeAnalysisWarnings); }
jgwood - I believe he's referring to Code Metrics for the metrics in VS2008 yet (per this post ....
; /// Gather metrics for code analysis.
|
|
What do you use to measure LoC metrics of your projects?
Started by utku_karatas on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
CodeHealer gives you lots of different....
LOC metrics have one problem: they encourage writing code like this .
I don't use them.
Counter and Source Code Line Counter Software
Don't use it because it's an old, useless metric.
|
Ask your Facebook Friends
|
Hi
I have to submit a paper about the usage of source code metrics in software engineering processes. I thought it would be nice to start by introducing some categorization of source code metrics (for example using plane LOC count Vs doing some static...
Started by Kent on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Another important metric: How many tests are there, and roughly how much code coverage do those
Code Metrics Overview
Halstead's "Elements of Software Science" was the seminal work in this area metrics are very strongly....
|
|
Are there any tools available that will calculate code metrics (for example number of code lines, cyclomatic complexity, coupling, cohesion) for your project and over time produce a graph showing the trends?
Started by Bjorn Reppen on
, 17 posts
by 17 people.
Answer Snippets (Read the full thread at stackoverflow):
Measures metrics for source code written in C++, C, C#, VB.NET, Java for a code metrics tool/plugin for my IDE but as far as I know there are none (for eclipse code quality metrics....
Single pass through source files.
|
|
Is there a VS2008 plugin for code metrics for C++? I have Team System but it doesn't work for non- .NET code. I tried studioTools but it just freezes. So, does anyone know one that actually works?
Started by rlbond on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It's not a plugin, but Source Monitor from http://www.campwoodsw.com/ is a great free metrics tool.
|
|
I've seen a number of 'code metrics' related questions on SO lately, and have to wonder what the fascination is? Here are some recent examples:
what code metrics convince you that provided code is crappy when if ever is number of lines of code a useful...
Started by Steven A. Lowe on
, 17 posts
by 17 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm working of the ramifications for efficiency and productivity!
I agree that a metrics for "code goodness" is about as sensible....
If metrics is the means, what is the end?
There's one code metric I believe in.
With it.
|
|
I'm just curious about what kind of code metrics people are using and opinions/experience on the most effective use of code metrics. All of our code, regardless of language, uses the following:
Cyclomatic Code Complexity Lines of Code Coupling (has different...
Started by James Conigliaro on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
They also had limits on the lengths of class of having my code....
My previous employer kept metrics on code complexity and lines of code.
My current company doesn't really keep any code metrics, which is not my choice.
|
|
After reading the answers to the question "Calculate Code Metrics" I installed the tool SourceMonitor and calculated some metrics.
But I have no idea how to interpret them.
What's a "good" value for the metric
"Percent Branch Statements" "Methods per ...
Started by koschi on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Function Complexity is useful for ascertaining how nasty the code.
For finer grain detail).
|
|
There has been a considerable amout of discussion about code metrics (e.g.: What is the fascination with code metrics? ). I (as a software developer) am really interested in those metrics because I think that they can help one to write better code. At...
Started by zlajo on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The source code is....
Most of the papers systems.
Finally I did find some papers about the correlation between software metrics and the error-rate but none of them was really what I was looking for.
metrics and project defect rate.
|