Top "Dead-code" questions

Dead code is code in the source code of a program which is executed but whose result is never used or a code that can never be reached or used.

How can you find unused functions in Python code?

So you've got some legacy code lying around in a fairly hefty project. How can you find and delete dead …

python refactoring dead-code
Identifying Unused Functions in C/C++

Possible Duplicate: Finding “dead code” in a large C++ legacy application My project has a lots of C source files …

c++ c function dead-code
Dead code identification (C++)

I have a large legacy C++ project compiled under Visual Studio 2008. I know there is a reasonably amount of 'dead' …

c++ static-analysis dead-code
SuppressWarnings "all" complaint from Eclipse

What is wrong with the SuppressWarnings annotation above the if statement? Eclipse with Sun JDK 6 provides two syntax error descriptions, …

java eclipse dead-code suppress-warnings
dead code warning in the i++ part in the for loop

This code keeps giving me a dead code warning on the i++ in the for loop and it is not …

java loops for-loop dead-code
if(false) vs. while(false): unreachable code vs. dead code

I tried the following in Eclipse: if (false) {}: warning 'dead code' while (false) {}: compilation error 'unreachable code' I was wondering …

java dead-code unreachable-code
Quick and easy way to remove "dead" (commented out) code

I'm working with an inherited code base which contains thousands of lines of commented out code. I know the previous …

.net vb.net regex dead-code