San Jose State University
J-CAG: JAVA COMMENT ANALYSIS & GENERATION - A SUBLIME TEXT PLUGIN POWERED BY GPT
Abstract
dc:description.abstractDevelopers are notoriously disinterested in writing and maintaining comments for their code. The J-CAG plugin automates code analysis and comment generation to save developer time and improve code quality. The project utilizes the Generative Pretrained Transformer model to analyze and provide users with constructive feedback on JavaDoc comments and functions. Embedded within Sublime Text, J-CAG is designed to provide developers with useful advice. It can also generate JavaDoc comments based on the function itself, reducing the time developers spend on writing documentation. The plugin integrates seamlessly with Sublime Text, offering an intuitive interface. With positive results in comment analysis and near-perfect accuracy in comment generation, our analysis demonstrates J-CAG’s effectiveness and potential for widespread application, despite its limitations in handling function creation due to insufficient context in function logic.
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Computer Science (MSCS)
- Discipline thesis:degree_discipline
- Computer Science
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Le, Linh
- Contributors dc:contributor
-
- Thomas Austin
- Fabio Di Troia
- Faranak Abri