Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Analyzing the dependencies between components of software systems - classes and interfaces, header files, method or function calls, and external libraries.

1
vote
4answers
551 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 ...
-1
votes
1answer
118 views

What are some ways to compare and contrast software architecture strategies?

I am currently working on an Android project that I have concluded needs refactoring done for a core part of the app experience. Let's call this part of the experience "Search". From looking at bug ...
26
votes
8answers
1k 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 ...
1
vote
1answer
60 views

Sorting algorithm for Provides/DependsOn objects

I have a set of type rewriters, each modifies a given C# type in a different way. Examples are: Add the XYZ attribute to each property of the class Add an ID property Add two properties and some ...
22
votes
3answers
32k 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 ...
9
votes
4answers
883 views

How do you approach transitive dependency conflicts that are only known at run-time? [closed]

How do you normally approach transitive dependency issues that occur at run-time in large software projects? For the past three weeks, I have been trying to start a component of a large piece of ...
2
votes
1answer
384 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 ...
2
votes
0answers
118 views

How to track dependencies when a reported bug affects multiple products containing shared components?

If you have multiple products that contain some shared components, how do you track dependencies to work out which other products a bug affects? For example, product A, B and C use a CRC library ...
3
votes
1answer
1k 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 ...
4
votes
4answers
1k views

Justification for bidirectional relationship

I typically try and avoid bidirectional relationships at all costs. Recently I've been trying to follow a more domain centric design philosophy and I'm looking for advice in the best way to solve a ...
0
votes
1answer
278 views

Reorganizing code based on dependencies

I'm wondering if there is a tool that can generate a dependency graph between C language object files and then analyze how to turn that graph into a DAG by modifying code that creates cycles, moving ...
2
votes
2answers
116 views

Is it possible to analyse the API surface of a set of class libraries to automatically determine inter-assembly dependencies?

I'm sure we've all been in the situation where we've inherited code that was "overly public", becomes obsolete or needs to be refactored. In these situations, it is easy to spend many days analysing ...
-2
votes
1answer
191 views

How do you solve large dependencies among files?

So basically I make several programs. Of course one program often used code from another. So I have my own personal "library" Well, I do write jerk codes. Then When I open a project, the project will ...
7
votes
3answers
636 views

Dependency analysis for tests [closed]

Google built a testing system that can infer which tests need to be run after a change. In their own words: ... we built a continuous integration system that uses dependency analysis to ...
4
votes
1answer
1k views

Dependency analysis from C# code through to database tables/columns [closed]

I'm looking for a tool to do system wide dependency analysis in C# code and SQL Server databases. It's looking like the only tool available that does this might be CAST (CAST software), which is ...
55
votes
6answers
55k views

What are the benefits of using Dependency Injection and IoC Containers?

I'm planning to do a talk on Dependency Injection and IoC Containers, and I'm looking for some good arguments for using it. What are the most important benefits of using this technique, and these ...
6
votes
1answer
1k views

What is dependency Analysis and how is it done?

I saw this in a job posting for an ASP.net developer. "An understanding of basic software development practices such as ...and Dependency Analysis." I read the wikipedia entry for Dependency ...