Questions tagged [dependency-graph]
50 questions
2
votes
1 answer
Find all dependencies of a single class
How do I automatically get a list of dependencies of a single .NET (C#) class with direct and indirect dependencies but excluding classes from 3rd party libraries?
I've tried VS and NDepend. With VS's Generate dependency graph it doesn't allow to…

axk
- 5,316
- 12
- 58
- 96
2
votes
1 answer
TCL code dependency generator
I have a large code base written on expect/TCL version 5.39. I need to get a good understanding of the flow, is there a good dependency graph generator for TCL or a great TCL IDE which takes me to the procedure/variable definition/declaration when I…

user2431049
- 41
- 1
2
votes
1 answer
Algorithm for searching the disjoint union on dependency graph
First of all, some context about the problem:
I´m working in a system that has several types of resources (A, B, C...). I am given some resources requirements and I need to determine if I can afford them.
For this, I have some sources, each one can…

Evans
- 1,589
- 1
- 14
- 25
1
vote
1 answer
Gradle does not display all plugins in dependency tree
Use Case
I am trying to generate a dependency tree containing all plugins and dependencies for all configurations, but org.sonarqube is not included in the tree. I am working with a basic, single-module project and am using Gradle…
user17544628
1
vote
2 answers
How to get a warning whenever a given function is imported, even indirectly?
In my current TypeScript/Node.js project, we have implemented an internal cache module that we are progressively getting rid of.
To achieve that, I would like to progressively reduce the parts of the codebase that can import that module, directly or…

Adrien Joly
- 5,056
- 4
- 28
- 43
1
vote
1 answer
Extract an autonomous chunk of the dependency graph of a huge CPP project?
Consider Chromium codebase. It's huge, around 4gb of pure code, if I'm not mistaken. But however humongous it may be, it's still modular in its nature. And it implements a lot of interesting features in its internals.
What I mean is for example I'd…

winwin
- 958
- 7
- 25
1
vote
3 answers
How to save a dependency graph as image in NLTK Python
I found a few posts including this one on how to generate a dependency graph. However, I'm looking for an option to export a dependency graph as a PNG/SVG image.
For simplicity, let's assume we already parsed a sentence The quick brown fox jumps…

Abu Shoeb
- 4,747
- 2
- 40
- 45
1
vote
1 answer
Visual Studio: How to find out if Method A can be reached from Method B?
In Visual Studio 2019 using C#, is it possible to check if Method A can be reached from Method B? Ideally, I'd like to capture the whole graph/stack trace. Note that I'm not necessarily interested in the Find All References feature since it seems to…

user246392
- 2,661
- 11
- 54
- 96
1
vote
1 answer
What happens when we repeat make all command?
I am trying to understand how makefiles work. This is a sample makefile:
all: prog
x.o: x.cpp globals.hh
$(CC) -c x.cpp
y.o: y.cpp globals.hh
$(CC) -c y.cpp
prog: x.o y.o
$(LD) -o prog x.o y.o -lc
If I do make file and then make some…

x89
- 2,798
- 5
- 46
- 110
1
vote
2 answers
Make doesn't recognize changes in indirect dependencies
Consider this simple makefile:
all: output.txt
# The actual build command won't be this simple.
# It'll more be like "some-compiler file1.txt",
# which includes file2.txt automatically.
output.txt: file1.txt
cat file1.txt file2.txt >…

obskyr
- 1,380
- 1
- 9
- 25
1
vote
0 answers
Generate a dependency graph for a particular method
I used pyan to generate a call graph for particular python file as follows
$ pyan.py -c backup.py journal.py journalcmd.py links.py --dot | dot -Tpng > backup-use-and-def.png
I would like to generate a dependency graph for a particular method of a…

xralf
- 3,312
- 45
- 129
- 200
1
vote
0 answers
How to express a dependency graph with multiple tree roots in celery
Let's say I have two trees which depend on a common task T:
A X
/ \ / \
B C Y Z
\ /
T
How may I represent such a dependency with celery primitives (chain, group, chord, chunk, etc.)?
(Sadly, not enough points to create…

András Gyömrey
- 1,770
- 1
- 15
- 36
1
vote
0 answers
Is there any programming interface to use the indexing of a Java Project in Eclipse?
Like inteliij exposes apis to use the PsiTree structure generated by intellij, is there anything like this in eclipse?
My main goal is to generate a dependency graph of a Java Project.

pseudogenius
- 13
- 4
1
vote
0 answers
How can I create a dependency graph in Visual Studio programmatically?
In Visual Studio 2012 Ultimate (and also 2010 and 2013), one can generate a dependency graph using ARCHITECTURE -> For Solution. I would like to access this functionality programmatically, perhaps using the Visual Studio SDK.
How can this be…

Alex G.
- 2,113
- 6
- 25
- 33
1
vote
0 answers
Tool or command to track Java class utilization in multiple JARs?
I have some very serious JAR hell going on, and need to scan my entire Java classpath (consisting of more than 50 JARs) for all the instances where a particular class is used, let's call it com.fizz.buzz.Widget.
This Widget class could be referenced…

AdjustingForInflation
- 1,571
- 2
- 26
- 50