paper-with-me

Papers

Verifiable Source Code Documentation in Controlled Natural Language

2013-11-12 · Tobias Kuhn, Alexandre Bergel

Writing documentation about software internals is rarely considered a rewarding activity. It is highly time-consuming and the resulting documentation is fragile when the software is continuously evolving in a multi-developer setting. Unfortunately, traditional programming environments poorly support the writing and maintenance of documentation. Consequences are severe as the lack of documentation on software structure negatively impacts the overall quality of the software product. We show that using a controlled natural language with a reasoner and a query engine is a viable technique for verifying the consistency and accuracy of documentation and source code. Using ACE, a state-of-the-art controlled natural language, we present positive results on the comprehensibility and the general feasibility of creating and verifying documentation. As a case study, we used automatic documentation verification to identify and fix severe flaws in the architecture of a non-trivial piece of software. Moreover, a user experiment shows that our language is faster and easier to learn and understand than other formal languages for software documentation.

📄 PDF Abstract BibTeX arXiv:1311.2702

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A parallel corpus of Python functions and documentation strings for automated code documentation and code generation

2017-07-07 · IJCNLP 2017 11 · Antonio Valerio Miceli Barone, Rico Sennrich

Automated documentation of programming source code and automated code generation from natural language are challenging tasks of both practical and scientific interest. Progress in these areas has been limited by the low …

Code GenerationData AugmentationMachine TranslationTranslation

Verifiable Checks for Business Rule Consistency

2026-08-01 · Joseph Tafese, Milad Hooshyar, Sam Bayless, Nick Feng 외 arxiv

Maintaining consistency between natural language documentation of business rules and their evolving internal implementations is a significant challenge in large-scale systems. We present SIRNA, a tool and framework for c…

DocCGen: Document-based Controlled Code Generation

2024-06-17 · Sameer Pimparkhede, Mehant Kammakomati, Srikanth Tamilselvam, Prince Kumar 외

Recent developments show that Large Language Models (LLMs) produce state-of-the-art performance on natural language (NL) to code generation for resource-rich general-purpose languages like C++, Java, and Python. However,…

Code GenerationIn-Context Learning

Specification-Based Code-Text-Code Reengineering for LLM-Mediated Software Evolution

2026-05-24 · Oleg Grynets, Vasyl Lyashkevych, Arsen Dolichnyi, Roman Piznak 외 arxiv

Direct Code2Code transformation remains challenging to control because it can preserve surface-level syntax while introducing semantic drift, hidden behavioral changes, loss of traceability, non-idiomatic target implemen…

Graph Similarity

Can Developers Prompt? A Controlled Experiment for Code Documentation Generation

2024-08-01

Large language models (LLMs) bear great potential for automating tedious development tasks such as creating and maintaining code documentation. However, it is unclear to what extent developers can effectively prompt LLMs…