원문정보
초록
영어
The aim of this work is to explore empirically the relationship between lack of cohesion metrics and testability of classes in object-oriented systems. We addressed testability from the perspective of unit testing. We performed an empirical analysis using data collected from two Java software systems for which JUnit test cases exist. To capture testability of classes, we used different metrics to measure some characteristics of the corresponding JUnit test cases. In order to evaluate the capability of lack of cohesion metrics to predict testability, we used statistical analysis techniques using correlation and logistic regression. The performance of the predicted model was evaluated using Receiver Operating Characteristic (ROC) analysis. The achieved results provide evidence that there exist a relationship between lack of cohesion and testability.
목차
1. Introduction
2. Software Testability
3. Object-Oriented Cohesion Metrics
4. Class Cohesion Measurement
5. Empirical Investigation
5.1. Selected Systems
5.2. Selected Metrics
5.3. Exploring the Relationship between Lack of Cohesion and Testability using Correlation
5.4. Exploring the Relation between Lack of Cohesion and Testability using Logistic Regression
6. Conclusions and Future Work
References