earticle

논문검색

An Empirical Analysis of Lack of Cohesion Metrics for Predicting Testability of Classes

초록

영어

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.

목차

Abstract
 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

저자정보

  • Linda Badri Software Engineering Research Laboratory Department of Mathematics and Computer Science University of Quebec at Trois-Rivières, Trois-Rivières, Québec, Canada
  • Mourad Badri Software Engineering Research Laboratory Department of Mathematics and Computer Science University of Quebec at Trois-Rivières, Trois-Rivières, Québec, Canada
  • Fadel Toure Software Engineering Research Laboratory Department of Mathematics and Computer Science University of Quebec at Trois-Rivières, Trois-Rivières, Québec, Canada

참고문헌

자료제공 : 네이버학술정보

    함께 이용한 논문

      ※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.

      0개의 논문이 장바구니에 담겼습니다.