Javaにおける一文字変数の型とスコープに着目した利用実態調査
Summary
No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.
Summarise with VIRAT Free to try with your Science Catalogs account.Abstract
In program comprehension, variable names significantly impact maintainability, thus multi-letter names are generally recommended.However, single-letter variables are a non-negligible presence, constituting about 9% of Java source code.The importance of considering type and scope when using and naming variables has been shown, but recommendations for single-character variables are limited to using them in a narrow scope, and actual usages that are likely to vary depending on type and scope have not been investigated.This paper quantitatively analyzes the actual usage of single-letter variables in Java source code, focusing on type, scope, and the alphabet used.Our analysis revealed that the usage ratio, the chosen alphabet, and the scope of single-letter variables all vary depending on the variable type.These results demonstrate the necessity of considering type-based alphabet conventions and scope context when using single-letter variables.
Fields of Study & Subjects
Software Engineering Research
Logic
programming
and type systems
Software Engineering Techniques and Practices
Publication details
- Journal / source
- Institutional Repositories DataBase (IRDB)
- Volume
- 67
- Issue
- 1
- Pages
- 82–91
- Publication date
- 15 January 2026
- Language
- JA