Questions tagged [dependency-analysis]
Analyzing the dependencies between components of software systems - classes and interfaces, header files, method or function calls, and external libraries.
23 questions
0 votes
2 answers
137 views
Terminology to indicate that a software component does not seem to belong inside a library
What is the standard or commonly used terminology used in software engineering circles for this scenario that uses "widgets" and "FFT" as a fictitious concrete example: I have a ...
2 votes
1 answer
599 views
Should a library or an application exclude logging libraries and include SLF4J bridges?
The SLF4J documentation says that it's best practice for libraries to not include a concrete logging binding. I'm wondering what to do about transitive dependencies though. Let's say my library A ...
-1 votes
3 answers
478 views
Software components tightly coupled or loosely coupled- simple case examples
Imagine you have software component named A which knows component B Lets say knowing each other is via reference or imports, or two of them. Is it safe to tell the following statements: 1. A-->B ...
14 votes
5 answers
21k views
How to avoid bidirectional class and module dependencies
To give some context, I'm using python. We have the following package structure: /package_name /request.py # defines class Request /response.py # defines class Response Let also assume that ...
26 votes
8 answers
2k views
Is there a programming paradigm that promotes making dependencies extremely obvious to other programmers?
I work in a Data Warehouse that sources multiple systems via many streams and layers with maze-like dependencies linking various artifacts. Pretty much every day I run into situations like this: I run ...
52 votes
3 answers
121k views
How to solve circular dependency?
I have three classes that are circular dependant to each other: TestExecuter execute requests of TestScenario and save a report file using ReportGenerator class. So: TestExecuter depends on ...
3 votes
1 answer
1k views
How to calculate number of indirect dependencies of a class?
Most of the static code analysis tools which analyse class dependencies generate dependency pairs of classes where each pair represents a direct dependency between two classes. Given those dependency ...
3 votes
1 answer
3k views
How to find method and class usages along git repositories
We got some code in a git repository that's used along different projects (with git different repositories), the problem is that we got now so many different projects that's difficult to track which ...