You get a bonus - 1 coin for daily activity. Now you have 1 coin

Quality Assurance Metrics

Lecture



According to international standard ISO 14598:

A metric is a quantitative scale and a method that can be used to measure.

From our side, we add that the introduction and use of metrics is necessary to improve control over the development process, and in particular over the testing process , which we will consider further.

The purpose of the test control is to obtain feedback and visualization of the testing process . Information necessary for control is collected (both manually and automatically) and is used to assess status and make decisions, such as coverage (for example, covering requirements or code with tests) or exit criteria (for example, testing end criteria). Metrics can also be used to assess progress in planned work and budget

Create, use and analyze metrics

In our opinion, for greater clarity, it makes sense to group the metrics by the types of entities involved in quality assurance and software testing, namely:

  1. Test Case Metrics (Test Cases)
  2. Bug / Defect Metrics
  3. Task Metrics

Let's take a closer look at each of them:

Test Case Metrics

Title Description
Passed / Failed Test Cases

The metric shows the results of passing test cases, namely the ratio of the number of successfully completed to completed with errors. Ideally, by the end of the project, the number of failing tests tends to zero.

Not Run Test Cases

The metric shows the number of test cases that still need to be performed in this phase of testing. With this information, we can analyze and identify the reasons for which the test was not conducted

Bug metrics

Title Description
Open / Closed Bugs

The metric shows the ratio of the number of open bugs to closed (corrected and rechecked)

Reopened / Closed Bugs

The metric shows the ratio of the number of reopened bugs to closed (corrected and rechecked)

Rejected / Opened Bugs

The metric shows the ratio of the number of rejected bugs to open

Bugs by severity

Number of bugs by severity

Bugs by Priority

Number of bugs by priority

We would like to note that the metrics "Open / Closed Bugs", "Bugs by Severity" and "Bugs by Priority" visualize well the degree to which the product is approaching the achievement of quality criteria by bugs. We have requirements for the number of open bugs, after each iteration of testing, we compare them with real data, thus seeing the places where we need to add in order to achieve the goal as quickly as possible.

The "Reopened / Closed Bugs" and "Rejected / Opened Bugs" metrics are aimed at tracking the work of individual members of the development and testing groups.

Example one :
Suppose we have a situation where the number of reopened bugs after a repair does not decrease or even grow. This is a signal that it is necessary to analyze the causes, since a similar situation may show that:

  1. Function requirements can be interpreted in different ways.
  2. The tester did not accurately describe the problem.
  3. Poor surface solution (fix bug)

The second example will show why the "Rejected / Opened Bugs" metric is needed:
We observe that the percentage of rejected bugs is very large. This may mean:

  1. Function requirements can be interpreted in different ways.
  2. The tester did not accurately describe the problem.
  3. The developer does not wish to correct the mistake made by him or does not consider that this is in fact a mistake. (This problem is a direct consequence of the 2nd, which arose due to an inaccurate description)

All these problems significantly destabilize the situation on the project. Therefore, when they occur, it is recommended to hold a short conversation with the leaders of the project teams in order to subsequently reduce the number of reopened and rejected defects.

Task Metrics

Title Description
Deployment tasks

The metric shows the number and results of application installations. The procedure for installing the application was described in the article Procedure for installing a new software version (Deployment WorkFlow). In case the number of rejected versions of *** testing versions is critically high, it is recommended to urgently analyze and identify the causes, as well as solve the existing problem as soon as possible.

Still Opened Tasks

The metric shows the number of still open tasks. By the end of the project all tasks should be closed. By tasks we mean the following types of work: writing documentation (architecture, requirements, plans), implementing new modules or modifying existing ones for change requests, setting up stands, various studies, and much more

Task metrics can be different, we have resulted only two of them. Also interesting may be the metric for the execution time of tasks and many others.

* * *

In conclusion, we would like to note that the availability of the necessary metrics and graphs reflecting the change in the state of the project over time will allow you to improve not only the testing process, but also the development as a whole, and also facilitate the procedure for analyzing the completed project, which will allow you to avoid past mistakes.

See also

created: 2016-04-02
updated: 2023-06-26
1151



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments

гость
10-11-2021
структура страницы поехала, часть данных в таблицах невозможно посмотреть десктоп, браузер google chrome

To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Quality Assurance

Terms: Quality Assurance