Measuring complexity and coverage of software specifications

被引:9
作者
Walton, G [1 ]
Poore, JH
机构
[1] Univ Cent Florida, Sch Elect Engn & Comp Sci, Orlando, FL 32816 USA
[2] Univ Tennessee, Dept Comp Sci, Knoxville, TN 37996 USA
关键词
Markov chain; usage model; statistical testing; path coverage; complexity; optimization;
D O I
10.1016/S0950-5849(00)00102-6
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Coverage testing in the context of Markov chain usage models refers to coverage of a model of the specification and profile of intended use, rather than coverage of the code that implements the specification. A new measure of specification complexity based on the number of statistically typical paths through the model of the specification is derived. Formulae are presented to compute bounds on the expected number of test cases required to achieve state and are coverage. Formulae are presented to compare different usage models with respect to the amount of testing required to achieve coverage of typical paths. Convexity properties are established for these formulae to facilitate their use in optimization calculations that are used to generate transition probabilities for the usage models. (C) 2000 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:859 / 872
页数:14
相关论文
共 12 条
[1]  
[Anonymous], SIAM J NUMER ANAL
[2]  
ASH RB, 1966, INFORMATION THEORY
[3]   THE ENTROPY OF MARKOV TRAJECTORIES [J].
EKROOT, L ;
COVER, TM .
IEEE TRANSACTIONS ON INFORMATION THEORY, 1993, 39 (04) :1418-1421
[4]  
GIBBONS AM, 1985, ALGORITHMIC GRAPH TH, P165
[5]  
Kemeny J G., 1960, Finite Markov Chains
[6]   ROLE OF THE GROUP GENERALIZED INVERSE IN THE THEORY OF FINITE MARKOV CHAINS. [J].
Meyer Jr., Carl D. .
SIAM Review, 1975, 17 (03) :443-464
[7]   A constraint-based approach to the representation of software usage models [J].
Poore, J ;
Walton, GH ;
Whittaker, JA .
INFORMATION AND SOFTWARE TECHNOLOGY, 2000, 42 (12) :825-833
[8]   A MATHEMATICAL THEORY OF COMMUNICATION [J].
SHANNON, CE .
BELL SYSTEM TECHNICAL JOURNAL, 1948, 27 (03) :379-423
[10]   STATISTICAL TESTING OF SOFTWARE-BASED ON A USAGE MODEL [J].
WALTON, GH ;
POORE, JH ;
TRAMMELL, CJ .
SOFTWARE-PRACTICE & EXPERIENCE, 1995, 25 (01) :97-108