Domain-Aware Refactoring Prioritization in Telecom Software
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
Background. Large industrial software systems can contain more technically relevant refactoring candidates than engineering teams can address within a limited planning period. Maintainability and development-history measures can identify technically relevant files, but they do not directly represent the operational importance of the functionality to which those files belong. This motivates examining prioritization that combines technical and operational evidence transparently.
Objectives. This thesis aims to design and evaluate a deterministic, domain-aware method for the prioritization of file-level refactoring targets under limited engineering capacity in an industrial telecom software context. The study investigates which prioritization factors are relevant and feasible, and whether incorporating domain criticality provides useful planning support compared with domain-agnostic alternatives.
Methods. The study follows the Design Science Research Methodology (DSRM)and was conducted in a selected Ericsson User Plane Control (UPC) uplink software scope. The artifact combines file-level Code Health and non-merge development activity into a technical Base score and applies researcher-created module-level domain criticality as a proportional adjustment. It produces Refactor-Now and StabilizeFirst planning outputs. DomainAware was compared with HealthOnly, ActivityOnly, and HealthActivity using quantitative metrics, a January–April endpoint comparison, evaluation by four Ericsson practitioners, and a two-expert assessment of thedomain-criticality construct.
Results. Code Health, development activity, and module-level domain criticality were retained as relevant and feasible factors. At the April endpoint, DomainAware and HealthActivity shared eight of ten selected files; the two strategy-specific differences occurred in the MODERATE Code Health band, where the DomainAware-onlyfiles were mapped to HIGH-criticality modules and the HealthActivity-only files toMEDIUM-criticality modules. DomainAware achieved the most favourable practitioner mean rank (1.50), although HealthOnly received the same number of first-placevotes. DomainAware retained identical Top-10 membership across the January and April endpoints. The two experts agreed on 28 of 31 represented modules (90.32%), indicating strong inter-expert consistency while retaining classification uncertainty.
Conclusions. The study provides context-specific evidence that domain-aware prioritization can support transparent pre-refactoring decision-making in the studied context. The artifact makes operational context explicit while distinguishing immediate refactoring candidates from those requiring additional preparation. The evidence supports contextual usefulness and auditability, but does not establish universal superiority, general temporal stability, optimal parameter settings, refactoring safety, or post-refactoring improvement.
Place, publisher, year, edition, pages
2026. , p. 83
Keywords [en]
refactoring prioritization, Code Health, development activity, domain criticality, telecom software
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-30695OAI: oai:DiVA.org:bth-30695DiVA, id: diva2:2114333
External cooperation
Ericsson
Subject / course
PA2534 Master's Thesis (120 credits) in Software Engineering
Educational program
PAADA Master Qualification Plan in Software Engineering 120,0 hp
Supervisors
Examiners
2026-11-022026-11-012026-11-02Bibliographically approved