Se461 Part8
Se461 Part8
Metrics
Metrics in software quality
assurance
The word 'metrics' refer to standards for measurements. Software Quality Metrics
means measurement of attributes, pertaining to software quality along with its process
of development.
The term "software quality metrics" illustrate the picture of measuring the software
qualities by recording the number of defects or security loopholes present in the
software. However, quality measurement is not restricted to counting of defects or
vulnerabilities but also covers other aspects of the qualities such as maintainability,
reliability, integrity, usability, customer satisfaction, etc.
2. To evaluate and assess each of these process and attribute against the given
3. Predicting and planning the next move w.r.t software and business requirements.
4. Improving the Overall quality of the process and product, and subsequently of
project
It includes size, design, complexity, performance and other parameters that are
associated with the product's quality.
• Process Metrics:
• Project Metrics:
It may include number of teams, developers involved, cost and duration for the
project, etc.
1- Verify that your data provides a view of your complete business cycle.
2- Check if your quality metrics make sense to your customer.
3- Verify that quality metrics track all product offerings, not just the most recent product.
4- Base quality metrics on the stakeholder, not the ease of tracking. Data can be overly
simplistic in its result.
5- Re-orient your quality metrics to your business goals, as necessary.
Before we dive into the IT world with all its quality metrics, it is better to start with their
purpose. Why do you even need to use these tools? Let’s take a closer look at the main
advantages of software metrics:
Productivity. One of the most valuable aspects of an app is fast data processing. The
less time it spends on performing the tasks, the better. Some metrics help to increase
and track the project’s productivity and solve urgent issues.
Decision making. Such metrics can come in handy when estimating the influence of
the decisions made. PMs and CEOs can sort out objectives, priorities, and avoid
impulsive resolutions. It helps them to make deliberate compromises, optimize the
project, and achieve the goals of software quality assurance.
Data sorting. You can use metrics to reduce misunderstandings and ambiguities in
complex projects. Through the software organization, you will get objective
information.
Priorities. With metrics, managers will no longer have difficulties while tracking,
identifying, or prioritizing the project’s issues. They can communicate at all the
organization’s levels.
Management strategy. There are some risks that you have to instantly estimate, control,
and prioritize. Metrics help to manage such issues and avoid future costly solutions. They
determine errors and correct technical parts of the project as well as facilitate management
strategies.
Some of well-known software quality metrics
1- Product quality metrics
• Mean time to failure: It is the time between failures. This metric is mostly
used with safety critical systems such as the airline traffic control systems,
avionics, and weapons.
Very satisfied
Satisfied
Neutral
Dissatisfied
Very dissatisfied
• Defect removal effectiveness: This metric can be calculated for the entire
development process, for the front-end before code integration and for each
phase.
• Defect density during formal machine testing: Defect rate during formal
machine testing (testing after code is integrated into the system library) is
correlated with the defect rate in the field.
• Defect arrival pattern during formal machine testing: The overall defect
density during testing will provide only the summary of the defects. The
pattern of defect arrivals gives more information about different quality levels
in the field.
• Fix backlog: Fix backlog is related to the rate of defect arrivals and the rate
at which fixes for reported problems become available. It is a simple count of
reported problems that remain at the end of each month or each week.
• Fix response time and fix responsiveness: The fix response time metric is
usually calculated as the mean time of all problems from open to close. Short
fix response time leads to customer satisfaction.