Measuring design testability of a UML class diagram

被引:24
|
作者
Baudry, B
Le Traon, Y
机构
[1] France Telecom R&D, F-22307 Lannion, France
[2] IRISA, F-35042 Rennes, France
关键词
object-oriented software measurement; UML; object-oriented testing; software design quality; testability; anti-patterns;
D O I
10.1016/j.infsof.2005.01.006
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Design-for-testability is a very important issue in software engineering. It becomes crucial in the case of OO designs where control flows are generally not hierarchical, but are diffuse and distributed over the whole architecture. In this paper, we concentrate on detecting, pinpointing and suppressing potential testability weaknesses of a UML class diagram. The attribute significant from design testability is called 'class interaction' and is generalized in the notion of testability anti-pattern: it appears when potentially concurrent client/supplier relationships between classes exist in the system. These interactions point out parts of the design that need to be improved, driving structural modifications or constraints specifications, to reduce the final testing effort. In this paper, the testability measurement we propose counts the number and the complexity of interactions that must be covered during testing. The approach is illustrated on application examples. (c) 2005 Elsevier B.V. All rights reserved.
引用
收藏
页码:859 / 879
页数:21
相关论文
共 50 条
  • [21] UML-test application for automated validation of students' UML class diagram
    Herout, Pavel
    Brada, Premek
    [J]. Proceedings - 2016 IEEE 29th Conference on Software Engineering Education and Training, CSEEandT 2016, 2016, : 222 - 226
  • [22] UML-test Application for Automated Validation of Students' UML Class Diagram
    Herout, Pavel
    Brada, Premek
    [J]. 2016 IEEE 29TH CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING (CSEE&T), 2016, : 222 - 226
  • [23] A tool for the application of software metrics to UML class diagram
    Xiao Han
    Li Shang
    Wang Bo
    [J]. PROCEEDINGS OF THE FIRST INTERNATIONAL WORKSHOP ON EDUCATION TECHNOLOGY AND COMPUTER SCIENCE, VOL I, 2009, : 181 - +
  • [24] Enhancing UML Class Diagram Abstraction with Knowledge Graph
    Huang, Liang
    Duan, Yucong
    Sun, Xiaobing
    Lin, Zhaoxin
    Zhu, Chuanpu
    [J]. INTELLIGENT DATA ENGINEERING AND AUTOMATED LEARNING - IDEAL 2016, 2016, 9937 : 606 - 616
  • [25] XML Schema Modeling through UML Class Diagram
    LU Jing-ping
    College of Mechanical Engineering
    Guangxi Engineering College
    [J]. CADDM, 2004, DesignandManufacturing.2004 (01) : 7 - 14
  • [26] Abstract and precise recovery of UML class diagram constituents
    Guéhéneuc, YG
    [J]. 20TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2004, : 523 - 523
  • [27] Automatic hierarchical layout algorithm for UML class diagram
    Wang, Xiao-Bo
    Wang, Huan
    Liu, Chao
    [J]. Ruan Jian Xue Bao/Journal of Software, 2009, 20 (06): : 1487 - 1498
  • [28] Empirical Analysis of Metrics Using UML Class Diagram
    Mathur, Bhawana
    Kaushik, Manju
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2016, 7 (05) : 32 - 37
  • [29] USING UML CLASS DIAGRAM AS A KNOWLEDGE ENGINEERING TOOL
    Raimbault, Thomas
    Genest, David
    Loiseau, Stephane
    [J]. ICEIS 2009 : PROCEEDINGS OF THE 11TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL AIDSS, 2009, : 60 - 65
  • [30] Formal semantics and reasoning about UML class diagram
    Szlenk, Marcin
    [J]. DEPCOS-RELCOMEX 2006, 2006, : 51 - 58