Paper Unlock

Authors: Amjed Tahir 1 ; Stephen G. MacDonell 2 and Jim Buchan 1

Affiliations: 1 Auckland University of Technology, New Zealand ; 2 University of Otago, New Zealand

ISBN: 978-989-758-030-7

ISSN: 2184-4895

Keyword(s): Software Testability, Dynamic Metrics, Dynamic Analysis, Unit Testing, Software Understanding.

Related Ontology Subjects/Areas/Topics: Architectural Design and Meta Architectures ; Paradigm Trends ; Service-Oriented Software Engineering and Management ; Software Engineering ; Software Quality Management

Abstract: It is generally acknowledged that software testing is both challenging and time-consuming. Understanding the factors that may positively or negatively affect testing effort will point to possibilities for reducing this effort. Consequently there is a significant body of research that has investigated relationships between static code properties and testability. The work reported in this paper complements this body of research by providing an empirical evaluation of the degree of association between runtime properties and class-level testability in object-oriented (OO) systems. The motivation for the use of dynamic code properties comes from the success of such metrics in providing a more complete insight into the multiple dimensions of software quality. In particular, we investigate the potential relationships between the runtime characteristics of production code, represented by Dynamic Coupling and Key Classes, and internal class-level testability. Testability of a class is consider ed here at the level of unit tests and two different measures are used to characterise those unit tests. The selected measures relate to test scope and structure: one is intended to measure the unit test size, represented by test lines of code, and the other is designed to reflect the intended design, represented by the number of test cases. In this research we found that Dynamic Coupling and Key Classes have significant correlations with class-level testability measures. We therefore suggest that these properties could be used as indicators of class-level testability. These results enhance our current knowledge and should help researchers in the area to build on previous results regarding factors believed to be related to testability and testing. Our results should also benefit practitioners in future class testability planning and maintenance activities. (More)

PDF ImageFull Text


Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Tahir, A.; G. MacDonell, S. and Buchan, J. (2014). Understanding Class-level Testability Through Dynamic Analysis.In Proceedings of the 9th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-758-030-7, ISSN 2184-4895, pages 38-47. DOI: 10.5220/0004883400380047

author={Amjed Tahir. and Stephen G. MacDonell. and Jim Buchan.},
title={Understanding Class-level Testability Through Dynamic Analysis},
booktitle={Proceedings of the 9th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},


JO - Proceedings of the 9th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - Understanding Class-level Testability Through Dynamic Analysis
SN - 978-989-758-030-7
AU - Tahir, A.
AU - G. MacDonell, S.
AU - Buchan, J.
PY - 2014
SP - 38
EP - 47
DO - 10.5220/0004883400380047

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.