An empirical study to improve software security through the application of code refactoring

2018 ◽  
Vol 96 ◽  
pp. 112-125 ◽  
Author(s):  
Haris Mumtaz ◽  
Mohammad Alshayeb ◽  
Sajjad Mahmood ◽  
Mahmood Niazi
2021 ◽  
Vol 12 (4) ◽  
pp. 0-0

Code refactoring is the modification of structure with out altering its functionality. The refactoring task is critical for enhancing the qualities for non-functional attributes, such as efficiency, understandability, reusability, and flexibility. Our research aims to build an optimized model for refactoring prediction at the method level with 7 ensemble techniques and verities of SMOTE techniques. This research has considered 5 open source java projects to investigate the accuracy of our anticipated model, which forecasts refactoring applicants by the use of ensemble techniques (BAG-KNN, BAG-DT, BAG-LOGR, ADABST, EXTC, RANF, GRDBST). Data imbalance issues are handled using 3 sampling techniques (SMOTE, BLSMOTE, SVSMOTE) to improve refactoring prediction efficiency and also focused all features and significant features. The mean accuracy of the classifiers like BAG- DT is 99.53% ,RANF is 99.55%, and EXTC is 99.59. The mean accuracy of the BLSMOTE is 97.21%. The performance of classifiers and sampling techniques are shown in terms of the box-plot diagram.


1996 ◽  
Vol 81 (1) ◽  
pp. 76-87 ◽  
Author(s):  
Connie R. Wanberg ◽  
John D. Watt ◽  
Deborah J. Rumsey

Sign in / Sign up

Export Citation Format

Share Document