Original title:
Nástroj pro hodnocení úhlednosti zdrojových souborů
Translated title:
The Tool for Assessing the Neatness of Source Code
Authors:
Kinšt, Ondřej ; Smrčka, Aleš (referee) ; Veigend, Petr (advisor) Document type: Bachelor's theses
Year:
2021
Language:
eng Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[eng][cze]
Hlavním cílem této práce je seznámit čtenáře s teorií stylu kódování, formáterů a linterů a s implementací nástroje, který hodnotí úhlednost zdrojových kódů napsaných v jazyce C. Práce popisuje proces implementace tohoto nástroje s využitím dostupných řešení jako ANTLR popis jeho návrhu. Výsledkem práce je vytvořený nástroj, který objektivně hodnotí úhlednost zdrojových kódů a navíc nabízí seznam problémů s popisky pro uživatele.
The aim of this thesis is to introduce the reader to the theory of code style, formatters and linters and the implementation of a tool which assesses the the neatness of code written in the C programming language. It describes the process of implementing such tool, using available solutions like ANTLR, and the design decisions behind it. In the end, a tool has been created which objectively assesses neatness of source as well as provides a list of issues with descriptions for the user.
Keywords:
ANTLR; jazyk C; lexikální analyzátor; Standardy kódování; Styl kódování; syntaktický analyzátor; ANTLR; C language; Coding Standards; Coding Style; Parser; Scanner
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/201099