Tweet | |
K. Shimonaka, Y. Higo, J. Matsumoto, K. Naito, and S. Kusumoto, "Towards Automated Generation of Java Methods: a Way of Automated Reuse-Based Programming," In Proc. of the 12th IEEE International Workshop on Software Clones, pp. 30-36, March 2018. | |
ID | 536 |
分類 | 国際会議 |
タグ | automated generation java methods programming reuse-based towards way |
表題 (title) |
Towards Automated Generation of Java Methods: a Way of Automated Reuse-Based Programming |
表題 (英文) |
|
著者名 (author) |
Kento Shimonaka,Yoshiki Higo,Junnosuke Matsumoto,Keigo Naito,Shinji Kusumoto |
英文著者名 (author) |
Kento Shimonaka,Yoshiki Higo,,,Shinji Kusumoto |
編者名 (editor) |
|
編者名 (英文) |
|
キー (key) |
Kento Shimonaka,Yoshiki Higo,,,Shinji Kusumoto |
書籍・会議録表題 (booktitle) |
Proc. of the 12th IEEE International Workshop on Software Clones |
書籍・会議録表題(英文) |
|
巻数 (volume) |
|
号数 (number) |
|
ページ範囲 (pages) |
30-36 |
組織名 (organization) |
|
出版元 (publisher) |
|
出版元 (英文) |
|
出版社住所 (address) |
|
刊行月 (month) |
3 |
出版年 (year) |
2018 |
採択率 (acceptance) |
|
URL |
|
付加情報 (note) |
|
注釈 (annote) |
|
内容梗概 (abstract) |
Automatic programming has been researched for
a long time. A variety of methodologies have been proposed. However, they have limited applicability, or they can generate only a few lines of code. In this research, the authors are trying to generate source code of Java methods based on their specifications. In this paper, we propose a reuse-based code generation technique with method signature and test cases. First, our technique searches existing Java methods whose signature are the same as the one input by a user. Then, our technique reworks each of them by using test cases input by the user. Methods passing all the test cases are given to the user. At this moment, the authors have implemented a naive prototype and conducted experiments with four open source software. In total, our technique succeeded to generate 18 Java methods. In this paper, we also introduce some actual examples of generated Java methods and some ideas to enhance our technique. |
論文電子ファイル | sanerws18iwscmain-id4-p.pdf (application/pdf) [一般閲覧可] |
BiBTeXエントリ |
@inproceedings{id536, title = {Towards Automated Generation of Java Methods: A Way of Automated Reuse-Based Programming}, author = {Kento Shimonaka and Yoshiki Higo and Junnosuke Matsumoto and Keigo Naito and Shinji Kusumoto}, booktitle = {Proc. of the 12th IEEE International Workshop on Software Clones}, pages = {30-36}, month = {3}, year = {2018}, } |