Ensuring maintainability in react web applications

Prathibha Bollu · Tampere University Institutional Repository (Tampere University) · 2024

The goal of this research is to analyse maintainability in the context of React web apps and propose methods to ensure it.As the complexity of these systems increases, maintainability becomes increasingly essential, often becoming more costly than the development phase.However, it is frequently overlooked at the outset of a project.Many factors contribute to the maintainability of software, but this thesis focuses on how specific features of React components-like their size, complexity, and nesting patterns impact it.By studying these aspects and their connection to bug density, this research offers a clear understanding of which structural choices help keep React applications stable and easier to maintain over time.This study provides an empirical analysis, examining component metrics and how maintenance actions are related, focusing on component size, complexity, and nesting depth within open-source React applications.Using bug density as an outcome-based metric for maintainability, the research explores how specific structural attributes of components impact long-term stability.Through correlation and regression analysis, this approach aims to identify structural factors most associated with defect rates and proposes concrete recommendations for designing maintainable React components.The findings of this study are expected to reveal the impact of component size, complexity, and nesting depth on defect rates, offering actionable insights for developers.By adopting specific design practices, developers may be able to mitigate technical debt, enhance debugging ease, and support scalable, sustainable application development in React over time.

Read the paper · More papers on PaperTik