On the structure and semantics of identifier names containing closed syntactic category words

Abstract Identifier names are crucial components of code, serving as primary clues for developers to understand program behavior. This paper investigates the linguistic structure of identifier names by extending the concept of grammar patterns, which represent the part-of-speech (PoS) sequences underlying identifier phrases. The specific focus is on closed syntactic categories (e.g., prepositions, conjunctions, determiners), which are rarely studied in software engineering despite their central role in general natural language. To study these categories, the Closed Category Identifier Dataset (CCID), a new manually annotated dataset of 1,275 identifiers drawn from 30 open-source systems, is constructed and presented. The relationship between closed-category grammar patterns and program behavior is then analyzed using grounded-theory-inspired coding, statistical, and pattern analysis. The results reveal recurring structures that developers use to express concepts such as control flow, data transformation, temporal reasoning, and other behavioral roles through naming. This work contributes an empirical foundation for understanding how linguistic resources encode behavior in identifier names and supports new directions for research in naming, program comprehension, and education.

Authors

Institutions

Publication Details

Journal
Empirical Software Engineering
Published
2025-07-24
DOI
https://doi.org/10.1007/s10664-025-10699-x
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On the structure and semantics of identifier names containing closed syntactic category words

Jonathan I. Maletic, Christian D. Newman, Farhad Akhbardeh, Anthony Peruma et al.
Empirical Software Engineering
Natural Language Processing Techniques
article

On the structure and semantics of identifier names containing closed syntactic category words

Jonathan I. Maletic, Christian D. Newman, Farhad Akhbardeh, Anthony Peruma, M. James C. Crabbe, Mohamed Wiem Mkaouer, Reem S. Alsuhaibani, Eman Abdullah AlOmar, Michael J. Decker, Marcos Zampieri, Syreen Banabilah
article en

Abstract

Abstract Identifier names are crucial components of code, serving as primary clues for developers to understand program behavior. This paper investigates the linguistic structure of identifier names by extending the concept of grammar patterns, which represent the part-of-speech (PoS) sequences underlying identifier phrases. The specific focus is on closed syntactic categories (e.g., prepositions, conjunctions, determiners), which are rarely studied in software engineering despite their central role in general natural language. To study these categories, the Closed Category Identifier Dataset (CCID), a new manually annotated dataset of 1,275 identifiers drawn from 30 open-source systems, is constructed and presented. The relationship between closed-category grammar patterns and program behavior is then analyzed using grounded-theory-inspired coding, statistical, and pattern analysis. The results reveal recurring structures that developers use to express concepts such as control flow, data transformation, temporal reasoning, and other behavioral roles through naming. This work contributes an empirical foundation for understanding how linguistic resources encode behavior in identifier names and supports new directions for research in naming, program comprehension, and education.

Empirical Software EngineeringVol. 30(5)
Princess Nourah bint Abdulrahman University (SA), Stevens Institute of Technology (US), University of Hawaiʻi at Mānoa (US), Prince Sultan University (SA), Kent State University (US), Rochester Institute of Technology (US), Bowling Green State University (US), George Mason University (US), University of South Dakota (US), University of Michigan–Dearborn (US)
Openalex Percentile: Top 91%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.