Závěrečná práce: Jakub Schwan: Implement detection of duplicate test coverage for Java applications
Bakalářská práce
Implement detection of duplicate test coverage for Java applications
Anotace
Cílem této práce bylo analyzovat a implementovat detekci duplicitního pokrytí testů jako součást open source nástroje pro získání pokrytí testovaných kódů a odpovídajícím způsobem reprezentovat výsledky nalezených duplicit. Výsledek této práce by měl pomáhat vývojářům a testrům optimalizovat jejich testy.
Abstract
The thesis aims to analyze and implement detection of duplicate tests coverage as part of the open sourcing tool for tests code coverage and to represent the results of founded duplications appropriately. The result of this work should help developers and testers to optimize their test runs.
Zadání práce
With increasing number of tests, their execution time increases as well. Currently, various tools provide metrics of test code coverage. These metrics, however, do not help identify duplicate test coverage, that leads only to an unnecessary increase of test execution time without any benefit to effective code coverage. Information about duplicate coverage and execution time of duplicate tests would be a valuable help for subsequent refactoring of test code base.
The objective of this thesis is to design and implement an enhancement of a well-known open-source code coverage tool for Java that will identify duplicate tests.
- Explore existing open-source code coverage tools for Java and choose one for implementation of the enhancement
- Explore a data file format the chosen code coverage tool uses for keeping code coverage data
- Extend the data file format to include data about
- Caller (test invoking the piece of code*)
- Enhance the code coverage tool to store information described in point 3
- Enhance the tool’s reporting capabilities to present information about
- Duplicate code coverage
- Time spent in running tests
- Let be the piece of code either line, branch, method, class,… of the system under test.
4. 2. 2019 08:02, Mgr. Marek Grác, Ph.D., učo 50728
- Zadáno/změněno 8. 2. 2019 17:14, Helena Kryštofová
- Záznam založen 14. 11. 2018 10:05, Jana Zemanová, učo 9619
- Zveřejnit od 17. 12. 2018 09:35, Alena Dvořáková
- Práce převzata 17. 12. 2018 09:35, Alena Dvořáková
- Pořadí pokusu: 2
Přílohy
jacoco.zip
jakub_schwan_-_hodnoceni_BP.pdf
Konzultant
Red Hat Czech, s.r.o.
Práce na příbuzné téma
Seznam prací, které mají shodná klíčová slova.
-
Implement detection of duplicate test coverage for Java applications
Jakub Schwan -
Java bytecode disassembler
Mgr. Jozef Ceľuch, učo 359339 -
Methods for software failure-data collection and prediction
RNDr. Stanislav Chren, Ph.D., učo 255471 -
In-memory compilation of freshly decompiled classes back into a running VM
Mgr. Marián Konček, učo 445248 -
Nástroj pre opravovanie úloh z Javy
Mgr. Ľuboš Kohút, učo 172607 -
Optimalizace bajtkódu Javy s ohledem na jeho velikost
Bc. Matej Vašek -
DbUnit support for NetBeans IDE
Mgr. Pavol Pitoňák, učo 207718 -
Experimental Evaluation of Risk-Averse Planners
Bc. Martin Bendel




