The Effect of Supporting AbbreviationResolution inCode Visualization Tools on CodeComprehension
2023 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
Code comprehension is crucial for software development, as it ensures that code is easy to read andunderstand.Identifiers, such as variable-, function-, and methodnames playa significant role in code comprehension, and it isimportantthat they are written using meaningful names so thateveryone understands their usage. However, sometimes theycontainabbreviations that can have significantly differentexplanationsdepending on the context they are written in, which couldnegatively impact comprehension if the context is notfully known.Large code bases can be hard to navigate but with thehelp ofCode Visualization Tool (CVT) they can provide anoverviewthat helpfully displays the program’s flow and call graphs.Tohelp with abbreviations in large code bases this studywasconducted to investigate the use of Abbreviation Resolver(AR)techniques integrated into a CVT called Doxygen to seethe effecton identifier comprehension. A survey was performed ontwoopen-source projects with questions about thecomprehensionof different methods using their identifiers with bothresolvedidentifiers and abbreviated identifiers. The survey utilizedAR toanalyze participant ́s understanding of abbreviations todetermine it ́s usefulness. The findings suggest that the use ofa CVTwith an integrated AR helps in understanding uncommonanddomain-knowledge abbreviations which contribute toimprovedcode comprehension.
Place, publisher, year, edition, pages
2023.
Keywords [en]
Code comprehension, Abbreviation resolving techniques, Code visualization tools, Doxygen, Identifier comprehension
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:miun:diva-48996OAI: oai:DiVA.org:miun-48996DiVA, id: diva2:1786370
Subject / course
Computer Engineering DT1
Educational program
Software Engineering TPVAG 120/180 higher education credits
Supervisors
Examiners
2023-08-082023-08-082025-09-25Bibliographically approved