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
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:
Let's take a closer look at each of them:
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 |
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:
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:
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.
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.
Comments
To leave a comment
Quality Assurance
Terms: Quality Assurance