Abstract
When developing a large scale software product, it is essential to share a common set of structural coding guidelines and standards among the project team members. In this paper, we propose MergeLogging, a deep learning-based merged network using various code representations for automated logging decisions or other tasks. MergeLogging archives the enhanced recommendation ability that utilizes orthogonal code features from code representations. Our case study with three open-source project datasets demonstrates that logging accuracy can reach as high as 93%.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Gao Z, Jayasundara V, Jiang L, Xia X, Lo D, Grundy J (2019) SmartEmbed: a tool for clone and bug detection in smart contracts through structural code embedding. In: 35th international conference on software maintenance and evolution. IEEE, Cleveland, OH, pp 394–397
Alon U, Brody S, Levy O, Yahav E (2019) code2seq: generating sequences from structured representations of code. In: 7th international conference on learning representations, ICLR 2019, New Orleans, LA, pp 1–22
Kiczales G, Hilsdale E, Kersten M, Palm J, Griswold GG (2001) An overview of AspectJ. Springer, Heidelberg
Datasets for Java Logging Recommendations (2020) https://github.com/dooinee/mergeLogging. Accessed 20 Feb 2020
Mikolov T, Chen K, Corrado GS, Dean J (2013) Efficient estimation of word representations in vector space. In: 1st international conference on learning representations, ICLR 2013, Scottsdale, AZ, pp 1–12
Acknowledgements
This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Science, ICT and Future Planning (NRF-2017R1E1A1A01075803, NRF-2018R1D1A1A02086102, NRF-2020R1A2C2009809).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Lee, S., Lee, Y., Lee, CG., Woo, H. (2021). Deep Learning-Based Logging Recommendation Using Merged Code Representation. In: Kim, H., Kim, K.J. (eds) IT Convergence and Security. Lecture Notes in Electrical Engineering, vol 712. Springer, Singapore. https://doi.org/10.1007/978-981-15-9354-3_5
Download citation
DOI: https://doi.org/10.1007/978-981-15-9354-3_5
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-9353-6
Online ISBN: 978-981-15-9354-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)