Determination of code coverage, techniques and tools with intention of Java programming language

Thesis title: Zjišťování pokrytí kódu testy, techniky a nástroje se zaměřením na programovací jazyk Java
Author: Jiřičková, Barbora
Thesis type: Bakalářská práce
Supervisor: Pavlíčková, Jarmila
Opponents: Pecinovský, Rudolf
Thesis language: Česky
Abstract:
Tématem práce je zjišťování pokrytí kódu testy, metody měření pokrytí kódu a nástroje pro měření pokrytí kódu se zaměřením na programovací jazyk Java. Cílem práce je vysvětlení základních metod měření pokrytí a otestování a zhodnocení tří nástrojů pro zjišťování pokrytí kódu. Práce je rozdělena do pěti kapitol. Obsahem první kapitoly je úvod do problematiky. Druhá kapitola objasňuje význam testování při vývoji softwaru a obsahuje vysvětlení jednotlivých druhů testování. V třetí kapitole je vysvětleno pokrytí kódu a jednotlivé metody měření pokrytí kódu testy. Čtvrtá kapitola obsahuje přehled dostupných nástrojů pro zjišťování pokrytí kódu a popis tří nástrojů, které byly testovány. Dále obsahuje zhodnocení testovaných nástrojů pomocí vícekriteriálního hodnocení variant. V poslední kapitole jsou uvedeny výsledky hodnocení testovaných nástrojů.
Keywords: testování softwaru; NetBeans Code Coverage Plugin; CodeCover; Cobertura; pokrytí kódu
Thesis title: Determination of code coverage, techniques and tools with intention of Java programming language
Author: Jiřičková, Barbora
Thesis type: Bachelor thesis
Supervisor: Pavlíčková, Jarmila
Opponents: Pecinovský, Rudolf
Thesis language: Česky
Abstract:
The subject of this bachelor thesis is code coverage determination, methods for measurement of code coverage and code coverage tools with the intention of Java programming language. The aim of this thesis is explanation of basic methods for measurement of code coverage and testing and assessment of the three code coverage tools. The thesis is divided into five chapters. Content of the first chapter is introduction to subject of the thesis. The second chapter brings out the importance of testing during software development and contains account of kinds of testing. Explanation of code coverage and particular methods for measurement of code coverage is in the third chapter. The fourth chapter contains view of available code coverage tools and description of three tools, which were tested. Further the fourth chapter contains assessment of tested tools by force of multicriteria evaluation of alternates. In the last chapter results of assessment of tested tools are mentioned.
Keywords: NetBeans Code Coverage Plugin; Cobertura; CodeCover; code coverage; software testing

Information about study

Study programme: Aplikovaná informatika/Informatika
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Information Technologies

Information on submission and defense

Date of assignment: 23. 11. 2009
Date of submission: 1. 5. 2010
Date of defense: 22. 6. 2010
Identifier in the InSIS system: https://insis.vse.cz/zp/23054/podrobnosti

Files for download

    Last update: