{"id":{"repo_id":"vilnius","oai_identifier":"oai:vu.lt:elaba:239031215"},"canonical_url":"https://search.ndltd.org/etd/vilnius/oai:vu.lt:elaba:239031215","repository":{"repo_id":"vilnius","name":"Vilnius University","base_url":"https://epublications.vu.lt/oai"},"display":{"title":"Automatinis klaidų aptikimas programinės įrangos kodo peržiūrose /","abstract":"This thesis analyzes methods of integrating the outputs of rulebased SA tools with LLMs for automated flaw detection in Java code reviews. PMD was chosen as the static analysis tool, and Qwen2.5Coder Instruct as the base model. The work addresses the high falsepositive rate of standalone static analyzers and the cost and latency of manual reviews. A mixed approach is proposed to improve detection effectiveness in which PMD warnings are fed into the LLM’s commentgeneration pipeline. Two main methods were implemented and evaluated. The first method fine tunes the LLM by augmenting real code review comments with PMD warnings and filtering out lowquality examples in the training dataset. The second method uses a base model with CoT, USC, and fewshot prompting techniques. Both methods outperform using the LLM alone, yet they still miss more complex issues that demand deeper contextual understanding.","abstract_html":"This thesis analyzes methods of integrating the outputs of rulebased SA tools with LLMs for automated flaw detection in Java code reviews. PMD was chosen as the static analysis tool, and Qwen2.5Coder Instruct as the base model. The work addresses the high falsepositive rate of standalone static analyzers and the cost and latency of manual reviews. A mixed approach is proposed to improve detection effectiveness in which PMD warnings are fed into the LLM’s commentgeneration pipeline. Two main methods were implemented and evaluated. The first method fine tunes the LLM by augmenting real code review comments with PMD warnings and filtering out lowquality examples in the training dataset. The second method uses a base model with CoT, USC, and fewshot prompting techniques. Both methods outperform using the LLM alone, yet they still miss more complex issues that demand deeper contextual understanding.","abstract_has_math":false,"creators":["Klinkovas, Meinardas,"],"institution":"Institutional Repository of Vilnius University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-19T10:03:32Z","subjects":[],"languages":["lit"],"rights":["info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.vu.lt/VU:ELABAETD239031215&prefLang=en_US","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.vu.lt/VU:ELABAETD239031215&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%3A239031215","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Klinkovas, Meinardas,"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025"]},{"key":"dc:publisher","label":"Institution","values":["Institutional Repository of Vilnius University"]},{"key":"dc:relation","label":"Dc Relation","values":["https://epublications.vu.lt/object/elaba:239031215/239031215.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:ELABAETD239031215&prefLang=en_US"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["This thesis analyzes methods of integrating the outputs of rulebased SA tools with LLMs for automated flaw detection in Java code reviews. PMD was chosen as the static analysis tool, and Qwen2.5Coder Instruct as the base model. The work addresses the high falsepositive rate of standalone static analyzers and the cost and latency of manual reviews. A mixed approach is proposed to improve detection effectiveness in which PMD warnings are fed into the LLM’s commentgeneration pipeline. Two main methods were implemented and evaluated. The first method fine tunes the LLM by augmenting real code review comments with PMD warnings and filtering out lowquality examples in the training dataset. The second method uses a base model with CoT, USC, and fewshot prompting techniques. Both methods outperform using the LLM alone, yet they still miss more complex issues that demand deeper contextual understanding."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Automatinis klaidų aptikimas programinės įrangos kodo peržiūrose /","Automated flaw detection in software code reviews."]}]}],"canonical_facts":{"dc:creator":["Klinkovas, Meinardas,"],"dc:date":["2025"],"dc:description":["This thesis analyzes methods of integrating the outputs of rulebased SA tools with LLMs for automated flaw detection in Java code reviews. PMD was chosen as the static analysis tool, and Qwen2.5Coder Instruct as the base model. The work addresses the high falsepositive rate of standalone static analyzers and the cost and latency of manual reviews. A mixed approach is proposed to improve detection effectiveness in which PMD warnings are fed into the LLM’s commentgeneration pipeline. Two main methods were implemented and evaluated. The first method fine tunes the LLM by augmenting real code review comments with PMD warnings and filtering out lowquality examples in the training dataset. The second method uses a base model with CoT, USC, and fewshot prompting techniques. Both methods outperform using the LLM alone, yet they still miss more complex issues that demand deeper contextual understanding."],"dc:format":["application/pdf"],"dc:identifier":["https://repository.vu.lt/VU:ELABAETD239031215&prefLang=en_US"],"dc:language":["lit"],"dc:publisher":["Institutional Repository of Vilnius University"],"dc:relation":["https://epublications.vu.lt/object/elaba:239031215/239031215.pdf"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:title":["Automatinis klaidų aptikimas programinės įrangos kodo peržiūrose /","Automated flaw detection in software code reviews."],"dc:type":["info:eu-repo/semantics/bachelorThesis"]},"updated_at":"2026-11-19T10:03:32Z"}