Please use this identifier to cite or link to this item:
Title: Forecasting the Principal of Code Technical Debt in JavaScript Applications
Authors: Zozas, Ioannis
Bibi, Stamatia
Ampatzoglou, Apostolos
Type: Article
Subjects: FRASCATI::Natural sciences::Computer and information sciences
Keywords: Software Quality
Code Technical Debt
Source Code Quality
Issue Date: 2022
Source: IEEE Transactions on Software Engineering
First Page: 1
Last Page: 15
Abstract: JavaScript (JS) is one of the most popular programming languages for developing client-side applications mainly due to allowing the adoption of different programming styles, not having strict syntax rules, and supporting a plethora of frameworks. The flexibility that the language provides may accelerate the development of application, but also pose threats to the quality of the final software product, e.g., introducing Technical Debt (TD). TD reflects the additional cost of software maintenance activities to implement new features, occurring due to poorly developed solutions. Being able to forecast the levels of TD in the future can be extremely valuable in managing TD, since it can contribute to informed decision making when designating future repayments and refactoring budget among a company's projects. Despite the popularity of JS and the undoubtful benefits of accurate TD forecasting, in the literature, there is available only a limited number of tools and methodologies that are able to: (a) forecast TD during software evolution, (b) provide a ground-truth TD quantifications to train forecasting, since TD tools that are available are based on different rulesets and none is recognized as a state-of-the-art solution, (c) take into consideration the language-specific characteristics of JS. As a main contribution for this study, we propose a methodology (along with a supporting tool) that supports the aforementioned goals based on the Backward Stepwise Regression and Auto-Regressive Integrated Moving Average (ARIMA). We evaluate the proposed approach through a case study on 19,636 releases of 105 open-source applications. The results point out that: (a) the proposed model can lead to an accurate prediction of TD, and (b) the Number of appearances of the “new” and “eval” keyword along with the number of “anonymous” and “arrow” functions are among the features of JavaScript language that are related to high levels of TD.
ISSN: 0098-5589
Other Identifiers: 10.1109/TSE.2022.3222318
Appears in Collections:Department of Applied Informatics

Files in This Item:
File Description SizeFormat 
zozas2023tse.pdf1,93 MBAdobe PDFThumbnail

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.