Čistý kód: Návrh míry pro výpočet toxicity kódu a její implementace

Abstract
Diplomová práce se zabývá problematikou čistoty zdrojového kódu. Při vývoji aplikací je důležité psát nejen funkční, ale i čistý a znovupoužitelný kód. První část práce se zaměřuje na pravidla vývoje čistého kódu. Dále se zabývá metrikami pro určení čistoty kódu a nástroji, které jeho psaní usnadní. Druhá část práce představuje aplikaci implementující metriky na zdrojové soubory. Program porovnává naměřené výsledky se vzorovými daty a zjišťuje čistotu jednotlivých tříd. Výhoda zmíněného řešení spočívá v možnosti přizpůsobení se potřebám vývojářů a kontrole pouze těch metrik, jenž jsou pro ně důležité.
The thesis deals with issues of purity of the source code. During the process of developing the applications it is very important to write not only just functional code but also the clean code and the reusable one. The first part concerns of the rules of development of well-arranged code. Furthermore, this part is being concerned of the metrics for determining the purity of code and tools that can make his writing easier. The second part of the thesis presents an application that implements the metrics of a source code. The application compares, as well, the results with the data and tries, simultaneously, to find out the purity of each category. The benefit of this solution consists in the possibility of adapting the needs of developers and, on the other side, to the control of those metrics which ones are most important for them, only.
Description
Subject(s)
Čistý kód, analýza zdrojového kódu, metriky čistoty kódu, cyklomatická složitost, graf toxicity, Clean code, analyze of the source code, metrics of clean code, cyclomatic complexity, chart of toxicity
Citation
ISSN
ISBN