News for hackers. Stuff that matters.
Re:Walkmod: Open-source tool to automatically apply code con... by walkmod on Wednesday September 02, 2015 @08:13AM (#10158649)
Yes, what I wanted to show in this example is that those elements that are "dead" can be removed (there is a plugin for it)
Re:Walkmod: Open-source tool to automatically apply code con... by tobik on Wednesday September 02, 2015 @09:12AM (#10158919)
Ok, so the commented out for loop in the example is also considered "dead". Walkmod detects that it is in fact commented out code and only then removes it. Correct?
Re:Walkmod: Open-source tool to automatically apply code con... by walkmod on Wednesday September 02, 2015 @10:09AM (#10159214)
Yes, but in contrast with removing unused private methods, currently there is no walkmod plugin that do this yet. We are working on adding more plugins.