Skip to main content

Questions tagged [measurement]

The tag has no usage guidance.

-1 votes
3 answers
317 views

Connection between code coverage and defects per KLOC

Most of the articles I read state that the average number of defects per KLOC is 10-15 (most of the data seems to come from Microsoft). How does that number correlate with code coverage? If my project ...
ihi's user avatar
  • 9
2 votes
2 answers
370 views

How to come up with an easy-to-use way of creating quantities with units in C#?

I want to come up with a way to make it easy to write classes that represent quantities with units, such as length, weight, etc. For example, var height = new Length(32.2, LengthUnit.M); var weight = ...
redcurry's user avatar
  • 133
-2 votes
1 answer
341 views

Why does Halstead's formula for estimated program length look like this?

According to the Halstead's software metrics: Estimated program length: Can you please explain me, why the formula uses logarithm to base 2? Why not something else? Why exactly logarithm? What’s ...
Michael Abyzov's user avatar
4 votes
3 answers
3k views

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 ...
Christopher Perry's user avatar
-3 votes
1 answer
1k views

Non-functional requirements metric and measurement

Do all non-functional requirements need a specific metric and measurement? Would a NF maintainability requirement such as: "Upgrade to a new software version shall leave all database and personal ...
Peter's user avatar
  • 1
-2 votes
1 answer
672 views

How to quantify the (unit-)testability of a piece of code?

I'd like to measure, how well unit-testable is my code. I don't have a concrete idea, how it should look like, but my logic is: There are a lot of formally checkable and quantifiable criteria for ...
automatix's user avatar
3 votes
1 answer
51 views

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 ...
Gary In's user avatar
  • 133
6 votes
6 answers
3k views

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 ...
davidtgq's user avatar
  • 431
-1 votes
2 answers
2k views

How to know if I'm slow or fast at programming?

I understand that it's extremely depends on a particular case, but I really would like to know at least roughly how long a specific task can take for completion to average programmer. Is there any ...
Yevheniy8's user avatar
1 vote
2 answers
92 views

Monitoring a web service

I don't know how to phrase this question properly so please feel free to suggest edits. I've helped develop an in-house RESTful service for a company I'm working for, and it seems to have hit a wall ...
Aleksei Averchenko's user avatar
1 vote
1 answer
3k views

How to count sort comparison

When it is said that this sort has M number of comparisons what does it mean? As an example: procedure bubbleSort( A : list of sortable items ) n = length(A) repeat swapped = false ...
zahmati's user avatar
  • 43
2 votes
2 answers
7k views

Average number of comparison for sort algorithms

I need to write different sort algorithms such as bubbleSort insertionSort selectionSort quickSort mergeSort And measure how many average comparison does each one for N number (averaging between N! ...
zahmati's user avatar
  • 43
0 votes
1 answer
194 views

Measuring new capabilities in a software project and comparing vs incremental capability improvement

Given two software projects X and Y relating to some Product A - Project X offers some new capabilities. Project Y offers incremental capabilities. Y's features can be measured: we know its uses, ...
Paul Nathan's user avatar
  • 8,560
7 votes
9 answers
4k views

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 ...
Vaccano's user avatar
  • 4,048
0 votes
1 answer
408 views

Functional metrics in Agile methodologies

I'm preparing a presentation about Agile methodology for managers (not programmers) and I'm looking that, from a side, the Agile talks about functional perspective*^ (in Scrum we have planning game) ...
alepuzio's user avatar
  • 341

15 30 50 per page