Adjusted Surrounding Defects Prevention and Reduction

Adjusted Surrounding Defects Prevention and Reduction
4 mn read

The defect reduction in SDLC is very popular today, however, against a background of diverse interpretation of quality it is difficult to get a holistic view of the problem and the basic principles of quality management. Perhaps, the review of methods for improving quality and the approach to quality analysis suggested in the article will help to look at this task differently. According to GOST R ISO 9000-2001, quality is “the degree to which the inherent characteristics of the product meet the requirements”, which may not be interpreted in the field of software development. Therefore, the quality of the software product is the degree of correspondence of the functional, technical, operational characteristics of the developed software product to the goals that were set before the development of this product.

For quality analysis, we introduce a generalized criterion, a defect that determines any deviation from the quality standards established for the project. For example, lack of functionality or excess functionality-defect; inconvenient interface-defect; bad design or dirty code, which will adversely affect the accompanying, – defect; unacceptable performance-defect; incorrect program work, is a special case of a defect; the spelling error in the documentation is a defect.

Defects can be classified according to the following parameters:

  • type (determined by the development phase or the activity on which the defect was introduced);
  • criticality (how critical is the presence of a defect in the software product);
  • priority (how important it is to correct the defect);
  • complexity (how much time-consuming to correct a defect);

Having such a generalized indicator, it becomes easier to evaluate and analyze the quality of the developed software product, as well as the quality of the development process itself. We can consider the number of defects or the sum of their weights (by any parameter), we can estimate the density of defects per unit volume of the product, analyze which phases of the process are the most problematic for us, etc., reducing the struggle for quality to combat defects.

Defects search

Consider, for example, the system-testing phase, during which a certain number of Dfound defects are detected, but some defects remain unavailable at the time of completion of the Dmissed phase (Fig. 2). The total number of defects that have passed through the phase will be Dfound + Dmissed.

The ratio of the defects found to their total number, expressed as a percentage, will be called the efficiency of defect search – this is one of the main characteristics of the quality of the development process, which must be constantly monitored. For each phase during which defects are found and corrected, with a stable and predictable process and other equal conditions, this value can be considered approximately constant, which allows one to quantify the quality level (expressed in the number of defects not found) for the current and for the planned projects.

The effectiveness of defect search can be considered for separate phases as well as for the entire development life cycle. In this case, the efficiency of individual phases determines the efficiency for the entire life cycle. Each phase of defect search can be regarded as a kind of filter that retains some of the defects, and the entire life cycle is a filter system. If in the early stages of the life cycle there are bad filters that miss many defects, these defects accumulate, and in order to filter them well, a very good filter will be needed at the end of the life cycle (testing phase).

Defects with time tend not only to accumulate, if not to take early measures to eliminate them, but also to increase the cost of their correction, and often this dependence is exponential. For the waterfall model of the life cycle, this dependence is well illustrated by the graph in Fig. 3. For the iteration model of the life cycle, the picture will be similar, only the inscriptions will change: instead of phase, names there will be numbers of iterations.

Methods for finding and preventing defects

An effective defect search strategy consists of applying a combination of several methods, each of which will have its own level of efficiency, expressed in percentages. According to the data, testing has a relatively low efficiency of defect search (30-40%), and in order to make it high, it is necessary to increase the cost of the testing process at times (the effectiveness of beta testing for the number of testers over 1000 is about 75%).

It is hardly possible to develop software without any defects, but it is worth trying to try to reduce the number of defects introduced. We list the most well-known methods for preventing defects.

  • Prototyping. Creation and testing of the model of the developed system in order to verify its characteristics and to identify incorrect assumptions and decisions that could lead to serious defects (and modifications) in the development.
  • The use of standards for all types of products produced during the development of software (requirements, design, code, various documentation, etc.).
  • Application of the component approach.
  • Using ready-made components – the less you have to develop new solutions, the fewer errors.
  • Preliminary development of test cases (before the coding stage) allows you to better understand the requirements for the system being developed and better design it. A particular case of this approach is Test-Driven Development, in which unit tests are developed not before but before encoding.
  • Refactoring the code that is, bringing it into the proper form.
  • Regular analysis of the causes of the appearance of the most serious defects and the search for ways to eliminate these causes.

This can occur at periodic meetings of the development team, or you can conduct such analysis for each serious defect found during the system-testing phase or after implementation. The result of such an analysis should be modifications of the development process aimed at eliminating the causes of defects or, at least, contributing to the early detection of such defects.

It is also worth mentioning the human factor; no methods will replace the professionalism and experience of developers and managers. Experienced professionals, as a rule, make fewer mistakes, which gives a good background for quality development.

Quality Management Process

For quality management, it is not enough to simply use various methods to improve it-they need to be consciously systematically applied, which would become an integral part of the process of developing software oriented toward quality. It is necessary to continuously monitor the quality of the software being developed through quality metrics (defect density, the size of alterations, the average time between failures, etc.), as well as quality control of individual sub-processes that make up the entire development process.

Methods that worked well yesterday today can be a waste of time. Each project can have its own specificity, which requires a different set of methods for improving quality. For example, some projects (especially critical ones) may require thorough testing of all test cases, in others (when testing is very laborious), more attention should be paid to inspections, third (innovative) will require pre-prototyping, the fourth (resource-critical) will require stress testing and etc. If you do not constantly monitor the effectiveness of methods, then in time it can significantly decrease.

0

Leave a Reply

Your email address will not be published. Required fields are marked *

Reading is essential for those who seek to rise above the ordinary.

MyArticles

Welcome to MyArticles, an author-oriented website. A place where words matter. Discover without further ado our countless community stories.

Build great relations

Explore all the content from MyArticle community network. Forums, Groups, Members, Posts, Social Wall and many more. You can never get tired of it!

Become a member

Get unlimited access to the best stories and articles on MyArticles, support our lovely authors and share your stories with the World.