Entropy Churn Metrics for Fault Prediction in Software Systems
Arvinder Kaur1, Deepti Chopra1
1University School of Information and Communication Technology (U.S.I.C.T), Guru Gobind Singh Indraprastha University, New Delhi 110087, India.
Entropy (Basel, Switzerland)
|December 3, 2020
Summary
This study introduces Entropy Churn Metrics (ECM) for improved fault prediction in software engineering. ECM, based on History Complexity Metrics (HCM), shows comparable performance to HCM across diverse software projects.
Area of Science:
- Software Engineering
- Computer Science
- Software Quality Assurance
Background:
- Fault prediction is crucial for efficient software development and maintenance.
- Existing methods aim to reduce fault resolution time and effort.
- Novel approaches are continuously sought to enhance fault prediction accuracy.
Purpose of the Study:
- To propose Entropy Churn Metrics (ECM) as a new approach for fault prediction.
- To evaluate the performance of ECM against History Complexity Metrics (HCM).
- To analyze factors influencing the preference between ECM and HCM.
Main Methods:
- Developed Entropy Churn Metrics (ECM) based on History Complexity Metrics (HCM) and Churn of Source Code Metrics (CHU).
- Compared the performance of ECM and HCM across 14 subsystems from 5 diverse software projects (Android, Eclipse, Apache Http Server, Eclipse CDT, Mozilla Firefox).
- Analyzed fault distribution, subsystem size, and programming language to understand metric preference.
Main Results:
- ECM demonstrates comparable performance to HCM in fault prediction.
- The analysis identified characteristics of software systems that favor one metric over the other.
- Performance variations were observed across different software projects and subsystems.
Conclusions:
- Entropy Churn Metrics (ECM) offer a viable alternative for fault prediction.
- The choice between ECM and HCM may depend on specific software project characteristics.
- Further research can refine these metrics for more accurate fault prediction.
Related Concept Videos
Fault Types
319
When analyzing a single line-to-ground fault from phase A to ground at a three-phase bus, it is important to consider the fault impedance. This impedance is zero for a bolted fault, equal to the arc impedance for an arcing fault, and represents the total fault impedance for a transmission-line insulator flashover. To derive sequence and phase currents, fault conditions are translated from the phase domain to the sequence domain.
For line-to-line faults occurring between phases B and C, the...
For line-to-line faults occurring between phases B and C, the...
319
Random Error
6.1K
Random or indeterminate errors originate from various uncontrollable variables, such as variations in environmental conditions, instrument imperfections, or the inherent variability of the phenomena being measured. Usually, these errors cannot be predicted, estimated, or characterized because their direction and magnitude often vary in magnitude and direction even during consecutive measurements. As a result, they are difficult to eliminate. However, the aggregate effect of these errors can be...
6.1K
Entropy Change in Reversible Processes
3.0K
In the Carnot engine, which achieves the maximum efficiency between two reservoirs of fixed temperatures, the total change in entropy is zero. The observation can be generalized by considering any reversible cyclic process consisting of many Carnot cycles. Thus, it can be stated that the total entropy change of any ideal reversible cycle is zero.
The statement can be further generalized to prove that entropy is a state function. Take a cyclic process between any two points on a p-V diagram.
The statement can be further generalized to prove that entropy is a state function. Take a cyclic process between any two points on a p-V diagram.
3.0K
Propagation of Uncertainty from Systematic Error
1.1K
The atomic mass of an element varies due to the relative ratio of its isotopes. A sample's relative proportion of oxygen isotopes influences its average atomic mass. For instance, if we were to measure the atomic mass of oxygen from a sample, the mass would be a weighted average of the isotopic masses of oxygen in that sample. Since a single sample is not likely to perfectly reflect the true atomic mass of oxygen for all the molecules of oxygen on Earth, the mass we obtain from this...
1.1K
Standard Entropy Change for a Reaction
23.0K
Entropy is a state function, so the standard entropy change for a chemical reaction (ΔS°rxn) can be calculated from the difference in standard entropy between the products and the reactants.
23.0K
Random and Systematic Errors
14.1K
Scientists always try their best to record measurements with the utmost accuracy and precision. However, sometimes errors do occur. These errors can be random or systematic. Random errors are observed due to the inconsistency or fluctuation in the measurement process, or variations in the quantity itself that is being measured. Such errors fluctuate from being greater than or less than the true value in repeated measurements. Consider a scientist measuring the length of an earthworm using a...
14.1K


