The metrics tag has no wiki summary.
4
votes
4answers
142 views
How can we track how well we're preventing and avoiding security vulnerabilities?
It's pretty easy to track when we fix security vulnerabilities in existing code. But to make sure the whole team is staying on their toes about writing secure code, I'd like to also track how well we ...
5
votes
2answers
253 views
Cyclomatic Complexity Ranges
What are the categories of cyclomatic complexity? For example:
1-5: easy to maintain
6-10: difficult
11-15: very difficult
20+: approaching impossible
For years now, I've gone with the assumption ...
2
votes
1answer
183 views
Software failure due to maintenance oversights example/case study
I'm doing some investigation into the role of maintenance in software development and the use of metrics within the development cycle.
What I am asking is for a point in the right direction or ...
-1
votes
1answer
53 views
Code network metrics with UI events [closed]
There is a large body of literature regarding using network metrics (e.g. degree) for predicting defects. Something I'm running into is that a lot of my code is event-driven, so I have a large number ...
4
votes
5answers
237 views
What is a good measure of testing/tester efficiency?
I am about to participate in a discussion with management regarding measuring our testing efficiency as a QA organization. The main reason behind this is that half of our team is contracted out and ...
18
votes
8answers
1k views
Is the average number of bugs per loc the same for different programming languages?
I have been told that the average number of bugs/defects per line of code is "constant" for different programming languages. 10 KLOC of Ruby would have the same number of bugs as 10 KLOC of c++. The ...
7
votes
1answer
293 views
Why is the cyclomatic complexity equal to two for a simple Hello World?
I would have two questions related to cyclomatic complexity:
Can I use this metric for a whole app? I guess I cannot, as it would be incredibly large number, considering functions calling functions ...
1
vote
3answers
281 views
Is there any open source code analyzer for java which I can adopt my software metrics algorithm on it? [closed]
I am doing my masters dissertation and I have conducted a software metrics. I need to adopt my metrics on an open source tool. I have found PMD and check style on sourceforge.net but there is not ...
4
votes
1answer
78 views
Statistical Software Quality Control References
I'm looking for references about hypothesis testing in software management. For example, we might wonder whether "crunch time" leads to an increase in defect rate - this is a surprisingly difficult ...
6
votes
2answers
572 views
What is logical cohesion, and why is it bad or undesirable?
From the c2wiki page on coupling & cohesion:
Cohesion (interdependency within module) strength/level names : (from
worse to better, high cohesion is good)
Coincidental Cohesion : ...
5
votes
3answers
340 views
Code metrics for .net code [closed]
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 ...
0
votes
2answers
340 views
Are CK Metrics still considered useful? Is there an open source tool to help?
Chidamber & Kemerer proposed several metrics for object oriented code. Among them, depth of inheritance tree, weighted number of methods, number of member functions, number of children, and ...
1
vote
2answers
127 views
Severity and relation to occurence - priority?
I have been browsing through some webpages related to testing and found one dealing with the metrics of testing. It says:
The severity level of a defect indicates the potential business impact
...
5
votes
2answers
231 views
What kind of metrics, if any, can be collected from requirements development?
We elicit requirements from our product stakeholders by creating and refining user stories in monthly sprint planning meetings. This includes defining use cases, acceptance criteria, and identifying ...
7
votes
4answers
342 views
Data architecture for event log metrics?
My service has a large ongoing number of user events, and we would like to do things like "count occurrence of event type T since date D."
We are trying to make two basic decisions:
What to store? ...
8
votes
5answers
742 views
What is a normal “functional lines of code” to “test lines of code” ratio?
I'm pretty new to TDD approach and my first experiments say that writing 1 line of functional code means writing about 2-3 lines of testing code. So, in case I'm going to write 1000 LOC, the whole ...
2
votes
5answers
667 views
Is automatically checking code quality via metrics possible?
For several years now I am a big fan of using static code analysis tools for checking the source code quality. We are mostly doing C# development so NDepend was the best way to go for me. Most of the ...
6
votes
3answers
857 views
Can defect containment metrics be readily applied at an organizational level when there is only a consistant organizational process framework?
Defect containment metrics, such as total defect containment effectiveness (TDCE) and phase containment effectiveness (PCE), can be used to give a good indicator of the quality of the process. TDCE ...
5
votes
2answers
140 views
What are approaches for analyzing the cost-benefits of a development methodology?
There are many development practices (TDD, continuous integration, cowboy-coding), principles (SOLID, layers of abstraction, KISS), and processes (RUP, Scrum, XP, Waterfall). I have learned you can't ...
7
votes
3answers
238 views
How to measure external quality of software
For my thesis, I am doing research into the characteristics of Behavior Driven Development (BDD). One of the BDD claims is that by specifying the requirements in a ubiquitous language together with ...
0
votes
1answer
658 views
Where can I find usage metrics for web frameworks?
I'm updating my Comparing JVM Web Frameworks presentation for 2012 and I am looking for websites or other publicly available resources with usage metrics for web frameworks, by language and / or by ...
10
votes
3answers
500 views
industry averages for time spent on maintenance
A manager recently announced that were were spending far too much time fixing bugs. I guess he thinks we should write perfect code all the time (whilst still hitting those impossible deadlines of ...
3
votes
4answers
289 views
Is Usage Tracking esoteric or state of the art?
There are several products for tracking the usage of your application. I know at least 10 offers. They tell you which features were used more often than others. Thus, you can identify features that ...
2
votes
1answer
985 views
Personal Software Process (PSP1)
I'm trying to figure out an exercise but it doesn't really makes to much sense.. I'm not asking someone to provide the solution. just to try and analyse what needs to be done in order to solve this. ...
6
votes
2answers
1k views
How to determine the effectiveness of a code review process?
We've introduced a code review process within our organisation and it seems to be working well. However, I would like to be able to measure the effectiveness of the process over time, i.e. are we not ...
9
votes
5answers
498 views
How much code should I be responsible for?
Through colleagues and exit interviews, I have heard that at my small company I am "responsible" for anywhere from 3-10 times more code than I would be at another job. I'm trying to look for some sort ...
4
votes
6answers
390 views
How to measure when a software project is complete?
I have very limited experience in software project management roles, and I was asked this question by another engineer and I was sort of stumped.
How do I measure when a software project is complete?
...
4
votes
2answers
175 views
What kind of metrics should I collect for a website/web app
I have a website that allows users to register for accounts, login, and renew an annual membership fee. They can also update their personal profile, their personal profile, look at a list of their ...
12
votes
7answers
553 views
Is there really a relationship between number of people assigned to a project and the number of defects?
Here is a quote from a training manual at work regarding SLIM and software estimation:
Notice also, there is a correlation between Effort and Defects. This means, the more people there are ...
7
votes
2answers
664 views
Is there any work into the application of the Halstead complexity measures to determine software quality?
In 1977, Maurice Howard Halstead introduced his complexity measures for software systems, which included measurements of the program vocabulary, program length, volume, difficulty, effort, and an ...
5
votes
9answers
1k views
Standard/Proper way of counting lines of code?
How should I count the lines of code in a project?
In C++ for example, should I count the lines of the header files with my class definition? Should I count the header of a (non standard) library I ...
61
votes
16answers
3k views
Should organizations penalize developers for the amount of defect reports filed against code they worked on?
Should organizations penalize developers for defect reports filed against their work products?
I was having a discussion with my friend where he asks if a manager taking the number of defects filed ...
10
votes
7answers
744 views
Objective Metrics for Software Quality
There are various types of quality that can be measured in software products, e.g. fitness for purpose (e.g. end use), maintainability, efficiency. Some of these are somewhat subjective or domain ...
1
vote
1answer
160 views
Metrics: Comments vs Documented API
I've been asked to run some code metrics in order to assess the quality of the code. One of the metrics was vaguely specified as "comments".
I ran Sonar on my code, and while I got 10% on the ...
15
votes
9answers
606 views
How do you demonstrate performance in paired-programming environments?
Performance reviews have come up recently at my work, and I was put in an interesting position. Our team does a lot of pair programming, which has a tendency of averaging out the skill differences ...
5
votes
3answers
1k views
How can I estimate the value of an open-source project?
I am trying to generate a metric for a company cost savings goal. To do this, I want to estimate the savings we realized by using an open source web application rather than building it from scratch or ...
3
votes
5answers
458 views
Interview process: 'Exam' for empirical scoring of candidates
As part of an interview process for a senior software development role, we are being asked to create a language-agnostic 'exam' that can be sat as part of the face-to-face interview.
The reason being ...
8
votes
8answers
577 views
Acceptable # Lines of Code for Projects to be Presented to Interviewer?
I'm going to graduate soon and I've been thinking. I have a few really small projects/scripts (~100-200 LOC) that I made on my free time and I have them on Github. I was wondering if they are "worthy" ...
2
votes
3answers
2k views
What quality standards to consider for software development process?
i'm looking for metrics/standards/normatives to evaluate a given "Software Development Process". I'm NOT looking to evaluate the SOFTWARE itself (trough SQUARE and such), i'm trying to evaluate ...
2
votes
1answer
293 views
System response times — A good Service Level Agreement?
In order to view system performance, I have been asked by management to give page response times for a few key pages. I want to make sure I am giving a good picture of the overall health of the ...
2
votes
1answer
227 views
Empirical average values of various metrics?
I'm not sure if this is the correct site, but to compare a software project I'm looking for average values of various metrics. Are there any references that show average values for each of the ...
8
votes
2answers
338 views
Is measuring software project metrics popular in todays industry?
I encountered a developer who wanted some outside advice on their teams project. I found out they're developing a huge software suite for the companies executives, project manager and developers that ...
3
votes
4answers
921 views
What quantitative metrics do you use to measure the quality of an offshore testing team?
Are developers are in the US, our testers are in India.
How do we measure their ability, quality, success?
Some possibilities:
- Coverage at the UI level
- Total time needed to run regression ...
15
votes
11answers
2k views
How does one meaningfully measure maintainability?
Context: I'm an enterprise developer in an all-MS shop.
Can anyone recommend a good way of objectively measuring maintainability of a piece of code or an application?
Why maintainability: I'm tired ...
10
votes
2answers
182 views
Should there be a “data hygiene” index for software - to indicate how clean the program is? not leaving temp files, etc
Should there be a "data hygiene" index for software - to indicate how clean the program is? not creating unused temp files, registry entries, environment variables, etc.
For example, look in your ...
27
votes
4answers
1k views
What personal milestones can you use to measure growth in your programming abilities?
How can you determine objectively, over time, that you are getting any better at producing code? For example, I may sit here and feel that "I know <language> now, and I use <technique> ...
4
votes
2answers
900 views
Advantages of Hudson and Sonar over manual process or homegrown scripts
My coworker and I recently got into a debate over a proposed plan at our workplace. We've more or less finished transitioning our Java codebase into one managed and built with Maven. Now, I'd like for ...
41
votes
10answers
6k views
Are SMART goals useful for programmers?
Several organisations I know use SMART goals for their programmers. SMART is an acronym for Specific, Measurable, Achievable, Relevant and Time-Bound. They are fairly common in large corporations.
...
22
votes
17answers
3k views
What are useful metrics for source code?
What are useful metrics to capture for source code?
How can metrics, like for example (Executable?) Lines of Code or Cyclomatic Complexity help with quality assurance or how are they beneficial in ...
36
votes
11answers
3k views
Metric by which to hold developers accountable
I asked a question on lines of code per hour and got torn a new one. So my matured follow-up question is this:
If not lines of code, then what is a good metric by which to measure (by the ...