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
Erosion of Code Ownership in AI-Assisted Programming: An Empirical Study of Developer’s Perspective
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Background. AI-assisted programming tools built on large language models have become increasingly common in software development. As a consequence, developers increasingly work with code that they select, review, and accept rather than write entirely themselves. Code ownership, including responsibility for a software component and accountability for its outcomes, has traditionally been studied through repository-based measures such as contribution frequency, file-level ownership, and the bus factor. These measures record who committed code, but they cannot capture whether developers perceive themselves as responsible for, or understand, code produced with AI assistance. Whether developers perceive an erosion of code ownership in AI-assisted environments has received limited empirical attention, as existing research has largely focused on measurable outcomes such as productivity and code quality.

Objectives. This thesis investigates how AI-assisted programming relates to developers’ perceived code ownership (responsibility, authorship, and accountability) and their engagement with code (understanding, review, and maintenance).

Methods. A cross-sectional survey was conducted with 83 respondents (from 96 raw responses), of whom 73 were software practitioners and 10 were students or academic researchers. The instrument measured nine ownership items and fifteen engagement items using five-point Likert scales. Relationships were analysed using Spearman rank correlations and non-parametric group comparisons (Kruskal–Wallis and Mann–Whitney).

Results. Perceived responsibility was high (M = 4.37 of 5, 87–95% agreement) and showed no significant association with AI reliance (ρ = −0.01 to −0.16). Authorship and achievement were positively associated with usage frequency and code share (ρ = 0.36 and 0.39, both p < .001). All six engagement composites correlated negatively with AI exposure and positively with experience (24 of 30 coefficients significant). Understanding showed the strongest relationship (ρ = −0.44, p < .001); developers with ≥ 60% AI-generated code scored significantly lower than those with ≤ 40% (r = 0.51, p = .002).

Conclusions. Perceived code ownership does not behave as a single construct. Responsibility was high, while understanding and engagement were lower among heavier AI users. Developers report high responsibility for code they report understanding less well, a difference not captured by traditional repository-based ownership measures. These findings establish associations, not causation.

Place, publisher, year, edition, pages
2026. , p. 74
Keywords [en]
Code Ownership, AI-Assisted Programming, Developer Perspective, Software Engineering, Artificial Intelligence.
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-30680OAI: oai:DiVA.org:bth-30680DiVA, id: diva2:2114258
Subject / course
PA2534 Master's Thesis (120 credits) in Software Engineering
Educational program
PAASW Master's Programme in Software Engineering 120,0 hp
Supervisors
Examiners
Available from: 2026-11-02 Created: 2026-10-31 Last updated: 2026-11-02Bibliographically approved

Open Access in DiVA

fulltext(3038 kB)1 downloads
File information
File name FULLTEXT01.pdfFile size 3038 kBChecksum SHA-512
883a5767e2bb9599ee7ab093248f09a6a639bec3ea26234dcc40b7ca73233160f3b83204275d6067a0e346a912226ee28dd7183407a0787050562c6a09d39572
Type fulltextMimetype application/pdf

By organisation
Department of Software Engineering
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 1 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: 57 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