An Automatic Approach to Validating Log Levels in Java']Java

被引:4
|
作者
Kim, Taeyoung [1 ]
Kim, Suntae [1 ]
Yoo, Cheol-Jung [1 ]
Cho, Soohwan [2 ]
Park, Sooyong [2 ]
机构
[1] Chonbuk Natl Univ, Dept Software Engn, CAIIT, 567 Baekje Daero, Jeonju Si 561756, Jeollabuk Do, South Korea
[2] Sogang Univ, Dept Comp Sci & Engn, 35 Baekbeom Ro, Seoul, South Korea
基金
新加坡国家研究基金会;
关键词
log statement; log level; Word2Vec; log feature vector; classification model;
D O I
10.1109/APSEC.2018.00078
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A log statement is used to record important runtime behavior of software systems for diverse reasons, which is inevitable to develop most of the software systems. However, developers do not tend to deeply consider an appropriate log level in their source code. In order to address the issues, this paper proposes an automatic approach to validating log levels in Java in consideration of the syntactic as well as semantic features. We first build up the Word2Vec model and generate semantic and syntactic log feature vectors, then train the machine learning classifiers to automatically validate the log levels. For the evaluation, we collected six open source projects of the message-oriented middleware domain, and obtained the 88% precision and the 87% recall respectively.
引用
收藏
页码:623 / 627
页数:5
相关论文
共 50 条
  • [41] Semi-Automatic Assessment of Unrestrained Java']Java Code
    Insa, David
    Silva, Josep
    ITICSE'15: PROCEEDINGS OF THE 2015 ACM CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, 2015, : 39 - 44
  • [42] Automatic Parallelization of a Gap Model using Java']Java and OpenCL
    Passerat-Palmbach, Jonathan
    Forest, Arthur
    Pal, Julien
    Corbara, Bruno
    Hill, D. R. C.
    EUROPEAN SIMULATION AND MODELLING CONFERENCE 2012, 2012, : 24 - +
  • [43] Automatic Evolution of Java']Java-Written Game Heuristics
    Orlov, Michael
    Bregman, Carmel
    Sipper, Moshe
    SEARCH BASED SOFTWARE ENGINEERING, 2011, 6956 : 277 - 277
  • [44] An Automatic Transformer from Sequential to Parallel Java']Java Code
    Midolo, Alessandro
    Tramontana, Emiliano
    FUTURE INTERNET, 2023, 15 (09):
  • [45] Automatic Source Code Summarization of Context for Java']Java Methods
    McBurney, Paul W.
    McMillan, Collin
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (02) : 103 - 119
  • [46] J-Orchestra: Automatic Java']Java application partitioning
    Tilevich, E
    Smaragdakis, Y
    ECOOP 2002 - OBJECT-ORIENTED PROGRAMMING, 2002, 2374 : 178 - 204
  • [47] Automatic certification of Java']Java source code in rewriting logic
    Alba-Castro, Mauricio
    Alpuente, Maria
    Escobar, Santiago
    FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS, 2008, 4916 : 200 - 217
  • [48] Automatic Detection of Shared Objects in Multithreaded Java']Java Programs
    Tolubaeva, Munara
    Can, Aysu Betin
    2008 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE FOR MODELLING CONTROL & AUTOMATION, VOLS 1 AND 2, 2008, : 522 - 526
  • [49] Personal Prof: Automatic Code Review for Java']Java Assignments
    Klinik, Markus
    Koopman, Pieter
    van der Wal, Rick
    CSERC'21: THE 10TH COMPUTER SCIENCE EDUCATION RESEARCH CONFERENCE, 2021, : 31 - 38
  • [50] Dependency-Based Automatic Parallelization of Java']Java Applications
    Rafael, Joao
    Correia, Ivo
    Fonseca, Alcides
    Cabral, Bruno
    EURO-PAR 2014: PARALLEL PROCESSING WORKSHOPS, PT II, 2014, 8806 : 182 - 193