dead-code
find dead JavaScript code?
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[详细]
2023-01-24 01:03 分类:问答In Eclipse, how do you find methods that you have defined but not used/called anywhere in the app?
I am concerned that some of the classes in my app have methods that are defin开发者_运维百科ed but not called anywhere in the app.[详细]
2023-01-23 03:48 分类:问答Minimize code in reference to read/write operations
I started with the following code: class Vereinfache2_edit { public static void main(String[] args) { int c1 = Integer.parseInt(args[0]);[详细]
2023-01-23 00:24 分类:问答Eclipse's Dead Code warning when it is reachable?
Why Eclipse gives me a dead code warning in the fourth line of the following method? How can it not be reachable?[详细]
2023-01-21 17:29 分类:问答How to disable dead code elimination in the Java compiler?
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[详细]
2023-01-05 06:11 分类:问答How to keep unreachable code?
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[详细]
2022-12-25 04:02 分类:问答Visual Studio - plugin finding/removing dead code?
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[详细]
2022-12-24 06:08 分类:问答Quick and easy way to remove "dead" (commented out) code
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[详细]
2022-12-23 00:50 分类:问答