Skip to main content

Questions tagged [measurement]

Filter by
Sorted by
Tagged with
-1 votes
3 answers
349 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
377 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
343 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
674 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
52 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
195 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
-2 votes
2 answers
918 views

What is the best programming language to do crypto running time measurement? [closed]

I am trying to measure the running time of different crypto algorithm. e.g. how long it takes to encrypt/decrypt a block of plaintext. May I ask if C with OpenSSL is the best PL to do this?
ssgao's user avatar
  • 107
5 votes
2 answers
1k views

How can one measure contributions to a project? [duplicate]

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 ...
Deleteman's user avatar
  • 283
4 votes
3 answers
4k views

Distance from point to n-dimensional line [closed]

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 ...
Matt Phillips's user avatar
6 votes
2 answers
2k 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 ...
David Kaczynski's user avatar
1 vote
1 answer
118 views

Function points measure for a business applications framework. Is that possible?

So, my boss wants to have a complexity measure for a framework developed internally in our company. Is that possible? As far as I know, functions points do not apply to software that doesn't have ...
lgomide's user avatar
  • 111
16 votes
2 answers
18k 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 ...
Johnv2020's user avatar
  • 263
5 votes
1 answer
1k views

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 ...
user avatar
5 votes
6 answers
2k 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? ...
mainstringargs's user avatar
12 votes
7 answers
823 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 assigned ...
Thomas Owens's user avatar
  • 83.7k
15 votes
3 answers
5k 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 ...
Thomas Owens's user avatar
  • 83.7k
13 votes
3 answers
512 views

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 ...
Bastl's user avatar
  • 233
12 votes
7 answers
4k views

Objective Metrics for Software Quality [closed]

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 ...
redcalx's user avatar
  • 365
23 votes
13 answers
10k 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 ...
nlawalker's user avatar
  • 2,972