z-logo
open-access-imgOpen Access
Cataloging Dependency Injection Anti-patterns in Software Systems
Author(s) -
Rodrigo Laigner,
Marcos Kalinowski
Publication year - 2021
Language(s) - English
Resource type - Conference proceedings
DOI - 10.5753/cbsoft_estendido.2021.17293
Subject(s) - dependency (uml) , computer science , software engineering , cataloging , relevance (law) , modular design , software , software system , proposition , legacy system , data science , world wide web , programming language , political science , law , philosophy , epistemology
Dependency Injection (DI) is a prevalent technique employed in software systems. By delegating the dependency provision to an independent agent (i.e., a DI framework), developers often benefit from high-modular components. However, the misuse of the DI technique leads to higher maintenance efforts. As the literature presents no comprehensive characterization of bad DI implementation practices, we put forth an investigation that led to the proposition and evaluation of a novel catalog of DI anti-patterns and refactorings. The proposed anti-patterns appear frequently in both open-source and industry projects. Furthermore, practitioners confirm the relevance and usefulness of the catalog.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here