Thesis Details

Vliv kopírování kódu na kvalitu softwarového projektu

Bachelor's Thesis Student: Chovanec Zdeněk Academic Year: 2018/2019 Supervisor: Křivka Zbyněk, Ing., Ph.D.
English title
Influence of Code Copying on the Quality of a Software Project

This work delves into the field of code clone detection, focusing on Python programming language. We are interested in finding Stack Overflow snippets in real projects. The main goal of this work is to evaluate the influence of copy-and-paste programming on the overall quality of a software project.  The NiCad clone detector is used to detect similar code fragments.  Additionally, modification of this tool is presented in order to improve the detection process. Code quality is assessed by the volume of duplicate code and by the number of reported issues.  The impact is evaluated on a sample of open-source projects hosted on GitHub. We perform a series of statistical hypothesis tests and conclude that there is a~correlation between source code quality and the presence of Stack Overflow snippet in the code base.


code quality, duplicate code, code clone detection, code snippet, Stack Overflow, Python 3, NiCad, TXL, source code transformation

Degree Programme
Information Technology
defended, grade A
11 June 2019
Kolář Dušan, doc. Dr. Ing. (DIFS FIT BUT), předseda
Bařina David, Ing., Ph.D. (DCGM FIT BUT), člen
Hrubý Martin, Ing., Ph.D. (DITS FIT BUT), člen
Kořenek Jan, doc. Ing., Ph.D. (DCSY FIT BUT), člen
Zendulka Jaroslav, doc. Ing., CSc. (DIFS FIT BUT), člen
CHOVANEC, Zdeněk. Vliv kopírování kódu na kvalitu softwarového projektu. Brno, 2019. Bachelor's Thesis. Brno University of Technology, Faculty of Information Technology. 2019-06-11. Supervised by Křivka Zbyněk. Available from:
    author = "Zden\v{e}k Chovanec",
    type = "Bachelor's thesis",
    title = "Vliv kop\'{i}rov\'{a}n\'{i} k\'{o}du na kvalitu softwarov\'{e}ho projektu",
    school = "Brno University of Technology, Faculty of Information Technology",
    year = 2019,
    location = "Brno, CZ",
    language = "czech",
    url = ""
Back to top