Questions tagged [measurement]

28 questions
23
votes
13 answers

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 of "quality" metrics in my group revolving only…
nlawalker
  • 3,002
  • 20
  • 21
16
votes
2 answers

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 finding bugs because the code is clean or are…
Johnv2020
  • 263
  • 1
  • 2
  • 8
15
votes
3 answers

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 estimated number of bugs in a module. According to…
Thomas Owens
  • 79,623
  • 18
  • 192
  • 283
13
votes
3 answers

Compute costs of bad code

I am looking for arguments to convince management to invest effort into refactoring. We log work using Jira and relate every svn-commit to a jira call. My idea is to do the following: manually spot an area of code which is extremely bad…
Bastl
  • 233
  • 1
  • 6
12
votes
7 answers

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 specific (e.g. good GUI design principles may be…
redcalx
  • 345
  • 3
  • 14
12
votes
7 answers

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 assigned to a project of a given size, the more Defects…
Thomas Owens
  • 79,623
  • 18
  • 192
  • 283
7
votes
9 answers

How to measure that a team is doing Test Driven Development

My team is considering a department goal of doing Test Driven Development next (fiscal) year. TDD sounds good and my manager is on board. The only problem is measurement. Our company rules require that department goals be measurable. Is there any…
Vaccano
  • 4,028
  • 5
  • 31
  • 37
6
votes
6 answers

Store area as square feet or square meters?

In the context of houses, should area be stored as square feet or square meters? The area of the largest houses in existence are greater than 32000 sqft, so a 4-byte integer may be required to store square feet. For this reason, I'm favouring square…
davidtgq
  • 431
  • 1
  • 4
  • 13
6
votes
2 answers

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 constraints, and the final result is a sprint…
5
votes
2 answers

How can one measure contributions to a project?

Has anyone ever come across this problem? When you have a team of developers working on a project, how can you measure their contributions to said project? Is there a "formal" way of doing it? Number of commits? Number of bug fixes? Lines…
Deleteman
  • 273
  • 2
  • 8
5
votes
1 answer

Coded ui to measure performance

I have been tasked with using coded UI to measure performance on a proprietary windows desktop application. The need is to measure how long it takes for the next page/screen to display after a user clicks on a control. For example - a user enters…
Mike Weber
5
votes
6 answers

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? The part I'm struggling with is the "measure"…
4
votes
3 answers

Measuring File Churn Over Entire Project History in Git

I'm looking for a way to quantify where my team should spend it's time addressing technical debt in our codebase. One idea for this is to measure file churn (edits over time). I got the idea from this video where Michael Feathers talks about…
Christopher Perry
  • 229
  • 1
  • 3
  • 7
4
votes
3 answers

Distance from point to n-dimensional line

The solution for the 3-d case can be found here; I would like to get the generalized version. There's no simple generalization of the Mathworld algorithm since the cross product is defined only for 3 and 7 dimensions, so I understand.
Matt Phillips
  • 201
  • 2
  • 9
3
votes
1 answer

Trying to get a better understanding of the definition of measurement

The book Software Metrics A Rigorous and Practical Approach defines measurement as ...the process by which numbers or symbols are assigned to attributes of entities in the real world in such a way so as to describe them according to clearly…
Gary In
  • 133
  • 2
1
2