Abstract

This paper delves into the intricacies of code summarization using advanced transformer-based language models. Through empirical studies, we evaluate the efficacy of code summarization by altering function and variable names to explore whether models truly understand code semantics or merely rely on textual cues. We have also introduced adversaries like dead code and commented code across three programming languages (Python, Javascript, and Java) to further scrutinize the model’s understanding. Ultimately, our research aims to offer valuable insights into the inner workings of transformer-based LMs, enhancing their ability to understand code and contributing to more efficient software development practices and maintenance workflows.

Keywords:
Computer science Programming language Python (programming language) JavaScript Automatic summarization Java Source code Scripting language Software engineering Artificial intelligence

Metrics

1
Cited By
0.62
FWCI (Field Weighted Citation Impact)
14
Refs
0.73
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Topic Modeling
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Malware Detection Techniques
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

JOURNAL ARTICLE

Code Summarization

D SteidlB HummelE JuergensS YauJ CollofelloS Wood FifieldH DunsmoreV ShenT TennyX XiaL BaoD LoZ XingA HassanS LiX HuG LiX XiaD LoZ JinS HaiducJ AponteA Marcus

Journal:   International Research Journal of Modernization in Engineering Technology and Science Year: 2023
JOURNAL ARTICLE

Interpretable Code Summarization

Md. Sarwar KamalSonia Farhana NimmyNilanjan Dey

Journal:   IEEE Transactions on Reliability Year: 2024 Vol: 74 (1)Pages: 2280-2289
JOURNAL ARTICLE

Code fragment summarization

Annie T. T. YingMartin P. Robillard

Year: 2013 Pages: 655-658
© 2026 ScienceGate Book Chapters — All rights reserved.