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 parallel testing and when do we use parallel testing? Explain with example?

1 Answers   Crea,


what r the differences between Testing on desktop application and Testing on client-server application while using QTP?oR while using MANUAL

2 Answers   AppLabs,


Difference between Agile process and Water Fall model

0 Answers   Cap Gemini,


what is boundary value analysis?

7 Answers  


What is the outcome of integration testing

1 Answers  


can you tell me high priority low severity defect?

2 Answers  


How u can do regration testing/retesting testing, after assign bug to devloper, how to manage the test cycle number and built number, plz tell me....

6 Answers   Bosch, SAS,


At what STAGE you start writing TEST CASES for a project..? And at which STAGE you stop writing TEST CASES...?

1 Answers   Broadridge,


in gmail.com when you enter username & password and try to copy and paste the password on notepad.will it copy and paste? what type of testing this is known as?

4 Answers  


What are the essential elements needed for database testing

3 Answers  


If the product is released to client and then you found some bug which you can see in high resolution screen in testing environment but on client side it was hidden under low resolution screen and it is an important functionality in that case what would be your role as a tester?

2 Answers  


what r the client side scripting languages and server side scripting languages

9 Answers   MBT, TCS, Wipro,


Categories