scala-sculpt
scala-sculpt copied to clipboard
feature: measure the thickness of a dependency
(this came up when I gave my Sculpt talk in Chicago. can't remember who suggested it)
it would be really nice if when you aggregate at the class level or the package level, the output had some measure of the "thickness" of a dependency. probably just a count of how many individual entries were aggregated into the single entry.
this would help identify dependencies that would be especially easy to cut.
informally, I used to do this all the time using Classycle, as follows.
if there was a package-level dependency I suggested of being thin, I'd disallow it in the config, run Classycle, and then eyeball how long the output is. if the output was only a few lines, the dependency was probably easy to cut.