On the Structure and Semantics of Identifier Names Containing Closed Syntactic Category Words
Fuente:
arXiv
Guardado en:
| Autores principales: | , , , , , , , , , , |
|---|---|
| Formato: | Preprint |
| Publicado: |
2025
|
| Materias: | |
| Acceso en línea: | |
| Etiquetas: |
Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
|
| _version_ | 1866915407248490496 |
|---|---|
| author | Newman, Christian D. Peruma, Anthony AlOmar, Eman Abdullah Crabbe, Mahie Banabilah, Syreen AlSuhaibani, Reem S. Decker, Michael J. Akhbardeh, Farhad Zampieri, Marcos Mkaouer, Mohamed Wiem Maletic, Jonathan I. |
| author_facet | Newman, Christian D. Peruma, Anthony AlOmar, Eman Abdullah Crabbe, Mahie Banabilah, Syreen AlSuhaibani, Reem S. Decker, Michael J. Akhbardeh, Farhad Zampieri, Marcos Mkaouer, Mohamed Wiem Maletic, Jonathan I. |
| contents | 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. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2505_18444 |
| institution | arXiv |
| publishDate | 2025 |
| record_format | arxiv |
| spellingShingle | On the Structure and Semantics of Identifier Names Containing Closed Syntactic Category Words Newman, Christian D. Peruma, Anthony AlOmar, Eman Abdullah Crabbe, Mahie Banabilah, Syreen AlSuhaibani, Reem S. Decker, Michael J. Akhbardeh, Farhad Zampieri, Marcos Mkaouer, Mohamed Wiem Maletic, Jonathan I. Software Engineering 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. |
| title | On the Structure and Semantics of Identifier Names Containing Closed Syntactic Category Words |
| topic | Software Engineering |
| url | https://arxiv.org/abs/2505.18444 |