Evaluating the Effect of Control Flow on the Unit Testing Effort of Classes : An Empirical Analysis

Joint Authors

Toure, Fadel
Badri, Mourad

Source

Advances in Software Engineering

Issue

Vol. 2012, Issue 2012 (31 Dec. 2012), pp.1-13, 13 p.

Publisher

Hindawi Publishing Corporation

Publication Date

2012-06-14

Country of Publication

Egypt

No. of Pages

13

Main Subjects

Mathematics

Abstract EN

The aim of this paper is to evaluate empirically the relationship between a new metric (Quality Assurance Indicator—Qi) and testability of classes in object-oriented systems.

The Qi metric captures the distribution of the control flow in a system.

We addressed testability from the perspective of unit testing effort.

We collected data from five open source Java software systems for which JUnit test cases exist.

To capture the testing effort of classes, we used different metrics to quantify the corresponding JUnit test cases.

Classes were classified, according to the required testing effort, in two categories: high and low.

In order to evaluate the capability of the Qi metric to predict testability of classes, we used the univariate logistic regression method.

The performance of the predicted model was evaluated using Receiver Operating Characteristic (ROC) analysis.

The results indicate that the univariate model based on the Qi metric is able to accurately predict the unit testing effort of classes.

American Psychological Association (APA)

Badri, Mourad& Toure, Fadel. 2012. Evaluating the Effect of Control Flow on the Unit Testing Effort of Classes : An Empirical Analysis. Advances in Software Engineering،Vol. 2012, no. 2012, pp.1-13.
https://search.emarefa.net/detail/BIM-511917

Modern Language Association (MLA)

Badri, Mourad& Toure, Fadel. Evaluating the Effect of Control Flow on the Unit Testing Effort of Classes : An Empirical Analysis. Advances in Software Engineering No. 2012 (2012), pp.1-13.
https://search.emarefa.net/detail/BIM-511917

American Medical Association (AMA)

Badri, Mourad& Toure, Fadel. Evaluating the Effect of Control Flow on the Unit Testing Effort of Classes : An Empirical Analysis. Advances in Software Engineering. 2012. Vol. 2012, no. 2012, pp.1-13.
https://search.emarefa.net/detail/BIM-511917

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references

Record ID

BIM-511917