Tweet | |
Y. Sasaki, Y. Higo, and S. Kusumoto, "Reordering Program Statements for Improving Readability," In proceedings of the 17th European Conference on Software Maintenance and Reengineering (CSMR2013), pp. 361-364, March 2013. | |
ID | 271 |
分類 | 国際会議 |
タグ | source code readability source code analysis software tool arranging program statements |
表題 (title) |
Reordering Program Statements for Improving Readability |
表題 (英文) |
|
著者名 (author) |
Yui Sasaki,Yoshiki Higo,Shinji Kusumoto |
英文著者名 (author) |
Yui Sasaki,Yoshiki Higo,Shinji Kusumoto |
編者名 (editor) |
|
編者名 (英文) |
|
キー (key) |
Yui Sasaki,Yoshiki Higo,Shinji Kusumoto |
書籍・会議録表題 (booktitle) |
proceedings of the 17th European Conference on Software Maintenance and Reengineering (CSMR2013) |
書籍・会議録表題(英文) |
|
巻数 (volume) |
|
号数 (number) |
|
ページ範囲 (pages) |
361-364 |
組織名 (organization) |
|
出版元 (publisher) |
|
出版元 (英文) |
|
出版社住所 (address) |
|
刊行月 (month) |
3 |
出版年 (year) |
2013 |
採択率 (acceptance) |
|
URL |
|
付加情報 (note) |
|
注釈 (annote) |
|
内容梗概 (abstract) |
In order to understand source code, humans sometimes execute the program in their mind. When they illustrate the program execution in their mind, it is necessary to memorize what values all the variables are along with the execution. If there are many variables in the program, it is hard to their memorization. However, it is possible to ease to memorize them by shortening the distance between the definition of a variable and its reference if they are separated in the source code. This paper proposes a technique reordering statements in a module by considering how far the definition of a variable is from its references. We applied the proposed technique to a Java OSS and collected human evaluations for the reordered methods. As a result, we could confirm that the reordered methods had better readability than their originals. Moreover, we obtained some knowledge of human consideration about the order of statements. |
論文電子ファイル | CSMR2013s-yui.pdf (application/pdf) [一般閲覧可] |
BiBTeXエントリ |
@inproceedings{id271, title = {Reordering Program Statements for Improving Readability}, author = {Yui Sasaki and Yoshiki Higo and Shinji Kusumoto}, booktitle = {proceedings of the 17th European Conference on Software Maintenance and Reengineering (CSMR2013)}, pages = {361-364}, month = {3}, year = {2013}, } |