Visualizing Dynamic Data-Flow Analysis of Object-Oriented Programs Based on the Language Server Protocol

被引:1
作者
Troost, Laura [1 ]
Neugebauer, Jonathan [1 ]
Kuchen, Herbert [1 ]
机构
[1] Univ Munster, Dept Informat Syst, Munster, Germany
来源
PROCEEDINGS OF THE 18TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, ENASE 2023 | 2023年
关键词
Data-Flow Analysis; Bytecode Analysis; !text type='Java']Java[!/text] Instrumentation; Software Testing; Integrated Development; Environment; Language Server Protocol;
D O I
10.5220/0011743500003464
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Although studies emphasized the effectiveness of analyzing data-flow coverage as opposed to branch coverage in the area of testing, there is still a lack of appropriate tools. We propose an approach to visualize data flows of programs within code editors based on the Language Server Protocol (LSP). For this purpose, we define extensions of the LSP to increase usability in the given application. Furthermore, we present a prototype with implementations of a language server as well as the two language clients IntelliJ IDEA and Visual Studio Code. Moreover, we outline how the different components can interact effectively based on the LSP to enable the analysis and visualization of data-flows. We evaluate our prototype based on various benchmarks.
引用
收藏
页码:77 / 88
页数:12
相关论文
共 18 条
  • [1] PROGRAM DATA FLOW ANALYSIS PROCEDURE
    ALLEN, FE
    COCKE, J
    [J]. COMMUNICATIONS OF THE ACM, 1976, 19 (03) : 137 - 147
  • [2] Beyer D., 2021, Proc. TACAS (2), P12652
  • [3] Bluemke I., 2009, IFIP CENTR E EUR C S, P215
  • [4] Bray T., 2013, RFC 7158
  • [5] On the Right Objectives of Data Flow Testing
    Denaro, Giovanni
    Pezze, Mauro
    Vivanti, Mattia
    [J]. 2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, : 71 - 80
  • [6] EclEmma, 2017, JaCoCo
  • [7] AN EXPERIMENTAL COMPARISON OF THE EFFECTIVENESS OF BRANCH TESTING AND DATA-FLOW TESTING
    FRANKL, PG
    WEISS, SN
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (08) : 774 - 787
  • [8] HUTCHINS M, 1994, PROC INT CONF SOFTW, P191, DOI 10.1109/ICSE.1994.296778
  • [9] JSON-RPC Working Group, 2013, Tech. rep
  • [10] Metals, 2022, Core Components and Native Components