看过本文的还看了

相关文献

该作者的其他文献

文献详情 >Empirical Analysis of Object-Orient... 收藏
Empirical Analysis of Object-Oriented Design Metrics for Predicting Unit Testing Effort of Classes

Empirical Analysis of Object-Oriented Design Metrics for Predicting Unit Testing Effort of Classes

作     者:Mourad Badri Fadel Toure 

作者机构:Software Engineering Research Laboratory Department of Mathematics and Computer Science University of Quebec Trois- Rivières Canada Software Engineering Research Laboratory Department of Mathematics and Computer Science University of Quebec Trois-Rivières Canada 

出 版 物:《Journal of Software Engineering and Applications》 (软件工程与应用(英文))

年 卷 期:2012年第5卷第7期

页      码:513-526页

摘      要:In this paper, we investigate empirically the relationship between object-oriented design metrics and testability of classes. We address testability from the point of view of unit testing effort. We collected data from three open source Java software systems for which JUnit test cases exist. To capture the testing effort of classes, we used metrics to quantify the corresponding JUnit test cases. Classes were classified, according to the required unit testing effort, in two categories: high and low. In order to evaluate the relationship between object-oriented design metrics and unit testing effort of classes, we used logistic regression methods. We used the univariate logistic regression analysis to evaluate the individual effect of each metric on the unit testing effort of classes. The multivariate logistic regression analysis was used to explore the combined effect of the metrics. The performance of the prediction models was evaluated using Receiver Operating Characteristic analysis. The results indicate that: 1) complexity, size, cohesion and (to some extent) coupling were found significant predictors of the unit testing effort of classes and 2) multivariate regression models based on object-oriented design metrics are able to accurately predict the unit testing effort of classes.

主 题 词:Software Testability Unit Testing Testing Effort Metrics Relationship Prediction and Empirical Analysis 

学科分类:1002[医学-临床医学类] 100214[100214] 10[医学] 

D O I:10.4236/jsea.2012.57060

馆 藏 号:203458354...

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分