Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you find dead code!!

Answers were Sorted based on User's Feedback



How can you find dead code!!..

Answer / satish nath siddha

Dead code is something, which is not executed. Generally,
static testing techniques are used to find out dead code.
There are lots of Commercial Off the Shelf (COTS) tools
like Static Analyzer, to perform this static testing. This
is more of a white-box testing, done by developers in most
cases.

Is This Answer Correct ?    6 Yes 1 No

How can you find dead code!!..

Answer / bhargavi

If the program is small, dead code can be detected by
manual code review.for each file,class,module and
interface,list where it is being used.For which no use
location is available is the candidate for removel.
If program is very large it is hard to detect the
unreachable code,in such cases make use available tools.

Is This Answer Correct ?    0 Yes 0 No

How can you find dead code!!..

Answer / 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

More Manual Testing Interview Questions

what is a bad defect and why do we write bad defects?

3 Answers  


What is the role of QA in a SDLC?

2 Answers  


Whenever developer will recieved the defect from the tester,then he will go thru the defect whether it is acceptable or not?for that he will execute that application again,while executing if he did not found any such type of defect(what we are rise the defect above),then he will send that defect to the corresponding tester with status of 'reject',as a tester what we can do?(here writing the reproduce steps and attached screen shots has been done by tester while sending the defect to the developer, no need to send reproduced steps and screen shots again)

6 Answers   CTS, IBM,


what is mean by impact analysis ,how we used to select regression TC using this?

0 Answers  


i have two questions ,1)wat is sixsigmatesting 2)wat is stand alone project.plz anybody give the answer

1 Answers  


Explain about PET Model?

0 Answers   AppLabs,


What is integration testing

9 Answers   Nucleus Software,


What is stub and driver in integration testing ? Explain with example.

11 Answers   Accenture, Taleem India,


What is the purpose of test plan in your project?

4 Answers   Ordain Solutions,


what is Fault based testing?

1 Answers  


can you show me the test cases on registration form

0 Answers  


What are the different testable items in GUI testing?

6 Answers   IBM,


Categories