期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Code Based Analysis for Object-Oriented Systems
1
作者 Swapan Bhattacharya Ananya Kanjilal 《Journal of Computer Science & Technology》 SCIE EI 2006年第6期965-972,共8页
Tile basic features of object-oriented software makes it difficult to apply traditional testing methods in objectoriented systems. Control Flow Graph (CFG) is a well-known model used for identification of independen... Tile basic features of object-oriented software makes it difficult to apply traditional testing methods in objectoriented systems. Control Flow Graph (CFG) is a well-known model used for identification of independent paths in procedural software. This paper highlights the problem of constructing CFG in object-oriented systems and proposes a new model named Extended Control Flow Graph (ECFG) for code based analysis of Object-Oriented (OO) software. ECFG is a layered CFG where nodes refer to methods rather than statements. A new metrics Extended Cyclomatic Complexity (E-CC) is developed which is analogous to McCabe's Cyclomatic Complexity (CC) and refers to the number of independent execution paths within the OO software. The different ways in which CFG's of individual methods are connected in an ECFG are presented and formulas for E-CC for these different cases are proposed. Finally we have considered an example in Java and based on its ECFG, applied these cases to arrive at the E-CC of the total system as well as proposed a methodology for calculating the basis set, i.e., the set of independent paths for the OO system that will help in creation of test cases for code testing. 展开更多
关键词 object-oriented testing extended control flow graph extended cyclomatic complexity test paths graph-based testing
下载PDF
上一页 1 下一页 到第 页
使用帮助 返回顶部