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 条
  • [31] Javiva: A tool for visualizing and validating student-written Java']Java programs
    Turner, JA
    Zachary, JL
    PROCEEDINGS OF THE THIRTY-SECOND SIGCSE TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2001, 33 (01): : 45 - 49
  • [32] A Novel Approach for Automatic Test Sequence Generation for Java']Java Fork/Join from Activity Diagram
    Verma, Vipin
    Arora, Vinay
    2014 INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION CONTROL AND COMPUTING TECHNOLOGIES (ICACCCT), 2014, : 1611 - 1615
  • [33] Modeling Time in Java']Java Programs for Automatic Error Detection
    Liva, Giovanni
    Khan, Muhammad Taimoor
    Spegni, Francesco
    Spalazzi, Luca
    Bollin, Andreas
    Pinzger, Martin
    2018 ACM/IEEE CONFERENCE ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE 2018), 2018, : 50 - 59
  • [34] Automatic Generation of Natural Language Summaries for Java']Java Classes
    Moreno, Laura
    Aponte, Jairo
    Sridhara, Giriprasad
    Marcus, Andrian
    Pollock, Lori
    Vijay-Shanker, K.
    2013 IEEE 21ST INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2013, : 23 - 32
  • [35] The Oz Machine: A Java']Java applet for interactive instruction in geological log interpretation
    Bohling, Geoffrey C.
    Doveton, John H.
    GEOSPHERE, 2006, 2 (05): : 269 - 274
  • [36] Automatic Detection of Sources and Sinks in Arbitrary Java']Java Libraries
    Sas, Darius
    Bessi, Marco
    Fontana, Francesca Arcelli
    2018 IEEE 18TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2018, : 103 - 112
  • [37] Automatic decomposition of Java']Java program for implementation on mobile terminals
    Umedu, T
    Urata, S
    Nakata, A
    Higashino, T
    19TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS, VOL 1, PROCEEDINGS: AINA 2005, 2005, : 544 - 549
  • [38] Automatic Trace-Based Parallelization of Java']Java Programs
    Bradel, Borys J.
    Abdelrahman, Tarek S.
    2007 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPP), 2007, : 215 - 224
  • [39] Automatic test generation for Java']Java-Card applets
    Martin, H
    du Bousquet, L
    JAVA ON SMART CARDS: PROGRAMMING AND SECURITY, 2001, 2041 : 121 - 136
  • [40] Automatic Generation of Package Diagram to Understand Java']Java Packages
    Jiang, Li
    Sun, Xiaobing
    Li, Yun
    Liu, Xiangyue
    2014 IEEE/ACIS 13TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS), 2014, : 337 - 342