2011 · 37 citations · 52 references
ComputingComputer SciencePerformance MeasurementSoftware EngineeringTest DevelopmentComputer-based TestingObject-oriented AnalysisSoftware DesignSoftware MetricsSoftware TestingCohesionCohesion MetricsLogistic RegressionReceiver Operating Characteristic AnalysisSoftware TestabilityTest CasesTestabilityTestability Metrics
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.
52
Towards a metrics suite for object oriented design
Shyam R. Chidamber, Chris F. Kemerer · 1991 · 832 citations · Full text