We are refactoring a legacy web app and as a result are \"killing\" quite a lot of JavaScript code but we\'re afraid of deleting what we think is dead code due to not being 开发者_JAVA百科sure.Is ther
I am concerned that some of the classes in my app have methods that are defin开发者_运维百科ed but not called anywhere in the app.
I started with the following code: class Vereinfache2_edit { public static void main(String[] args) { int c1 = Integer.parseInt(args[0]);
Why Eclipse gives me a dead code warning in the fourth line of the following method? How can it not be reachable?
This may seem a strange question... Why would anyone want to disable such a thing? But I know what I\'m doing (and why I want/need to do this) and I real开发者_运维问答ly want to disable dead code eli
I\'d like to write a function that would have some optional code to be executed or not depending on user settings. The function is cpu-intensive and having ifs in it would be slow since the branch pre
Anyone knows any free Visual Studio add-in that would find and/or delete dead (unused) code? I saw such possi开发者_StackOverflow社区bility in MZ-Tools, but it\'s a little expensive as for private use
I\'m working with an inherited code base which contains thousan开发者_运维问答ds of lines of commented out code. I know the previous coder meant to save all his hard work for posterity rather than sim