STUBBER: Compiling Source Code into Bytecode without Dependencies for Java']Java Code Clone Detection

被引:6
|
作者
Schafer, Andre [1 ]
Amme, Wolfram [1 ]
Heinze, Thomas S. [2 ]
机构
[1] Friedrich Schiller Univ Jena, Inst Comp Sci, Jena, Germany
[2] German Aerosp Ctr DLR, Inst Data Sci, Jena, Germany
关键词
Bytecode; BigCloneBench; code clone; clone detection; compilation;
D O I
10.1109/IWSC53727.2021.00011
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A lot of clone detection tools for Java have been introduced in recent years. On the one hand, many of these tools work on Java source code and can thus be conveniently evaluated with the state-of-the-art benchmark BigCloneBench and evaluation framework BigCloneEval. On the other hand, certain clone detectors deliberately address the Bytecode and cannot be applied to Java source code. Simple compilation often does not solve the problem due to missing required dependencies, as, e.g., in case of BigCloneBench. In this work, we therefore present the tool STUBBER for compiling Java source code into Bytecode without dependencies. We can show that using STUBBER, Bytecode for over 95% of all Java source files and 92.5% of all code clones contained in BigCloneBench can be successfully generated. As a consequence, the evaluation of Bytecode-based clone detectors on BigCloneBench becomes possible and such tools can also be applied to Java source files, even beyond BigCloneBench.
引用
收藏
页码:29 / 35
页数:7
相关论文
共 50 条
  • [1] Code coverage differences of Java']Java bytecode and source code instrumentation tools
    Horvath, Ferenc
    Gergely, Tamas
    Beszedes, Arpad
    Tengeri, David
    Balogh, Gergo
    Gyimothy, Tibor
    [J]. SOFTWARE QUALITY JOURNAL, 2019, 27 (01) : 79 - 123
  • [2] SJBCD: A Java']Java Code Clone Detection Method Based on Bytecode Using Siamese Neural Network
    Wan, Bangrui
    Dong, Shuang
    Zhou, Jianjun
    Qian, Ying
    [J]. APPLIED SCIENCES-BASEL, 2023, 13 (17):
  • [3] Negative Effects of Bytecode Instrumentation on Java']Java Source Code Coverage
    Tengeri, David
    Horvath, Ferenc
    Beszedes, Arpad
    Gergely, Tamas
    Gyimothy, Tibor
    [J]. 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 1, 2016, : 225 - 235
  • [4] Finding Source Code Clones in Intermediate Representations of Java']Java Bytecode
    Schaefer, Andre
    Heinze, Thomas S.
    Amme, Wolfram
    [J]. 2023 IEEE 17TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES, IWSC 2023, 2023, : 37 - 43
  • [5] Code coverage differences of Java bytecode and source code instrumentation tools
    Ferenc Horváth
    Tamás Gergely
    Árpád Beszédes
    Dávid Tengeri
    Gergő Balogh
    Tibor Gyimóthy
    [J]. Software Quality Journal, 2019, 27 : 79 - 123
  • [6] Java']Java Source Code Defect Detection
    Zhu, Hong
    Jin, Dahai
    [J]. 2015 8TH INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS (BMEI), 2015, : 695 - 699
  • [7] Java bytecode clone detection via relaxation on code fingerprint and Semantic Web reasoning
    Keivanloo, Iman
    Roy, Chanchai K.
    Rilling, Juergen
    [J]. 2012 6th International Workshop on Software Clones, IWSC 2012 - Proceedings, 2012, : 36 - 42
  • [8] Mobile code security by Java']Java bytecode instrumentation
    Chander, A
    Mitchell, JC
    Shin, I
    [J]. DISCEX'01: DARPA INFORMATION SURVIVABILITY CONFERENCE & EXPOSITION II, VOL II, PROCEEDINGS, 2001, : 27 - 40
  • [9] Target code generation using the code expansion technique for Java']Java Bytecode
    Ko, KM
    Kim, SG
    [J]. PARALLEL AND DISTRIBUTED COMPUTING: APPLICATIONS AND TECHNOLOGIES, PROCEEDINGS, 2004, 3320 : 752 - 755
  • [10] Mobile code security by Java']Java bytecode dependence analysis
    Bian, G
    Nakayama, K
    Kobayashi, Y
    Maekawa, M
    [J]. IEEE INTERNATIONAL SYMPOSIUM ON COMMUNICATIONS AND INFORMATION TECHNOLOGIES 2004 (ISCIT 2004), PROCEEDINGS, VOLS 1 AND 2: SMART INFO-MEDIA SYSTEMS, 2004, : 923 - 926