Answer Posted / mfsi_chinmayb`
Hi
Dead code (a.k.a Unreachable code),as the name suggests is
the portion of the code which is never executed.
Point out the word NEVER , as the code above that made the
break before that and the execution of that never come.
Ex:
int function(a,b)
{
int z;
return a+b;
z=a*b; //It will never be executed
}
The above is the example for a Statement . There might a big
function which is never executed.In larger programs 5-10% of
dead code can be found.
Note : If a program is smaller in size error code can be
checked manually.But for larger program we have automated
tools like: TrueCoverage etc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the challenges you faced in your project (Testing) and in your company?
What kind of testing to be done in client server application and web application? Explain
Can i get answers for telecom testing for eg telecom billing rating can be tested
What is common interface?
any one giv test cases for wordpad using equivalence class partioning
What are the advantages of black box testing?
What are microsoft 6 rules?
Do you know anything about Set Top Boxes?
What is six sigma?
How can I use bugzilla in my company to track a bug and to allow the client to see the bug report online throughbugzilla. Please explain in detail. I am really need this.
What is a failure?
For any web application, what are the possible login features that should be tested?
how will the test plan is pepared in ur organisation>?
plz send the test scenarios and test cases for "user name should contain 4 to 8 chars and they should have only vowels"
List the type of testing perform to test microsoft excel 2003 give atleast 1 example of each type