Annak érdekében, hogy Önnek a legjobb élményt nyújtsuk "sütiket" használunk honlapunkon. Az oldal használatával Ön beleegyezik a "sütik" használatába.

Deep convolutional neural network model for bad code smells detection based on oversampling method

  •  Minősített cikkek
  • 2023-02-02 18:40:00
Code smells refers to any symptoms or anomalies in the source code that shows violation of design principles or implementation. Early detection of bad code smells improves software quality. Nowadays several artificial neural network (ANN) models have been used for different topics in software engineering: software defect prediction, software vulnerability detection, and code clone detection. It is not necessary to know the source of the data when using ANN models but require large training sets. Data imbalance is the main challenge of artificial intelligence techniques in detecting the code smells. To overcome these challenges, the objective of this study is to presents deep convolutional neural network (D-CNN) model with synthetic minority over-sampling technique (SMOTE) to detect bad code smells based on a set of Java projects. We considered four code-smell datasets which are God class, data class, feature envy and long method and the results were compared based on different performance measures. Experimental results show that the proposed model with oversampling techniques can provide better performance for code smells detection and prediction results can be further improved when the model is trained with more datasets. Moreover, more epochs and hidden layers help increase the accuracy of the model.

A teljes cikk innen tölthető le.

 

 

Hivatkozás

MLA: Khleel, Nasraldeen Alnor Adam, and Károly Nehéz. "Deep convolutional neural network model for bad code smells detection based on oversampling method." Indonesian Journal of Electrical Engineering and Computer Science 26.3 (2022): 1725-1735.

APA:  Khleel, N. A. A., & Nehéz, K. (2022). Deep convolutional neural network model for bad code smells detection based on oversampling method. Indonesian Journal of Electrical Engineering and Computer Science26(3), 1725-1735.

ISO690: KHLEEL, Nasraldeen Alnor Adam; NEHÉZ, Károly. Deep convolutional neural network model for bad code smells detection based on oversampling method. Indonesian Journal of Electrical Engineering and Computer Science, 2022, 26.3: 1725-1735.

BibTeX:

@article{khleel2022deep,
  title={Deep convolutional neural network model for bad code smells detection based on oversampling method},
  author={Khleel, Nasraldeen Alnor Adam and Neh{'e}z, K{'a}roly},
  journal={Indonesian Journal of Electrical Engineering and Computer Science},
  volume={26},
  number={3},
  pages={1725--1735},
  year={2022}
}

 

 

Megosztás