RioCC: Efficient and Accurate Class-Level Code Recommendation Based on Deep Code Clone Detection
Hongcan Gao, Chenkai Guo, Hui Yang

TL;DR
RioCC is a new framework for recommending code classes efficiently by using deep learning to detect code clones and narrow down options.
Contribution
RioCC introduces a two-stage code recommendation system using deep forest-based clone detection for class-level recommendations.
Findings
RioCC outperforms existing methods in code clone detection accuracy and recommendation efficiency.
The two-stage design effectively balances speed and accuracy in large-scale code spaces.
Experiments show RioCC works well across four types of code clones.
Abstract
Context: Code recommendation plays an important role in improving programming efficiency and software quality. Existing approaches mainly focus on method- or API-level recommendations, which limits their effectiveness to local code contexts. From a multi-stage recommendation perspective, class-level code recommendation aims to efficiently narrow a large candidate code space while preserving essential structural information. Objective: This paper proposes RioCC, a class-level code recommendation framework that leverages deep forest-based code clone detection to progressively reduce the candidate space and improve recommendation efficiency in large-scale code spaces. Method: RioCC models the recommendation process as a coarse-to-fine candidate reduction procedure. In the coarse-grained stage, a quick search-based filtering module performs rapid candidate screening and initial similarity…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Software System Performance and Reliability
