DEV Community

Discussion on: Detecting deadcode in your project

Collapse
 
rhymes profile image
rhymes

Another option: tests code coverage. It won't tell you about the dead imports but if you look at the code coverage report and a file has a low coverage it's either an untested section or dead code :-)

Collapse
 
mquy profile image
Minh Quy

agree, that could be one of approaches for deadcode 👍🏻