The tag has no wiki summary.

learn more… | top users | synonyms

13
votes
4answers
1k 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
1answer
164 views

How to measure team productivity over time using consistent story sizes?

How do I measure team productivity over time using consistent story sizes? To take a simple example, if I can do a story every two days, then I can do five stories in a two-week sprint. By definition ...
0
votes
3answers
167 views

Is there a metric that can be equated to complexity in laymens terms? [closed]

Often times users cannot comprehend the complexity of software. They think that because a problem is easy to describe then it is easy to solve. I want to equate the complexity of a "simple program" ...
6
votes
2answers
2k views

Cyclomatic Complexity Ranges [closed]

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 ...
0
votes
4answers
316 views

Are there metrics, like in other professions, that can be used to measure whether a programmer is considered experienced? [closed]

Driving instructors (at leas in Germany) often mention 100.000 km driven as a reference point where a driver is considered experienced. Is there a similar number for programmers? For example, how ...
10
votes
2answers
405 views

Cyclomatic complexity when calling same method multiple times

Thanks to a question over at Code Review I got into a little disagreement (which essentially is an opportunity to learn something) about what exactly the Cyclomatic Complexity is for the below code. ...
1
vote
1answer
199 views

Is it ethical or even legal to track user data/metrics using IP [closed]

This one is a bit tough. It is publicly available information, is it not? But it's can also be used maliciously. So is it legal/ethical to store and/or gather information on users based on IP? It's ...
8
votes
3answers
2k 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
4answers
193 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 ...
2
votes
3answers
483 views

Easily add metrics to measure java code usability

I'm trying to create a process for better understand what's happening in my code. I want to create metrics to automatically give my answers about simple or complex questions like: How many times a ...
0
votes
1answer
388 views

Really bad example projects that use sonar [closed]

When consideringen whether to use sonar or not, it would be great to see both good code as well as bad code that use sonar for static code analysis. I have browsed http://nemo.sonarsource.org/ ...
22
votes
8answers
3k 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 ...
45
votes
10answers
11k 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. ...
4
votes
5answers
1k 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 ...
2
votes
1answer
370 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 ...
11
votes
7answers
1k 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 ...
7
votes
1answer
419 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 ...
13
votes
8answers
2k views

How can I track programming productivity on a daily basis?

How can I track that I'm developing software more or less productive than the previous days?
1
vote
3answers
1k 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
89 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 ...
1
vote
2answers
862 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 ...
6
votes
2answers
1k 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 : ...
10
votes
4answers
838 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? ...
1
vote
2answers
164 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 ...
2
votes
1answer
1k 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. ...
5
votes
2answers
321 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 ...
23
votes
17answers
7k views

What are useful metrics for source code? [closed]

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 ...
11
votes
5answers
2k 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 ...
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> ...
2
votes
5answers
1k 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 ...
5
votes
2answers
157 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 ...
6
votes
3answers
2k 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
9answers
2k 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 ...
8
votes
2answers
423 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 ...
9
votes
5answers
718 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 ...
47
votes
11answers
6k views

Metric by which to hold developers accountable [duplicate]

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 ...
7
votes
3answers
301 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 ...
15
votes
9answers
726 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 ...
8
votes
8answers
702 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" ...
3
votes
4answers
522 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 ...
23
votes
14answers
960 views

Is software testing actually done on professional projects?

I've been involved with many projects in several companies because I've been a developer for a long time and I'm a contractor. I estimate that less than 20% of projects are methodically tested. With ...
14
votes
2answers
6k views

How is software scalability measured?

I was asked to make some small technical presentation about specific application scalability. The application is developed using Java, Spring MVC, Hibernate. I have access to the application source ...
8
votes
2answers
3k 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 ...
4
votes
6answers
506 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
324 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 ...
8
votes
3answers
2k 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 ...
12
votes
7answers
631 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 ...
65
votes
16answers
3k views

Should organizations penalize developers for the amount of defect reports filed against code they worked on? [duplicate]

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 ...
2
votes
3answers
3k 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 ...
1
vote
1answer
336 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 ...