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 is fuzz testing?
send the senario template
What is the difference between SIT AND IST?
can anyone tell anyone is providing training for CSTE exam in bangalore? and can u send some links related to this?
What are the standard you follow in your company to prepare test plan document? Content is same in every standard or not. Also is there any document to read about the testing standards? Thanks in advance for giving me the answer.
Suggest some book to learn more test case???
What are the different available models of sdlc?
What is change request, how you use it?
what is the critical defect in telecom domain?help me out from this prob its very urgent
What is error cusing tecnique
Difference between Re-testing and Regression testing?
My name is Akpos from Nigeria. I have finished manual testing course. Please, can someone advise me where to go on from here?
What is grey box testing?
I am having 2 years of experience in Manual Testing, 2marrow I have an interview with a Company. Which type of questions they will ask me?How should I prepare for interview?Please guide me so that I will clear the interview.
What is bottom-up approach?