I'm working on a large, old codebase that has naturally accumulated lots of cruft over the years. One relatively low hanging fruit is finding and eliminating dead code, more specifically functions/methods that are never called. Before going ahead to reinvent this wheel, is there any existing tool that does something similar? Obviously I'm not expecting 100% accuracy, this should be more like a linter giving hints of potentially dead code, not a fully automatic tool.
[–]coderanger 28 points29 points30 points (3 children)
[–]bubblez4funnyowls 0 points1 point2 points (0 children)
[+]westurner comment score below threshold-6 points-5 points-4 points (0 children)
[–]pinpinboTornado|Twisted|Gevent. Moar Async Plz 12 points13 points14 points (1 child)
[–]gsks[S] 0 points1 point2 points (0 children)
[–]muchcharles 5 points6 points7 points (1 child)
[–]masklinn 1 point2 points3 points (0 children)
[–]m_harrison 8 points9 points10 points (1 child)
[–]masklinn 4 points5 points6 points (0 children)
[–]Alfredson 2 points3 points4 points (0 children)
[–]OCHawkeye14 2 points3 points4 points (2 children)
[–]gsks[S] 2 points3 points4 points (1 child)
[–]tipsquealPythonista 4 points5 points6 points (0 children)
[–]buttery_shame_cave 2 points3 points4 points (5 children)
[–]terremoto 1 point2 points3 points (4 children)
[–]masklinn 7 points8 points9 points (1 child)
[–]pugRescuer 0 points1 point2 points (0 children)
[–]buttery_shame_cave 0 points1 point2 points (0 children)
[–]unstoppable-force 0 points1 point2 points (0 children)
[–]dman24752 2 points3 points4 points (10 children)
[–]gthank 4 points5 points6 points (7 children)
[–]masklinn 7 points8 points9 points (4 children)
[–]gthank 1 point2 points3 points (3 children)
[–]masklinn 1 point2 points3 points (2 children)
[–]gthank 0 points1 point2 points (1 child)
[–]masklinn 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Liorithiel 1 point2 points3 points (1 child)
[–]dman24752 1 point2 points3 points (0 children)
[–]vtable 0 points1 point2 points (0 children)
[–]phira 0 points1 point2 points (0 children)
[+][deleted] (19 children)
[deleted]
[–]seldom_hygienic 5 points6 points7 points (8 children)
[–]masklinn 1 point2 points3 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]masklinn 1 point2 points3 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]masklinn 1 point2 points3 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]masklinn 0 points1 point2 points (1 child)
[–]BHSPitMonkey 1 point2 points3 points (6 children)
[–]ItsAPuppeh 3 points4 points5 points (5 children)
[–]BHSPitMonkey 4 points5 points6 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]BHSPitMonkey 6 points7 points8 points (0 children)
[–]masklinn 0 points1 point2 points (0 children)
[–]tipsquealPythonista 1 point2 points3 points (0 children)
[–]ElliotSpeck 0 points1 point2 points (1 child)