All videos
ScalaClean – deep code analysis
October 9, 2019

This talk introduces ScalaClean which applies whole program static analysis to larger codebases. By combining data available from ScalaMeta and SemanticDB we are able to generate a full graph of all packages, classes, functions and variables within a codebase. We are able to use graph colouring to provide an interesting analysis of the graph to infer dead code and correct visibility scopes. We can apply these changes back to the code reducing the size of the codebase and improves incremental compilation and IDE completions. This talk explores the current progress and future direction of this work