Tagged Questions
4
votes
4answers
142 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 ...
-1
votes
1answer
53 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
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 ...
6
votes
2answers
572 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
340 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 ...
2
votes
5answers
667 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 ...
22
votes
17answers
3k 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 ...