• Türkçe
    • English
  • English 
    • Türkçe
    • English
  • Login
View Item 
  •   DSpace@Işık
  • 2- Lisansüstü Eğitim Enstitüsü | Institutes
  • Fen Bilimleri Enstitüsü / Graduate School for Science and Engineering
  • Yüksek Lisans / Master's Programs
  • FBE - Tez Koleksiyonu | Bilgisayar Mühendisliği / Computer Engineering
  • View Item
  •   DSpace@Işık
  • 2- Lisansüstü Eğitim Enstitüsü | Institutes
  • Fen Bilimleri Enstitüsü / Graduate School for Science and Engineering
  • Yüksek Lisans / Master's Programs
  • FBE - Tez Koleksiyonu | Bilgisayar Mühendisliği / Computer Engineering
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Automatic comment generation using the source code

Thumbnail

View/Open

MasterThesis (2.631Mb)

Date

2018-01-23

Author

Yıldız, Eren

Metadata

Show full item record

Citation

Yıldız, E. (2018). Automatic comment generation using the source code. İstanbul: Işık Üniversitesi Fen Bilimleri Enstitüsü.

Abstract

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 diffirerent 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 are created. These texts explain the aim of the method. Created texts are added to source code as a comment.
 
Bu çalışmada, kaynak kodlara metot seviyesinde yorum ekleme işinin otomatikleştirilmesi anlatılmaktadır. Kodların, Java programlama dilinin sözdizim kurallar ona 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. Ancak kaynak kodlu Java projeleri üzerinde yapılan çalışmayla farklı metot türleri için farklı şablonlar geliştirilmiştir. Yazılımcı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.
 

URI

https://hdl.handle.net/11729/1379

Collections

  • FBE - Tez Koleksiyonu | Bilgisayar Mühendisliği / Computer Engineering [73]



DSpace software copyright © 2002-2015  DuraSpace
Contact Us | Send Feedback
Theme by 
@mire NV
 

 




| Policy | Guide | Contact |

DSpace@Işık

by OpenAIRE
Advanced Search

sherpa/romeo

Browse

All of DSpaceCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsTypeLanguageDepartmentCategoryPublisherAccess TypeIşık AuthorCitationThis CollectionBy Issue DateAuthorsTitlesSubjectsTypeLanguageDepartmentCategoryPublisherAccess TypeIşık AuthorCitation

My Account

LoginRegister

Statistics

View Google Analytics Statistics

DSpace software copyright © 2002-2015  DuraSpace
Contact Us | Send Feedback
Theme by 
@mire NV
 

 


|| Policy || Guide || Library || Işık University || OAI-PMH ||

Işık University Library, Şile, İstanbul, Turkey
If you find any errors in content please report us

Creative Commons License
Işık University Institutional Repository is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 4.0 Unported License..

DSpace@Işık:


DSpace 6.2

tarafından İdeal DSpace hizmetleri çerçevesinde özelleştirilerek kurulmuştur.