Academic
Publications
Design Defects Detection and Correction by Example

Design Defects Detection and Correction by Example,10.1109/ICPC.2011.22,Marouane Kessentini,Wael Kessentini,Houari Sahraoui,Mounir Boukadoum,Ali Ouni

Design Defects Detection and Correction by Example  
BibTex | RIS | RefWorks Download
Detecting and fixing defects make programs easier to understand by developers. We propose an automated approach for the detection and correction of various types of design defects in source code. Our approach allows to automatically find detection rules, thus relieving the designer from doing so manually. Rules are defined as combinations of metrics/thresholds that better conform to known instances of design defects (defect examples). The correction solutions, a combination of refactoring operations, should minimize, as much as possible, the number of defects detected using the detection rules. In our setting, we use genetic programming for rule extraction. For the correction step, we use genetic algorithm. We evaluate our approach by finding and fixing potential defects in four open-source systems. For all these systems, we found, in average, more than 80% of known defects, a better result when compared to a state-of-the-art approach, where the detection rules are manually or semi- automatically specified. The proposed corrections fix, in average, more than 78%of detected defects.
Cumulative Annual
View Publication
The following links allow you to view full publications. These links are maintained by other sources not affiliated with Microsoft Academic Search.