@article{oai:ipsj.ixsq.nii.ac.jp:02006757, author = {岡井,光輝 and 嶋利,一真 and 石尾,隆 and 松本,健一 and Koki Okai and Kazumasa Shimari and Takashi Ishio and Kenichi Matsumoto}, issue = {1}, journal = {情報処理学会論文誌}, month = {Jan}, note = {プログラム理解において,変数名は保守性に大きく影響するため,一般的には複数文字の名前が推奨される.一方で,一文字変数もJavaソースコードの約9%を占めるなど無視できない存在である.変数名の利用や命名において型やスコープを考慮することの重要性が示されているが,一文字変数については狭いスコープで使うという推奨にとどまっており,型やスコープごとに異なるであろう利用実態は調査されていない.本論文では,Javaソースコードにおける一文字変数の利用実態を,型とスコープ,そして使用されるアルファベットに着目して定量的に分析する.分析の結果,一文字変数の使用割合,使用されるアルファベット,そしてスコープの広さが,いずれも変数の型によって異なることを明らかにした.これらの結果は,一文字変数の利用においては型に基づいたアルファベット選択の慣習ならびにスコープの文脈を考慮する必要性を示している., 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.}, pages = {82--91}, title = {Javaにおける一文字変数の型とスコープに着目した利用実態調査}, volume = {67}, year = {2026} }