Object-Oriented Software Testing and Metric in Z Specification

Software testing and metrics are key issues to improve software quality. They are important issues in the research of software engineering. In line with the methodologies of object-oriented analysis and design widely developed, many testing and metrics techniques have been proposed. However, not many focus on the testing criteria and metrics evaluation of an inheritance hierarchy. In this paper, we introduce a concept named unit repeated inheritance (URI) in Z to realize object-oriented testing and object-oriented metrics. The approach describes an inheritance level technique (ILT) method as a guide to test and measure the software complexity of an inheritance hierarchy. The measurement of inheritance metrics and some testing criteria thus can be formed based on the proposed mechanism.

[1]  Sallie M. Henry,et al.  Object-oriented metrics that predict maintainability , 1993, J. Syst. Softw..

[2]  Elaine J. Weyuker,et al.  Selecting Software Test Data Using Data Flow Information , 1985, IEEE Transactions on Software Engineering.

[3]  D. J. Robson,et al.  A framework for testing object-oriented programs , 1992 .

[4]  Shinji Kusumoto,et al.  Analysis of metrics for object-oriented program complexity , 1994, Proceedings Eighteenth Annual International Computer Software and Applications Conference (COMPSAC 94).

[5]  Chi-Ming Chung,et al.  Static and dynamic data flow metrics , 1989 .

[6]  Gail E. Kaiser,et al.  Adequate testing and object-oriented programming , 1990 .

[7]  John D. McGregor,et al.  Incremental testing of object-oriented class structures , 1992, ICSE '92.

[8]  Wei-Tek Tsai,et al.  Method Sequence Specification and Verification of Classes , 1994, Journal of object-oriented programming.

[9]  Simeon C. Ntafos,et al.  On Required Element Testing , 1984, IEEE Transactions on Software Engineering.

[10]  Chris F. Kemerer,et al.  A Metrics Suite for Object Oriented Design , 2015, IEEE Trans. Software Eng..

[11]  Chi-Ming Chung,et al.  Inheritance-Based Metric for Complexity Analysis in Object-Oriented Design , 1992, J. Inf. Sci. Eng..

[12]  H. E. Dunsmore,et al.  Data Referencing: An Empirical Investigation , 1979, Computer.

[13]  Chris F. Kemerer,et al.  Towards a metrics suite for object oriented design , 2017, OOPSLA '91.

[14]  J. Michael Spivey,et al.  The Z notation - a reference manual , 1992, Prentice Hall International Series in Computer Science.

[15]  Claude Berge,et al.  Graphs and Hypergraphs , 2021, Clustering.

[16]  Warren A. Harrison,et al.  A complexity measure based on nesting level , 1981, SIGP.

[17]  簡聰富,et al.  物件導向軟體之架構(Object-Oriented Software Construction)探討 , 1989 .

[18]  Charles W. Butler,et al.  Design complexity measurement and testing , 1989, CACM.

[19]  Ivar Jacobson,et al.  Object-oriented software engineering - a use case driven approach , 1993, TOOLS.

[20]  J. Michael Spivey,et al.  Understanding Z : A specification language and its formal semantics , 1985, Cambridge tracts in theoretical computer science.

[21]  Mark Lorenz,et al.  Object-Oriented Software Development: A Practical Guide , 1992 .