JSCity – An implementation of the Code City metaphor for visualizing source code
github.com
github.com
EDIT: after playing with "react" a bit, it seems that "third_party" brings the most to the source, which is something to think about (bloat in our projects is often caused by third parties)
The structure of the code does show here. The skyscrapers may not be using the "make each function do one thing well". Someone who knows the code would need to see if the visualization accurately reveals anything.
How can I visualize the javascript used by a given url?
Someone at work just showed me our site on cssstats.com and I really like the way it illustrates the bloat and redundancy in our website's stylesheets. An example:
http://cssstats.com/stats?url=http%3A%2F%2Fstackoverflow.com...
I was wondering if there was something comparable for javascript. I did some googling but couldn't find anything myself.
I'm looking to convince management (most of which is non-technical) to invest some time in refactoring and simplifying our stylesheets and javascript and I think something like this (not necessarily a "a book, tool, software library, tutorial or other off-site resource" but, yeah, something like that) would really help make my case.
This particular visualization isn't quite what I'm looking for. But it is interesting. I'm tempted to run our code base through it. I'm afraid it will come out a sprawling slum. But then I guess that would be my point.
Epilogue: Stack Overflow question was immediately killed as off-topic. Which flashed me back to this thread: https://news.ycombinator.com/item?id=11890140
http://hughsk.io/disc/ (browserify)
https://chrisbateman.github.io/webpack-visualizer/ (webpack)
Though these are visualizing the size of the files not the LOC.