•  
  •  
 

Abstract

Background: Long-lived software systems must remain maintainable and adaptable as they evolve. Modular software architecture is intended to localize change, but static source-code views alone may not show whether package boundaries actually reduce recurring cross-boundary maintenance activity. Objective: This study proposes a package-level co-change analysis approach for assessing maintainability in evolving Java software systems. Methods: The approach mines Git history to construct package co-change graphs and derive evolutionary indicators, including package churn, cross-boundary spillover, within-package change concentration, boundary leakiness, top-neighbor concentration, and architectural-review priority. It also derives architecture-review cues, including move-class, split-package, and package-pair review cues. The approach is evaluated on four large open-source Java systems: Apache Kafka, Spring Framework, Apache Camel, and Apache Flink. Evolutionary indicators are compared with static package-level baselines derived from source-code structure. Results: The results show that package-level co-change analysis identifies packages with high cross-boundary change, high boundary leakiness, and concentrated package-pair entanglement. Static external coupling is moderately to strongly associated with evolutionary cross-boundary co-change, but static cohesion and static structural leakiness show weaker relationships with their evolutionary counterparts. Conclusion: Package-level co-change analysis can support maintainability assessment by identifying software package boundaries that may deserve architectural review. The proposed indicators provide complementary evidence for prioritizing inspection of evolving Java software systems.

Keywords

Software maintainability, Software evolution, Co-change analysis, Software architecture, Package modularity, Repository mining

Article Type

Article

First Page

43

Last Page

63

Publication Date

11-26-2026

Share

COinS