Item type |
Trans(1) |
公開日 |
2020-06-17 |
タイトル |
|
|
タイトル |
ソースコードにおけるコメント位置推定のための抽象構文木に基づいた特徴量に関する検討 |
タイトル |
|
|
言語 |
en |
|
タイトル |
An Estimatimation for Comment Position in Source Codes by Features with Abstract Syntax Tree |
言語 |
|
|
言語 |
jpn |
キーワード |
|
|
主題Scheme |
Other |
|
主題 |
[発表概要, Unrefereed Presentatin Abstract] |
資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_6501 |
|
資源タイプ |
journal article |
著者所属 |
|
|
|
琉球大学理工学研究科 |
著者所属 |
|
|
|
琉球大学理工学研究科 |
著者所属 |
|
|
|
琉球大学理工学研究科 |
著者所属 |
|
|
|
琉球大学理工学研究科 |
著者所属 |
|
|
|
琉球大学理工学研究科 |
著者所属(英) |
|
|
|
en |
|
|
University of the Ryukyus |
著者所属(英) |
|
|
|
en |
|
|
University of the Ryukyus |
著者所属(英) |
|
|
|
en |
|
|
University of the Ryukyus |
著者所属(英) |
|
|
|
en |
|
|
University of the Ryukyus |
著者所属(英) |
|
|
|
en |
|
|
University of the Ryukyus |
著者名 |
嘉陽, 桃子
當間, 愛晃
赤嶺, 有平
山田, 孝治
遠藤, 聡志
|
著者名(英) |
Momoko, Kayo
Naruaki, Toma
Yuhei, Akamine
Koji, Yamada
Satoshi, Endo
|
論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
GitHubなどオープンソースソフトウェアホスティングサービスの普及にともない,ソースコードは読まれることを想定する必要性が強まった.ソースコードの理解を助ける手段として,ドキュメントの整備や可読性の高いソースコードの作成,コメントの付与などがあるが,本研究ではとくに,記述箇所や自然言語の中に製作者の意図が反映されているコメントに焦点を当てた.コメントは,複雑なソースコードに対する解説や,ソースコードの表面上からは読み取れないような補足として使われる.本研究では,前者を目的としてソースコードの複雑さの特性を分析し,コメントに適した部分を特定を目指す.複雑さの指標として,抽象構文木を採用する.本研究では,コメントが付けられた位置を複雑な処理と仮定し,複雑さの定量化を目的とした分析を行う.構文木の構造に複雑さが表れていると予測し,ソースコード全体の抽象構文木から特徴を抽出した.GitHubよりTensorflowのリポジトリに含まれるPythonファイルを学習データとして取得し,ナイーブベイズを用いた分類実験での評価を行った.結果より,構文木を用いた複雑さは構文木の深さの影響が強い傾向にある可能性が示唆された. |
論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Since open source software hosting services are widely used, the source code needs to be easily understood. To assist in understanding source code, there are documentation, creation of highly readable source code, comments and more. This paper focuses on comments that reflect the creator' s intentions in the description and natural language. Comments are used as explanations and supplements for complex source code. For the purpose of explanation, we will analyze the complexity of the source code and aim to identify parts suitable for comments. We selected abstract syntax tree to extract the complexity from the source codes. Assuming that the commented part is a complex process, an analysis is performed to quantify the complexity. For the experiments, we collected Python files included in the Tensorflow repository, and then Naive-Bayes classifier was applied to the data set. Evaluate by classification experiment using Naive-Bayes. The results suggest that complexity affects the depth of the parse tree. |
書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AA11464814 |
書誌情報 |
情報処理学会論文誌プログラミング(PRO)
巻 13,
号 3,
p. 19-19,
発行日 2020-06-17
|
ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
1882-7802 |
出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |