The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
4answers
144 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 ...
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 ...
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. ...
5
votes
2answers
264 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 ...
-1
votes
1answer
54 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
238 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
184 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 ...
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 ...
7
votes
1answer
298 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 ...
12
votes
8answers
1k 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
287 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 ...
0
votes
2answers
344 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
583 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
347 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 ...
7
votes
4answers
352 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
128 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
986 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
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 ...
22
votes
17answers
4k 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 ...
8
votes
5answers
751 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
670 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
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 ...
6
votes
3answers
885 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
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 ...
8
votes
2answers
340 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
500 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 ...
38
votes
11answers
3k 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
239 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
609 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
578 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" ...
10
votes
3answers
504 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 ...
0
votes
1answer
659 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 ...
3
votes
4answers
290 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 ...
22
votes
14answers
920 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 ...
13
votes
2answers
3k 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 ...
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 ...
4
votes
6answers
392 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
179 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 ...
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 ...
12
votes
7answers
556 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 ...
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 ...
7
votes
2answers
672 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 ...
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 ...
1
vote
1answer
162 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
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 ...
3
votes
5answers
460 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 ...
2
votes
1answer
228 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 ...
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 ...

1 2