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:

    We don't have a control group.

    What happens if you run the graph on "sane" code?

    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.



    For comparison, this is 9K LoC in 20 source files (each file dealing with a different aspect of what the software does.):


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.