Skip to main content
Log in

Analysis of program logic test strategies

  • Published:
Cybernetics Aims and scope

Conclusions

  1. 1.

    The planning of program tests should be based on three principal criteria: structured coverage, the probability of residual error, and the probability of revealing a residual error.

  2. 2.

    When basing planning on the first criterion one should consider that the complexity of testing structured graphs is independent of the method of coverage selection but entirely depends on the maximum rank (“height”) and cyclomatic number (“width”) of the graph. The reliability of testing nonstructured graphs is higher when more complex methods are applied for test route selection. When testing resources are limited it is desirable to use a method of covering all edges of the graph for which the complexity of testing is proportional to the width of the program graph.

  3. 3.

    The strategy of ordering test routes by duration is preferable for testing with the purpose of minimizing the probability of the presence of a residual error; for narrow structured graphs this strategy also allows minimization of the probability of revealing a residual error. The strategy of ordering test routes by the probability of execution makes it possible more easily to obtain a program with a specified probability of revealing a residual error. With increasing nonstructurality and graph width the strategy becomes also preferable with respect to the criterion of the probability of a residual error.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Literature Cited

  1. O.-J. Dahl et al., Structured Programming, Academic Press (1972).

  2. V. M. Glushkov, “Fundamental research and programming technology,” Programmirovanie, No. 2, 3 (1980).

    Google Scholar 

  3. T. V. Kolganova, S. G. Orlov, and V. V. Filippovich, “Analysis of the characteristics of the hierarchical structure of a system of automatic-control system programs,” Upr. Sist. Mashiny, No. 5, 46 (1976).

    Google Scholar 

  4. V. V. Lipaev (ed.), Debugging of Control Algorithm Systems for Real-Time Digital Computers [in Russian], Sov. Radio, Moscow (1974).

    Google Scholar 

  5. T. J. McCabe, “A complexity measure,” IEEE Trans. Software Eng.,2, No. 4, 308 (1976).

    Google Scholar 

  6. B. A. Pozin, “A method of structural design of tests for debugging control programs,” Programmirovanie, No. 2, 62 (1980).

    Google Scholar 

Download references

Authors

Additional information

Translated from Kibernetika, No. 2, pp. 45–50, March–April, 1982.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Lipaev, V.V., Pozin, B.A. & Blau, S.A. Analysis of program logic test strategies. Cybern Syst Anal 18, 195–200 (1982). https://doi.org/10.1007/BF01074530

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01074530

Keywords

Navigation