Question:
Do we really need software metrics?
Just Call Me Dexter
2007-04-04 06:30:54 UTC
Even though I can find so many software metrics starting from "Number of Lines of Code", "Cyclomatic complexity" to "Coupling Between Objects" and "Maintainability Index" in the web, I couldn't find a good reference to apply them in a software development environment or how it actually helps in improving the quality of the work.

will the extra burden of measuring the software metrics paid off?
Five answers:
a_talis_man
2007-04-04 06:46:06 UTC
Knowing how a piece of software performs allows you to estimate how long it will take to accomplish a particular goal. It helps when you are trying to sell a product or service if you know you can get the job done in a reasonable amount of time as time is money. I work for a company where they kept no metrics on thier conversion software whatsoever for 6 years. Then a project came along where they needed to know a simple metric: Number of records converted per second and they couldn't answer that question! They accepted a project that was 10 times larger(data wise) than any other project and when someone finally benchmarked the program they found out that it would take them 2 months longer to convert the data than they alloted time for. The metrics also tell use when the quality is good or in the case of most businesses "good enough". In the real world every metric does not matter but they are useful and necessary.
anonymous
2007-04-04 06:42:36 UTC
A software metric is a measure of some property of a piece of software or its specifications.



Since quantitative methods have proved so powerful in the other sciences, computer science practitioners and theoreticians have worked hard to bring similar approaches to software development. Tom DeMarco stated, “You can’t control what you can't measure” in DeMarco, T. (1982) Controlling Software Projects: Management, Measurement & Estimation, Yourdon Press, New York, USA, p3.





Common software metrics include:



Order of growth (See Analysis of algorithms in terms of Asymptotic analysis and Big O notation)

Source lines of code

Cyclomatic complexity

Function point analysis

Bugs per line of code

Code coverage

Number of lines of customer requirements.

Number of classes and interfaces

Robert Cecil Martin’s software package metrics

Cohesion

Coupling



also check this out for more information my firend:



http://en.wikipedia.org/wiki/Software_metrics
flingebunt
2007-04-04 06:50:33 UTC
Software metrics are used by managers to measure the performance of their programmers.



However this has been widely criticized in the software development field because it measures the amount of code created, not the quality of the code.



The basic application would be to measure the performance of your programmers in your team. It will help you spot someone who obviously is not competent or lags behind the general standard of your other programmers.



These tools should be used with other management techniques to evaluate your software development team. For example, peer review might also be worth looking at.



Speed is not the only measure you really want to care about. For example, if you one slow programmer who creates very good code that person might be more suitable for optimising code or writing code that is critical to performance.
anonymous
2007-04-04 09:40:41 UTC
Metrics help estimate the amount of time something will take to complete, which is then affects all sorts of things from price of the software to how many people you hire, etc.
anonymous
2016-11-26 06:25:20 UTC
at first I might desire to respond to your question with a query? is this a corporation? no count if it truly is why are not you paying a expert representative to respond to your questions? Why are you employing an unprofessional talk board?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...