{"id":{"repo_id":"vilnius","oai_identifier":"oai:vu.lt:elaba:107116361"},"canonical_url":"https://search.ndltd.org/etd/vilnius/oai:vu.lt:elaba:107116361","repository":{"repo_id":"vilnius","name":"Vilnius University","base_url":"https://epublications.vu.lt/oai"},"display":{"title":"Probleminio kodo aptikimas naudojant dirbtinius neuroninius tinklus /","abstract":"Natural language processing models can be adapted for code analysis. This paper investigates whether natural language processing models can be used to detect problematic code – code smells. Literature relating to code smells and their detection, as well as natural language processing models is reviewed. A dataset for training, based on the QScored database, is created. GraphCodeBERT and CodeBERT natural language models, designed for source code analysis, are used to identify the following code smells: Magic Number, Complex Method, Empty Catch Block, and Multifaceted Abstraction. The results of both models are compared against alternative solutions found in the literature. The comparative analysis revealed that Magic Number and Complex Method code smells can be effectively identified by both of the analysed models; GraphCodeBERT is best for Empty Catch Block identification; neither of the models can identify the Multifaceted Abstraction code smell successfully.","abstract_html":"Natural language processing models can be adapted for code analysis. This paper investigates whether natural language processing models can be used to detect problematic code – code smells. Literature relating to code smells and their detection, as well as natural language processing models is reviewed. A dataset for training, based on the QScored database, is created. GraphCodeBERT and CodeBERT natural language models, designed for source code analysis, are used to identify the following code smells: Magic Number, Complex Method, Empty Catch Block, and Multifaceted Abstraction. The results of both models are compared against alternative solutions found in the literature. The comparative analysis revealed that Magic Number and Complex Method code smells can be effectively identified by both of the analysed models; GraphCodeBERT is best for Empty Catch Block identification; neither of the models can identify the Multifaceted Abstraction code smell successfully.","abstract_has_math":false,"creators":["Danaitis, Arnas,"],"institution":"Institutional Repository of Vilnius University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":["Uosis, Karolis"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2021,"date_issued":"2021","date_published":"2021","updated_at":"2026-11-19T10:10:47Z","subjects":[],"languages":["lit"],"rights":["info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.vu.lt/VU:ELABAETD107116361&prefLang=en_US","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.vu.lt/VU:ELABAETD107116361&prefLang=en_US","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":"open","embargo_until":null,"access_note":null},"source_record":{"url":"https://epublications.vu.lt/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Avu.lt%3Aelaba%3A107116361","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Uosis, Karolis"]},{"key":"dc:creator","label":"Author","values":["Danaitis, Arnas,"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2021"]},{"key":"dc:publisher","label":"Institution","values":["Institutional Repository of Vilnius University"]},{"key":"dc:relation","label":"Dc Relation","values":["https://epublications.vu.lt/object/elaba:107116361/107116361.pdf"]},{"key":"dc:type","label":"Dc Type","values":["info:eu-repo/semantics/bachelorThesis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["lit"]},{"key":"dc:rights","label":"Dc Rights","values":["info:eu-repo/semantics/openAccess"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.vu.lt/VU:ELABAETD107116361&prefLang=en_US"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Natural language processing models can be adapted for code analysis. This paper investigates whether natural language processing models can be used to detect problematic code – code smells. Literature relating to code smells and their detection, as well as natural language processing models is reviewed. A dataset for training, based on the QScored database, is created. GraphCodeBERT and CodeBERT natural language models, designed for source code analysis, are used to identify the following code smells: Magic Number, Complex Method, Empty Catch Block, and Multifaceted Abstraction. The results of both models are compared against alternative solutions found in the literature. The comparative analysis revealed that Magic Number and Complex Method code smells can be effectively identified by both of the analysed models; GraphCodeBERT is best for Empty Catch Block identification; neither of the models can identify the Multifaceted Abstraction code smell successfully."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Probleminio kodo aptikimas naudojant dirbtinius neuroninius tinklus /","Detection of problematic code using artificial neural networks."]}]}],"canonical_facts":{"dc:contributor":["Uosis, Karolis"],"dc:creator":["Danaitis, Arnas,"],"dc:date":["2021"],"dc:description":["Natural language processing models can be adapted for code analysis. This paper investigates whether natural language processing models can be used to detect problematic code – code smells. Literature relating to code smells and their detection, as well as natural language processing models is reviewed. A dataset for training, based on the QScored database, is created. GraphCodeBERT and CodeBERT natural language models, designed for source code analysis, are used to identify the following code smells: Magic Number, Complex Method, Empty Catch Block, and Multifaceted Abstraction. The results of both models are compared against alternative solutions found in the literature. The comparative analysis revealed that Magic Number and Complex Method code smells can be effectively identified by both of the analysed models; GraphCodeBERT is best for Empty Catch Block identification; neither of the models can identify the Multifaceted Abstraction code smell successfully."],"dc:format":["application/pdf"],"dc:identifier":["https://repository.vu.lt/VU:ELABAETD107116361&prefLang=en_US"],"dc:language":["lit"],"dc:publisher":["Institutional Repository of Vilnius University"],"dc:relation":["https://epublications.vu.lt/object/elaba:107116361/107116361.pdf"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:title":["Probleminio kodo aptikimas naudojant dirbtinius neuroninius tinklus /","Detection of problematic code using artificial neural networks."],"dc:type":["info:eu-repo/semantics/bachelorThesis"]},"updated_at":"2026-11-19T10:10:47Z"}