دورية أكاديمية
Log statements generation via deep learning: Widening the support provided to developers
العنوان: | Log statements generation via deep learning: Widening the support provided to developers |
---|---|
المؤلفون: | Mastropaolo, Antonio, Ferrari, Valentina, Pascarella, Luca, id_orcid:0 000-0001-8289-7736, Bavota, Gabriele |
المصدر: | Journal of Systems and Software, 210 |
بيانات النشر: | Elsevier |
سنة النشر: | 2024 |
المجموعة: | ETH Zürich Research Collection |
مصطلحات موضوعية: | Logging, DL for software engineering |
الوصف: | Logging assists in monitoring events that transpire during the execution of software. Previous research has highlighted the challenges confronted by developers when it comes to logging, including dilemmas such as where to log, what data to record, and which log level to employ (e.g., info, fatal). In this context, we introduced LANCE, an approach rooted in deep learning (DL) that has demonstrated the ability to correctly inject a log statement into Java methods in ∼15% of cases. Nevertheless, LANCE grapples with two primary constraints: (i) it presumes that a method necessitates the inclusion of logging statements and; (ii) it allows the injection of only a single (new) log statement, even in situations where the injection of multiple log statements might be essential. To address these limitations, we present LEONID, a DL-based technique that can distinguish between methods that do and do not require the inclusion of log statements. Furthermore, LEONID supports the injection of multiple log statements within a given method when necessary, and it also enhances LANCE's proficiency in generating meaningful log messages through the combination of DL and Information Retrieval (IR). ; ISSN:0164-1212 ; ISSN:1873-1228 |
نوع الوثيقة: | article in journal/newspaper |
وصف الملف: | application/application/pdf |
اللغة: | English |
العلاقة: | info:eu-repo/semantics/altIdentifier/wos/001154418900001; http://hdl.handle.net/20.500.11850/654833Test |
DOI: | 10.3929/ethz-b-000654833 |
الإتاحة: | https://doi.org/20.500.11850/654833Test https://doi.org/10.3929/ethz-b-000654833Test https://doi.org/10.1016/j.jss.2023.111947Test https://hdl.handle.net/20.500.11850/654833Test |
حقوق: | info:eu-repo/semantics/openAccess ; http://creativecommons.org/licenses/by/4.0Test/ ; Creative Commons Attribution 4.0 International |
رقم الانضمام: | edsbas.B6C77F8B |
قاعدة البيانات: | BASE |
DOI: | 10.3929/ethz-b-000654833 |
---|