code-metrics Questions
1
Solved
In my Rails app, I use Rubocop to check for problems. Today it gave me an error like this : Assignment Branch Condition size for show is too high. Here's my code :
def show
@category = Category.f...
Aldrin asked 19/6, 2015 at 7:47
1
Solved
I have a method that takes three parameters: List<Class1> source, List<Class2) results, and DateTime endDate. I can see why the class coupling is four. However, it jumps to ten when I add ...
Bound asked 16/4, 2015 at 14:9
3
Solved
I was wondering what options were available with regards to code metrics in Visual Studio 2010. I know there are manual metrics that can be run on your code from within the IDE, but are there any o...
Swob asked 3/1, 2011 at 15:7
3
We have been searching for good tools for measuring the quality of our TypeScript code. Mainly, we are interested in measuring Cyclomatic Complexity, LCOM, Instability and similar metrics. A ...
Tamah asked 24/11, 2014 at 13:13
2
I want to write my code more cleaner. For this purpose I'm looking for a tool to generate code metrics in Xcode. I'd like to have a statistic showing me how many tests, classes etc. were adde...
Breast asked 20/6, 2012 at 7:41
2
Solved
I found the following paragraph regarding cyclomatic complexity on Wikipedia:
It can be shown that the cyclomatic complexity of any structured program with only one entrance point and one exit p...
Longheaded asked 12/6, 2014 at 18:11
2
Solved
I have been browsing through the posts and the MSDN, but I am not seeing how the Maintainability Index is created. Only what the good and bad values are.
http://msdn.microsoft.com/en-us/library/b...
Eastereasterday asked 21/2, 2014 at 13:17
7
Solved
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 s...
Yachting asked 29/5, 2010 at 22:34
1
Solved
You see pretty often here people saying that they have a x million of lines of code project. How is this measured? Is this number, the number shown under 'Information' menu? The manual says that on...
Peatroy asked 18/5, 2014 at 12:44
2
Metrics are calcucated using Visual Studio.
First method has CC = 4
private IEnumerable<string> GetRows(DataTable dt, string columnDelimiter)
{
return from DataRow row in dt.Rows
select...
Brighten asked 9/12, 2013 at 22:20
2
Solved
Is there something that can be used in Maven to automate this kind of check? I'm seeing checkstyle and PMD but I'm not finding this feature.
Basically I'd like the build to fail if there's a class...
Coahuila asked 12/11, 2013 at 7:48
1
I want to start measuring what Michael Feathers has referred to as the turbulence of code, namely churn vs. complexity.
To do this, I need to measure the complexity of a C++ or Java file. So I fou...
Welker asked 3/10, 2013 at 1:12
9
Solved
I'm looking for a tool to give me some code metrics (total LOCs, LOC/Class, # of external references/class, etc...).
Does anyone know a good eclipse plugin that could provide me some some co...
Fossette asked 26/6, 2009 at 2:17
3
I'm looking for a C++ code quality metrics tool that can run on Linux. Having Eclipse integration would be a bonus but is not required.
I found a decent tool called Source Monitor, but that ...
Zaslow asked 1/2, 2012 at 3:16
4
Solved
I have a pretty new code base written in C++. Already I'm starting to see some bad practices creeping into the project (class file with 1000+ lines of code, functions with a lot of parameters...
Spoliation asked 9/6, 2009 at 22:42
3
In particular, I am interested to know how many lines of codes there are, but this spans across many files.
I have been using notepad++ to author the code and for each file it does display l...
Tourism asked 24/6, 2010 at 11:47
3
do you know of any open source tool that can be used for code metric analysis in java? it should be able to integrate well in jenkins. I'm trying to setup a complete test suite for our project that...
Trombley asked 10/4, 2013 at 12:37
1
Solved
I have the following data on one of the 7 axes (See the second picture) after running a Sonar analysis on my project. What information can be decoded from this data? Also which of the axes in the d...
Dedans asked 10/3, 2013 at 11:28
5
Solved
I wanted to ask whether you know about some free C# libraries (dlls) that calculate CK metrics (mainly Cyclomatic Complexity).
I would need that for a project I'm planning to do. I know that...
Sahib asked 27/6, 2009 at 7:6
3
Solved
Do you know if there's a Python library that generates statistics about code? I'm thinking about pointing to a package and getting number of classes, functions, methods, docblock lines etc.
It cou...
Tune asked 23/4, 2011 at 13:31
1
Solved
Are they lines of code added, or are they something else?
Gnarly asked 10/12, 2012 at 20:19
4
I am familiar with using cyclomatic complexity to measure software. However, in terms of web site, do we have a kind of metrics to measure complexity of website?
Tempt asked 7/3, 2011 at 7:8
2
I'm a fan of the CRAP metric, and use it to monitor code quality for my C# and Java projects.
I'd like to do the same for my growing Javascript codebase.
Is there an existing process that m...
Forty asked 10/12, 2010 at 11:55
1
Solved
We use the build in coverage application in TeamCity 6 (about to upgrade to 7.1)
If we wish to see the code coverage (or other metrics) of a particular build it is fine as we can navigate to that b...
Fears asked 11/10, 2012 at 16:23
1
Solved
I was wondering if there is any way to gather statistics from GCC/G++ compilation process. Metrics like the number of lines compiled in the entire process, total time spent compiling, number of err...
Chiller asked 5/10, 2012 at 17:28
© 2022 - 2024 — McMap. All rights reserved.