Fun will call-graphs. Not.
-
So, someone here decided to run some code we inherited through egypt and dot to get a call-graph.
This is the result from one, single, 22K line source file (with references to non-system functions outside the source included):
I'm staying as far away from this as I can.
-
@PJH said:
I'm staying as far away from this as I can.
Do you really need the call graph to tell you to do that? I mean you already had:
@PJH said:from one, single, 22K line source file
-
Well I was unaware of the LoC count until I actually went there myself to generate that image. I overheard a couple of people talking and waving a printout with that image on it and asked what it was.
-
We don't have a control group.
What happens if you run the graph on "sane" code?
-
@dhromed said:
Best comparison is probably the software the above was intended to replace, since the latter has a few more features. No, the features are not the reason for the complexity of that graph.We don't have a control group.
What happens if you run the graph on "sane" code?
For comparison, this is 9K LoC in 20 source files (each file dealing with a different aspect of what the software does.):