ログイン 新規登録
言語:

WEKO3

  • トップ
  • ランキング
To
lat lon distance
To

Field does not validate



インデックスリンク

インデックスツリー

メールアドレスを入力してください。

WEKO

One fine body…

WEKO

One fine body…

アイテム

  1. 論文誌(ジャーナル)
  2. Vol.67
  3. No.1

Javaにおける一文字変数の型とスコープに着目した利用実態調査

https://doi.org/10.20729/0002006757
https://doi.org/10.20729/0002006757
a42e081e-cd25-4f16-87a7-ae56a56b2d58
名前 / ファイル ライセンス アクション
IPSJ-JNL6701011.pdf IPSJ-JNL6701011.pdf (1.5 MB)
 2028年1月15日からダウンロード可能です。
Copyright (c) 2026 by the Information Processing Society of Japan
非会員:¥660, IPSJ:学会員:¥330, 論文誌:会員:¥0, DLIB:会員:¥0
Item type Journal(1)
公開日 2026-01-15
タイトル
言語 ja
タイトル Javaにおける一文字変数の型とスコープに着目した利用実態調査
タイトル
言語 en
タイトル An Empirical Study on the Usage of Single-letter Variables in Java: Focusing on Types and Scopes
言語
言語 jpn
キーワード
主題Scheme Other
主題 [一般論文] 一文字変数,命名規則,ソフトウェア保守,プログラム理解
資源タイプ
資源タイプ識別子 http://purl.org/coar/resource_type/c_6501
資源タイプ journal article
ID登録
ID登録 10.20729/0002006757
ID登録タイプ JaLC
著者所属
奈良先端科学技術大学院大学
著者所属
奈良先端科学技術大学院大学
著者所属
公立はこだて未来大学
著者所属
奈良先端科学技術大学院大学
著者所属(英)
en
Nara Institute of Science and Technology
著者所属(英)
en
Nara Institute of Science and Technology
著者所属(英)
en
Future University Hakodate
著者所属(英)
en
Nara Institute of Science and Technology
著者名 岡井,光輝

× 岡井,光輝

岡井,光輝

Search repository
嶋利,一真

× 嶋利,一真

嶋利,一真

Search repository
石尾,隆

× 石尾,隆

石尾,隆

Search repository
松本,健一

× 松本,健一

松本,健一

Search repository
著者名(英) Koki Okai

× Koki Okai

en Koki Okai

Search repository
Kazumasa Shimari

× Kazumasa Shimari

en Kazumasa Shimari

Search repository
Takashi Ishio

× Takashi Ishio

en Takashi Ishio

Search repository
Kenichi Matsumoto

× Kenichi Matsumoto

en Kenichi Matsumoto

Search repository
論文抄録
内容記述タイプ Other
内容記述 プログラム理解において,変数名は保守性に大きく影響するため,一般的には複数文字の名前が推奨される.一方で,一文字変数もJavaソースコードの約9%を占めるなど無視できない存在である.変数名の利用や命名において型やスコープを考慮することの重要性が示されているが,一文字変数については狭いスコープで使うという推奨にとどまっており,型やスコープごとに異なるであろう利用実態は調査されていない.本論文では,Javaソースコードにおける一文字変数の利用実態を,型とスコープ,そして使用されるアルファベットに着目して定量的に分析する.分析の結果,一文字変数の使用割合,使用されるアルファベット,そしてスコープの広さが,いずれも変数の型によって異なることを明らかにした.これらの結果は,一文字変数の利用においては型に基づいたアルファベット選択の慣習ならびにスコープの文脈を考慮する必要性を示している.
論文抄録(英)
内容記述タイプ Other
内容記述 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.
書誌レコードID
収録物識別子タイプ NCID
収録物識別子 AN00116647
書誌情報 情報処理学会論文誌

巻 67, 号 1, p. 82-91, 発行日 2026-01-15
ISSN
収録物識別子タイプ ISSN
収録物識別子 1882-7764
公開者
言語 ja
出版者 情報処理学会
戻る
0
views
See details
Views

Versions

Ver.1 2026-01-09 02:19:14.786225
Show All versions

Share

Mendeley Twitter Facebook Print Addthis

Cite as

エクスポート

OAI-PMH
  • OAI-PMH JPCOAR
  • OAI-PMH DublinCore
  • OAI-PMH DDI
Other Formats
  • JSON
  • BIBTEX

Confirm


Powered by WEKO3


Powered by WEKO3