12 papers · ranked by Valyu relevance
Marvin Muñoz Barón, Marvin Wyrich, Stefan Wagner
Background: Developers spend a lot of their time on understanding source code. Static code analysis tools can draw attention to code that is difficult for developers to understand. However, most of the findings are based on non-validated metrics, which can lead to confusion and code, that is hard to understand, not…
Renyu Zhu, Lei Yuan, Xiang Li, Ming Gao + 1 more
Program understanding is a fundamental task in program language processing. Despite the success, existing works fail to take human behaviors as reference in understanding programs. In this paper, we consider human behaviors and propose the PGNN-EK model that consists of two main components. On the one hand, inspired by…
William Macke, Michael W. Doyle
Understanding Authors: ['William Macke' 'Michael W. Doyle'] Large Language Models (LLMs) have demonstrated impressive abilities in recent years with regards to code generation and understanding. However, little work has investigated how documentation and other code properties affect an LLM's ability to understand and…
Marvin Wyrich
Be it in debugging, testing, code review or, more recently, pair programming with AI assistance: in all these activities, software engineers need to understand source code. Accordingly, plenty of research is taking place in the field to find out, for example, what makes code easy to understand and which tools can best…
Valentina Lenarduzzi, Terhi Kilamo, Andrea Janes
Objective. The goal of this work is to investigate if the McCabe Cyclomatic Complexity or the Cognitive Complexity can be a good predictor for the developers' perceived code understandability to understand which of the two complexities can be used as criteria to evaluate if a piece of code is understandable.
Delano Oliveira
Developers spend 70% of their time understanding code. Code that is easy to read can save time, while hard-to-read code can lead to the introduction of bugs. However, it is difficult to establish what makes code more understandable. Although there are guides and directives on improving code understandability, in some…
Marvin Wyrich, Justus Bogner, Stefan Wagner
The relevance of code comprehension in a developer's daily work was recognized more than 40 years ago. Consequently, many experiments were conducted to find out how developers could be supported during code comprehension and which code characteristics contribute to better comprehension. Today, such studies are more…
Delano Oliveira, Reydne Santos, Benedito de Oliveira, Martin Monperrus + 2 more
'Martin Monperrus' 'Fernando Castor' 'Fernanda Madeiral'] Abstract—Context: Code understandability plays a crucial role in software development, as developers spend between 58% and 70% of their time reading source code. Improving code understandability can lead to enhanced productivity and save maintenance costs.…
Juho Leinonen, Paul Denny, Stephen MacNeil, Sami Sarsa + 4 more
'Seth Bernstein' 'Joanne Kim' 'Andrew Tran' 'Arto Hellas'] Reasoning about code and explaining its purpose are fundamental skills for computer scientists. There has been extensive research in the field of computing education on the relationship between a student's ability to explain code and other skills such as…
Bin Lin, Gregório Robles
—Context: Developers spend most of their time comprehending source code during software development. Automatically assessing how readable and understandable source code is can provide various benefits in different tasks, such as task triaging and code reviews. While several studies have proposed approaches to predict…
Shashank Srikant, Anna Ivanova, Yotaro Sueoka, Hope Kean + 4 more
'Riva Dhamala' 'Evelina Fedorenko' 'Marina Umaschi Bers' 'Una-May O’Reilly'] This manuscript is a rewrite of Ivanova, A.A., Srikant, S., Sueoka, Y., Kean, H.H., Dhamala, R., O'Reilly, U.M., Bers, M.U. and Fedorenko, E., 2020. Comprehension of computer code relies primarily on domain-general executive brain regions.…
David Noever, Kevin Williams
The research applies AI-driven code assistants to analyze a selection of influential computer code that has shaped modern technology, including email, internet browsing, robotics, and malicious software. The original contribution of this study was to examine half of the most significant code advances in the last 50…