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 条
  • [1] Systematic Approach for validating Java']Java-MongoDB Schema
    Prabagaren, Gokul
    2014 INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND EMBEDDED SYSTEMS (ICICES), 2014,
  • [2] An automatic approach to transform CafeOBJ specifications to Java']Java template code
    Doungsa-ard, C
    Suwannasart, T
    SERP'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2003, : 171 - 176
  • [3] miniJava']Java: Automatic Miniaturization of Java']Java Applications
    Francese, Rita
    Risi, Michele
    Tortora, Genoveffa
    PROCEEDINGS OF THE WORKING CONFERENCE ON ADVANCED VISUAL INTERFACES AVI 2020, 2020,
  • [4] Automatic program specialization for Java']Java
    Schultz, UP
    Lawall, JL
    Consel, C
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2003, 25 (04): : 452 - 499
  • [5] Automatic Upgrade of Java']Java Libraries
    Tronicek, Zdenek
    ERCIM NEWS, 2012, (88): : 31 - 31
  • [6] Automatic assessment of Java']Java code
    Insa, David
    Silva, Josep
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2018, 53 : 59 - 72
  • [7] Validating Converted Java']Java Code via Symbolic Execution
    Sneed, Harry M.
    Verhoef, Chris
    SOFTWARE QUALITY: COMPLEXITY AND CHALLENGES OF SOFTWARE ENGINEERING IN EMERGING TECHNOLOGIES, 2017, 269 : 70 - 83
  • [8] JCrasher: an automatic robustness tester for Java']Java
    Csallner, C
    Smaragdakis, Y
    SOFTWARE-PRACTICE & EXPERIENCE, 2004, 34 (11): : 1025 - 1050
  • [9] Automatic Error Correction of Java']Java Programs
    Kern, Christian
    Esparza, Javier
    FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS, 2010, 6371 : 67 - 81
  • [10] Automatic Translation from Circus to Java']Java
    Freitas, Angela
    Cavalcanti, Ana
    FM 2006: FORMAL METHODS, PROCEEDINGS, 2006, 4085 : 115 - 130