liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Automated static code analysiswith Large Language Models aspart of the Continuous Integration Pipeline for Core Keeper bugdetection
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Automatisk statisk kod analys med Large Language Models somdel av en Continuous Integration Pipeline för Core Keeper buggdetektion (Swedish)
Abstract [en]

Unlike traditional static analysis tools that primarily detect syntactical issues or code style violations, modern game development demands tools capable of identifying logical and context-specific bugs that directly impact gameplay and system behavior. This thesis investigates the use of Large Language Models (LLMs) for static code analysis within the continuous integration pipeline of the repository of the game Core Keeper by Pugstorm, a Swedish game development studio, to automate bug detection in a real-world production environment.This study presents a framework that can detect and resolve complex issues that available traditional static code analysis tools, such as a linter, would be unable to identify. The framework can identify and address syntactical issues and security vulnerabilities while also demonstrating reasoning ability, capable of detecting and resolving logical defects and performance issues. It is intended to complement conventional manual testing in the game development pipeline, rather than replacing human testers. The presented methodology allows for portability and can be applied to a wide range of scenarios, allowing developers to select suitable LLMs and hardware.The research demonstrates that, through fine-tuning, the LLM consistently outperforms its baseline counterpart. With the average score surpassing 0.90 across all CodeBERTScore metrics, the final fine-tuned model is capable of suggesting code changes that are semantically similar to developer fixes, while the base model, with an average score of 0.66, tends to produce generic programming practices, even when provided with code-specific context. Introducing a context retrieval system improved performance, primarily for the fine-tuned model, demonstrating that training the model can teach it to utilize the provided context more effectively. Future work includes improving dataset quality and quantity, refining the context retrieval system, and experimenting with alternative models.

Place, publisher, year, edition, pages
2026. , p. 70
Keywords [en]
Large Language Models, Continous Integration, Static code analysis, Game bug detection, Automated bug detection, Fine-tuning
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:liu:diva-223367ISRN: LIU-IDA/LITH-EX-A--26/008--SEOAI: oai:DiVA.org:liu-223367DiVA, id: diva2:2055927
External cooperation
Pugstorm
Subject / course
Master's programme in Computer Science
Presentation
2026-03-04, John von Neumann, Linköping University, Linköping, 10:15 (English)
Supervisors
Examiners
Available from: 2026-05-12 Created: 2026-04-27 Last updated: 2026-05-12Bibliographically approved

Open Access in DiVA

fulltext(814 kB)547 downloads
File information
File name FULLTEXT01.pdfFile size 814 kBChecksum SHA-512
cf6008d39cf3deb26358b49324ed504282b113e5b0614d041c047569fde8c40ce434e12108b084206340e4748a75f90abc9ddc5a6291b7eedde6055d4a0e79a3
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Kjell, EdvinZhao, Yichen
By organisation
Department of Computer and Information Science
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 547 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 373 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf