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 条
  • [1] Testability analysis of a UML class diagram
    Baudry, B
    Le Traon, Y
    Sunyé, G
    [J]. EIGHTH IEEE SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS, 2002, : 54 - 63
  • [2] Class Diagram Critic: A Design Critic Tool for UML Class Diagram
    Abdulkareem, Soran Mahmood
    Ali, Norhayati Mohd
    Admodisastro, Novia
    Sultan, Abu Bakar Md
    [J]. ADVANCED SCIENCE LETTERS, 2017, 23 (11) : 11567 - 11571
  • [3] Improving the testability of UML class diagrams
    Baudry, B
    Le Traon, Y
    Sunyé, G
    [J]. IWOTA 2004: 1ST INTERNATIONAL WORKSHOP ON TESTABILITY ASSESSMENT, PROCEEDINGS, 2004, : 70 - 80
  • [4] A design of an assessment system. for UML class diagram
    Ali, Noraida Haji
    Shukur, Zarina
    Idris, Sufian
    [J]. ICCSA 2007: PROCEEDINGS OF THE FIFTH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND APPLICATIONS, 2007, : 539 - +
  • [5] Design of Tool for Generating UML Analysis Class Diagram
    Salleh, Faridah Hani Mohamed
    Ibrahim, Nazrita
    Ling, Loo Yim
    [J]. 2008 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE FOR MODELLING CONTROL & AUTOMATION, VOLS 1 AND 2, 2008, : 621 - 626
  • [6] Refactoring UML class diagram
    Pereira, C
    Favre, L
    Martinez, L
    [J]. Innovations Through Information Technology, Vols 1 and 2, 2004, : 506 - 510
  • [7] A Platform for the Conceptualization of Arabic Texts Dedicated to the Design of the UML Class Diagram
    Bousmaha, Kheira Zineb
    Rahmouni, Mustapha Kamel
    Kouninef, Belkacem
    Belguith, Lamia Hadrich
    [J]. NATURAL LANGUAGE PROCESSING AND INFORMATION SYSTEMS, NLDB 2016, 2016, 9612 : 447 - 452
  • [8] Diagram Definition: A Case Study with the UML Class Diagram
    Elaasar, Maged
    Labiche, Yvan
    [J]. MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, 2011, 6981 : 364 - +
  • [9] UML Class Diagram Metrics Tool
    Girgis, Moheb R.
    Mahmoud, Tarek. M.
    Nour, Rehab R.
    [J]. 2009 INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND SYSTEMS (ICCES 2009), 2009, : 423 - 428
  • [10] UML Diagram for Design Patterns
    Mustapha, Muhazam
    Daud, Nik Ghazali Nik
    [J]. SOFTWARE ENGINEERING AND COMPUTER SYSTEMS, PT 3, 2011, 181 : 215 - 230