kth.sePublications KTH
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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
AI-effektivisering av utvecklingsprocessen och hantering av webbsidor: Företags reducering av produktionstid och prestandaförbättring genom AI och AI-kodgeneratorer, med fokus på den AI-genererade kodkvalitén
KTH, School of Engineering Sciences in Chemistry, Biotechnology and Health (CBH), Biomedical Engineering and Health Systems, Health Informatics and Logistics.
2025 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
AI streamlining of the development process and management of web pages : Business reduction of production time and performance improvement through the use of AI and AI code generators, with focus on the code quality of AI ​​generated code (English)
Abstract [sv]

Ett av de mest aktuella och omdiskuterade ämnena inom IT-världen är artificiell intelligens (AI). Huvudsyftet med detta examensarbete är att undersöka hur AI och AI-kodgeneratorer kan effektivisera mjukvaruutvecklingsprocessen samt analysera kvalitéten på den genererade koden. För att undersöka dessa aspekter har examensarbetet tillämpat kvalitativa metoder för att samla in relevant information och data. De metoder som har använts inkluderar: litteraturstudie, prototyputveckling, kodkvalitétsbedömning och djupintervjuer.

Litteraturstudien genomfördes för att ge en överblick över befintlig forskning och tidigare arbeten inom området. Prototyputvecklingen gav praktiska exempel på hur AI kan användas för att generera kod. Djupintervjuer kompletterade de övriga metoderna genom att tillföra insikter från personer med erfarenhet av artificiell intelligens och mjukvaruutveckling.

Metoderna har kombinerats för att ge en helhetsbild av hur AI kan användas inom mjukvaruutveckling samt vilka faktorer som påverkar kodens kvalitét och användbarhet.

Under prototyputvecklingen användes AI-programmen Builder.io och Meta AI. För att möjliggöra en rättvis jämförelse och bedömning av prototypernas egenskaper utvecklades en anpassad bedömningsmodell baserad på McCall-modellen. Denna modell, kallad kodkvalitétsbedömning, utvärderade olika attribut relaterade till kodkvalité och funktionalitet. För att samla in ytterligare data genomfördes djupintervjuer där respondenternas erfarenheter och åsikter analyserades. 

Slutresultaten visar att Meta AI producerar högre kodkvalité och har överlägsen problemlösningsförmåga jämfört med Builder.io. Intervjuerna bekräftar att Meta AI genererar bättre kodkvalité enligt de intervjuade. En annan viktig fördel med Meta AI är att dess storspråksmodell kan laddas ner och användas lokalt, vilket bidrar till ökad säkerhet och pålitlighet. Builder.io erbjuder dock en unik funktionalitet som möjliggör konvertering av webbdesign till kod, en funktion som saknas hos Meta AI. Denna förmåga gör Builder.io användbart i situationer där snabb och enkel designkonvertering är en prioritet.

Abstract [en]

One of the most relevant and debated topics in the IT world today is AI. The primary purpose of this thesis is to investigate how AI and AI code generators can contribute to streamlining the software development process, as well as to analyze the quality of AI-generated code. To achieve these objectives, the thesis employs qualitative methods to collect relevant information and data. The methods used include literature review, prototype development, code quality assessment and in-depth interviews.

The literature review was conducted to provide an overview of existing research and previous work in the field. Prototype development offered practical examples of how AI can be used to generate code. Code quality assessment was employed to analyze and evaluate the quality of the AI-generated code. In-depth interviews complemented the other methods by providing insights from individuals with experience in artificial intelligence and software development.

These methods were combined to provide a comprehensive view of how AI can be utilized in software development and what factors influence the quality and usability of the code.

During the prototype development phase, the AI tools Builder.io and Meta AI were used. To enable a fair comparison and evaluation of the prototypes' characteristics, a custom evaluation model based on the McCall model was developed. This model assessed various attributes related to code quality and functionality. Additional data was collected through in-depth interviews, where respondents' experiences and opinions were analyzed.

The results showed that Meta AI produced higher code quality and superior problem-solving capabilities compared to Builder.io. The interviews also confirmed that Meta AI generated better code quality according to the respondents. Another significant advantage of Meta AI is that its LLM can be downloaded and used locally, which enhances security and reliability. However, Builder.io offers a unique feature that allows for converting web designs into code, a functionality absent in Meta AI. This capability makes Builder.io valuable in scenarios where quick and straightforward design conversion is a priority.

Place, publisher, year, edition, pages
2025.
Series
TRITA-CBH-GRU ; 2025:083
Keywords [en]
AI, AI-code generator, Machine learning, Large Language Modell, automation code, generated code, code quality
Keywords [sv]
AI, AI-kodgenerator, Maskininlärning, Stora språkmodell, automatiserad kod, genererad kod, kod-kvalité
National Category
Artificial Intelligence Algorithms
Identifiers
URN: urn:nbn:se:kth:diva-364337OAI: oai:DiVA.org:kth-364337DiVA, id: diva2:1967529
External cooperation
Columbus Global AB
Subject / course
Computer Technology and Software Engineering
Educational program
Bachelor of Science in Engineering - Computer Engineering
Supervisors
Examiners
Available from: 2025-06-12 Created: 2025-06-11 Last updated: 2025-06-12Bibliographically approved

Open Access in DiVA

fulltext(1451 kB)152 downloads
File information
File name FULLTEXT01.pdfFile size 1451 kBChecksum SHA-512
024aab302ed76dcea97b1e69ce5228284087d8bc6d9920a0a4fd915425f768056111ee35d62dc424ee49f5ff93a41fb2bf53d6d1a9800d9e3db49c2cb0c5ea4a
Type fulltextMimetype application/pdf

By organisation
Health Informatics and Logistics
Artificial IntelligenceAlgorithms

Search outside of DiVA

GoogleGoogle Scholar
Total: 152 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: 255 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • 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