• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Wang Jina, Chen Junhua, Gao Jianhua. ECC Multi-Label Code Smell Detection Method Based on Ranking Loss[J]. Journal of Computer Research and Development, 2021, 58(1): 178-188. DOI: 10.7544/issn1000-1239.2021.20190836
Citation: Wang Jina, Chen Junhua, Gao Jianhua. ECC Multi-Label Code Smell Detection Method Based on Ranking Loss[J]. Journal of Computer Research and Development, 2021, 58(1): 178-188. DOI: 10.7544/issn1000-1239.2021.20190836

ECC Multi-Label Code Smell Detection Method Based on Ranking Loss

Funds: This work was supported by the National Natural Science Foundation of China (61672355).
More Information
  • Published Date: December 31, 2020
  • Code smell is a software feature of bad code or design problem, which seriously affects the reliability and maintainability of software systems. In a software system, a piece of code element may be affected by multiple code smells at the same time, which makes the quality of the software significantly reduced. Multi-label classification is suitable for this case, by placing multiple code smells with high co-occurrence in one label group, the correlation of code smells can be better considered, but the existing multi-label code smell detection methods do not consider the influence of the code smell detection order in the same code element. As a result, an ECC multi-label code smell detection method based on ranking loss is proposed. This method aims at minimizing ranking loss and chooses an optimal set of label sequences to optimize code smell detection order problem and simulate the mechanism of code smell generation by selecting random forest as the basic classifier and adopting multiple iterations of ECC to detect whether a piece of code element has long method-long parameter list, complex class-message chain or message chain-blob simultaneously. Finally, nine evaluation metrics are used and experimental results show that the proposed method is superior to the existing multi-label code smell detection method with an average F1 of 97.16%.
  • Related Articles

    [1]Wang Zhengkang, Luo Bingqing. Hybrid Fingerprint Indoor Localization Method Based on ECA-CNN[J]. Journal of Computer Research and Development, 2024, 61(2): 428-440. DOI: 10.7544/issn1000-1239.202220568
    [2]Zhang Yang, Qiao Liu, Dong Chunhao, Gao Hongbin. Deep Learning Based Data Race Detection Approach[J]. Journal of Computer Research and Development, 2022, 59(9): 1914-1928. DOI: 10.7544/issn1000-1239.20220014
    [3]Xie Kunpeng, Lu Ye, Jin Zongming, Liu Yiqing, Gong Cheng, Chen Xinwei, Li Tao. FAQ-CNN: A Flexible Acceleration Framework for Quantized Convolutional Neural Networks on Embedded FPGAs[J]. Journal of Computer Research and Development, 2022, 59(7): 1409-1427. DOI: 10.7544/issn1000-1239.20210142
    [4]Cheng Yan, Yao Leibo, Zhang Guanghe, Tang Tianwei, Xiang Guoxiong, Chen Haomai, Feng Yue, Cai Zhuang. Text Sentiment Orientation Analysis of Multi-Channels CNN and BiGRU Based on Attention Mechanism[J]. Journal of Computer Research and Development, 2020, 57(12): 2583-2595. DOI: 10.7544/issn1000-1239.2020.20190854
    [5]Zhang Shenglin, Li Dongwen, Sun Yongqian, Meng Weibin, Zhang Yuzhe, Zhang Yuzhi, Liu Ying, Pei Dan. Unified Anomaly Detection for Syntactically Diverse Logs in Cloud Datacenter[J]. Journal of Computer Research and Development, 2020, 57(4): 778-790. DOI: 10.7544/issn1000-1239.2020.20190875
    [6]Shi Leyi, Zhu Hongqiang, Liu Yihao, Liu Jia. Intrusion Detection of Industrial Control System Based on Correlation Information Entropy and CNN-BiLSTM[J]. Journal of Computer Research and Development, 2019, 56(11): 2330-2338. DOI: 10.7544/issn1000-1239.2019.20190376
    [7]Shi Wenhao, Meng Jun, Zhang Peng, Liu Chanjuan. Prediction of miRNA-lncRNA Interaction by Combining CNN and Bi-LSTM[J]. Journal of Computer Research and Development, 2019, 56(8): 1652-1660. DOI: 10.7544/issn1000-1239.2019.20190128
    [8]Xu Shaoping, Liu Tingyun, Li Chongxi, Tang Yiling, Hu Lingyan. Noise Level Estimation Algorithm Using Convolutional Neural Network-Based Noise Separation Model[J]. Journal of Computer Research and Development, 2019, 56(5): 1060-1070. DOI: 10.7544/issn1000-1239.2019.20180185
    [9]Cheng Xiaoyang, Zhan Yongzhao, Mao Qirong, Zhan Zhicai. Video Semantic Analysis Based on Topographic Sparse Pre-Training CNN[J]. Journal of Computer Research and Development, 2018, 55(12): 2703-2714. DOI: 10.7544/issn1000-1239.2018.20170579
    [10]Gao Yunlong, Zuo Wanli, Wang Ying, Wang Xin. Sentence Classification Model Based on Sparse and Self-Taught Convolutional Neural Networks[J]. Journal of Computer Research and Development, 2018, 55(1): 179-187. DOI: 10.7544/issn1000-1239.2018.20160784
  • Cited by

    Periodical cited type(2)

    1. 孟子立,徐明伟. 实时多媒体传输延迟优化:架构、进展与展望. 计算机研究与发展. 2024(12): 3054-3068 . 本站查看
    2. 尤丽萍. 基于视频图像传输网络结构设计及仿真研究. 普洱学院学报. 2023(03): 20-23 .

    Other cited types(6)

Catalog

    Article views (751) PDF downloads (352) Cited by(8)

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return