Skip to main content

Deep Learning-Based Logging Recommendation Using Merged Code Representation

  • Conference paper
  • First Online:
IT Convergence and Security

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 712))

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%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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

    Google Scholar 

  2. 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

    Google Scholar 

  3. Kiczales G, Hilsdale E, Kersten M, Palm J, Griswold GG (2001) An overview of AspectJ. Springer, Heidelberg

    Book  Google Scholar 

  4. Datasets for Java Logging Recommendations (2020) https://github.com/dooinee/mergeLogging. Accessed 20 Feb 2020

  5. 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

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Honguk Woo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics