Search-Based Design Defects Detection by Example

被引:0
作者
Kessentini, Marouane [1 ]
Sahraoui, Houari [1 ]
Boukadoum, Mounir [2 ]
Wimmer, Manuel [3 ]
机构
[1] Univ Montreal, DIRO, Montreal, PQ H3C 3J7, Canada
[2] Univ Quebec, Montreal, PQ, Canada
[3] Vienna Univ Technol, Vienna, Austria
来源
FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING | 2011年 / 6603卷
关键词
Design defects; software quality; metrics; search-based software engineering; by example; HEURISTIC ALGORITHM; OPTIMIZATION;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose an automated approach to detect 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). In our setting, we use and compare between different heuristic search algorithms for rule extraction: Harmony Search, Particle Swarm Optimization, and Simulated Annealing. We evaluate our approach by finding potential defects in two open-source systems. For all these systems, we found, in average, more than 75% 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.
引用
收藏
页码:401 / +
页数:3
相关论文
共 22 条
[1]  
Alikacem H., 2006, ACT 12 C LMO
[2]  
[Anonymous], 1998, AntiPatterns: Refactoring Software, Architectures, and Projects in Crisis
[3]  
Eberhart RC, 2001, IEEE C EVOL COMPUTAT, P81, DOI 10.1109/CEC.2001.934374
[4]  
Fenton N., 1997, SOFTWARE METRICS RIG
[5]  
Fowler M., 2018, Refactoring: Improving the Design of Existing Code
[6]  
Gaffney J.E., 1981, P ACM 81 C, P126
[7]   Metrics are fitness functions too [J].
Harman, M ;
Clark, J .
10TH INTERNATIONAL SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS, 2004, :58-69
[8]  
Kessentini M., 2010, P INT C AUT SOFTW EN
[9]  
Kessentini M, 2008, LECT NOTES COMPUT SC, V5301, P159, DOI 10.1007/978-3-540-87875-9_12
[10]  
Khomh F., 2009, P ICQS 2009