Sadece kaynak kod kullanarak otomatik yorum oluşturma
Citation
Yıldız, E. & Ekin, E. (2017). Automatic comment generation using only source code. Paper presented at the 2017 25th Signal Processing and Communications Applications Conference (SIU), 1-4. doi:10.1109/SIU.2017.7960702Abstract
Bu çalışmada, kaynak kodlara metot seviyesinde
yorum ekleme işinin otomatikleştirilmesi anlatılmaktadır. Kodların, Java programlama dilinin sözdizim kurallarına uygun olması yeterli olup, çalışabilir durumda olması beklenmemektedir. Yorum üretmek için kaynak kod biçimsel açıdan incelenir. Bu aşamada ilgili metodun sadece imzasına ve geri döndürdüğü veri tipine ihtiyaç duyulur. Açık kaynak kodlu Java projeleri üzerinde yapılan çalışmayla farklı metot türleri için farklı şablonlar geliştirilmiştir. Yazılımcının geliştirdiği kodun incelenmesi sonucu derlenen bilgi ile bu şablonlardan en uygun olanı seçilir ve metinler oluşturulur. Bu metinler metodun amacını açıklar. Oluşturulan metinler yorum olarak kaynak koda eklenmektedir. In this study, automatic comment generation for Java methods is described. It is sufficient that the codes conform to the syntax rules of the Java programming language, and it is not expected to be runnable. In order to generate comments, source code is examined syntactically. At this stage, only the method signature and its return type is needed. By working on open source Java projects, different templates have been developed for different method types. Using the compiled information which is the result of the examining source code that is currently being developed, the most suitable template is chosen and texts arc created. These texts explain the aim of the method. Created texts are added to source code as a comment.
Source
2017 25th Signal Processing and Communications Applications Conference (SIU)Related items
Showing items related by title, author, creator and subject.
-
Creating important statement type comments in autocomment: Automatic comment generation framework
Yıldız, Eren; Ekin, Emine (IEEE, 2018-12-06)This study explains important statement comments generated by Autocomment, which is an automatic comment generation framework described in [1]. To create the comments, the source code is not expected to be runnable, but ... -
Benefiting innovative capabilities of software developer/user communities in developing countries
Ansal, Hacer; Yıldırım, Nihan (IEEE, 2010)Since technological innovation is generally considered to be a major force in global economic growth, the development of innovative capabilities in developing countries has been a very important policy issue. Free/Libre ... -
Automatic comment generation using the source code
Yıldız, Eren (Işık Üniversitesi, 2018-01-23)In this study, automatic comment generation for Java methods is described. It is sufficient that the codes conform to the syntax rules of the Java programming language, and it is not expected to be runnable. In order to ...