Searching for just a few words should be enough to get started. If you need to make more complex queries, use the tips below to guide you.
Article type: Research Article
Authors: Thessalonica, D. Julieta | Khanna Nehemiah, H.a; * | Sreejith, S.b | Kannan, A.c
Affiliations: [a] Ramanujan Computing Centre, Anna University, Chennai, Tamil Nadu, India | [b] Alumnus, Ramanujan Computing Centre, Anna University, Chennai, Tamil Nadu, India | [c] School of Computer Science and Engineering, Vellore Institute of Technology, Vellore, India
Correspondence: [*] Corresponding author. H. Khanna Nehemiah, Ramanujan Computing Centre, Anna University, Chennai 600025, Tamil Nadu, India. Tel.: +919381038339; E-mail: [email protected].
Abstract: Software developers find it difficult to select the specific detection rules for different smell types. A set of metrics, thresholds and labels constitutes a code smells detection rule. The generated rules must be optimized efficiently to ensure successful rule selection. The objective is to identify how rules are generated from the labeled data set and selected using bio-inspired algorithms. The goals are met by employing the C4.5 and RIPPER algorithms to generate rules then, optimized using two bio-inspired algorithms, the Salp Swarm Algorithm (SSA) and Cockroach Swarm Optimization (CSO). The optimized sets of rules are evaluated using the similarity metrics which are computed with the help of expected and the detected code smells. The common rule subsets from SSA and CSO are merged to produce the optimal rule subset which can be used for code smell detection. The proposed work has been experimented on Xerces-J, Log4J, Gantt Project and JFreeChart dataset. The work detected code smells with an accuracy of 91.7% for Xerces-J, 96.7% for JFreeChart, 88.6% for Gantt Project and 98% for Log4J. The findings will be useful for both theory and research since the proposed framework allows focusing on rule selection.
Keywords: Software metric, code smell, Salp Swarm Algorithm, Cockroach Swarm Optimization
DOI: 10.3233/JIFS-220474
Journal: Journal of Intelligent & Fuzzy Systems, vol. 43, no. 6, pp. 7243-7260, 2022
IOS Press, Inc.
6751 Tepper Drive
Clifton, VA 20124
USA
Tel: +1 703 830 6300
Fax: +1 703 830 2300
[email protected]
For editorial issues, like the status of your submitted paper or proposals, write to [email protected]
IOS Press
Nieuwe Hemweg 6B
1013 BG Amsterdam
The Netherlands
Tel: +31 20 688 3355
Fax: +31 20 687 0091
[email protected]
For editorial issues, permissions, book requests, submissions and proceedings, contact the Amsterdam office [email protected]
Inspirees International (China Office)
Ciyunsi Beili 207(CapitaLand), Bld 1, 7-901
100025, Beijing
China
Free service line: 400 661 8717
Fax: +86 10 8446 7947
[email protected]
For editorial issues, like the status of your submitted paper or proposals, write to [email protected]
如果您在出版方面需要帮助或有任何建, 件至: [email protected]