Skip to main navigation Skip to search Skip to main content

An Evaluation of ACDC in Recovering JPMS-Compliant Components for Java Applications

  • Jordan University of Science and Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Software architecture is critical for defining a software system’s structure and behavior, influencing quality attributes such as performance, scalability, and security. Architectural drift, the gap between planned and implemented architectures, presents significant challenges, particularly in Java, which lacks explicit architectural constructs. The Java Platform Module System (JPMS) introduced in Java 9 addresses these issues by supporting modularity and dependency management. However, transitioning existing Java applications to JPMS is complex and error-prone, often leading to modules with excessive privileges. Automated component recovery tools, such as the Algorithm for Comprehension-Driven Clustering (ACDC), are essential for facilitating this transition. This paper evaluates ACDC in the context of JPMS. We examined seven real-world Java software systems to determine if ACDC can recover component-based architectures that conform to JPMS’s modular constraints and the Java packaging structures of both the core application and its test suites. Our study found that over 50% of modules had cyclic dependencies, more than 50% of program packages were split across multiple modules with some subjects exceeding 90%, and over 50% of test packages were split across modules in most of the seven subjects. These violations necessitate extensive refactoring. Additionally, ACDC often produced overly fragmented module structures and imbalanced class distributions, complicating maintenance and reducing modular efficiency.

Original languageEnglish
Title of host publication2024 15th International Conference on Information and Communication Systems, ICICS 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331540760
DOIs
StatePublished - 2024
Externally publishedYes
Event15th International Conference on Information and Communication Systems, ICICS 2024 - Irbid, Jordan
Duration: 13 Aug 202415 Aug 2024

Publication series

Name2024 15th International Conference on Information and Communication Systems, ICICS 2024

Conference

Conference15th International Conference on Information and Communication Systems, ICICS 2024
Country/TerritoryJordan
CityIrbid
Period13/08/2415/08/24

Keywords

  • ACDC
  • Component recovery
  • Java Platform Module System
  • Software architecture

Fingerprint

Dive into the research topics of 'An Evaluation of ACDC in Recovering JPMS-Compliant Components for Java Applications'. Together they form a unique fingerprint.

Cite this