Top "Code-metrics" questions

Software metrics are quantitative data pertaining to source code, e.g. number of lines of code (LOC) for a file.

How do you count the lines of code in a Visual Studio solution?

Is it possible to find the number of lines of code in an entire solution? I've heard of MZ-Tools, but …

visual-studio code-metrics lines-of-code line-count
What is a reasonable code coverage % for unit tests (and why)?

If you were to mandate a minimum percentage code-coverage for unit tests, perhaps even as a requirement for committing to …

unit-testing code-coverage code-metrics
How to use IntelliJ IDEA to find all unused code?

When I am in a .java file the unused code is usually grayed out or has a green underline saying …

java refactoring intellij-idea code-metrics code-inspection
How to find out how many lines of code there are in an Xcode project?

Is there a way to determine how many lines of code an Xcode project contains? I promise not to use …

xcode code-metrics
What is meant by 'Assignment Branch Condition Size too high' and how to fix it?

In my Rails app, I use Rubocop to check for problems. Today it gave me an error like this : Assignment …

ruby-on-rails ruby code-metrics rubocop
How do I show how many lines of code my project contains in Visual Studio?

Possible Duplicate: How do you count the lines of code in a Visual Studio solution? How can I show the …

visual-studio code-metrics
How many lines of code should a function/procedure/method have?

Possible Duplicate: When is a function too long? I've recently been given the unenviable task of reviewing poor code written …

function coding-style refactoring code-metrics
Eclipse metrics plugin suggestion

I'm looking for a tool to give me some code metrics (total LOCs, LOC/Class, # of external references/class, etc...). …

eclipse eclipse-plugin metrics code-metrics
What is the difference between afferent couplings and efferent couplings of a class?

Code quality metric tool like Sonar does provide the ability to drill down to a class and find out the …

oop sonarqube code-metrics coupling
Code Metrics Calculation in Visual Studio

What is the prefered score range for the code metrics calculation for the following Maintainability Index Cyclomatic Complexity Depth of …

c# visual-studio-2008 code-metrics maintainability cyclomatic-complexity