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 are the add-in to the mercurytools to test webbased dotnet applications.answer plz

1 Answers  


1.what is use of touch commnad and chmod 2.Testing inter view there 45 questions. 5 for apititude 20 unix + networking 5 for testing question 10 c or c ++ or java 5 perl or shell scripting +or database 3.what do you know in unix? 4.what is netmask 5.what is stack 6.explain osi model 7.a=10; ++a=a++ Then what is value of a? 8.What is sdlc 9.what is stlc 10.What is ip address/Different classses of Ip address 11.write down test cases how to check computer is in nework or not? 12.what is difference between window 98 and windows 2000 13.How to find ip addess of your computer 14. when we will do risk analysis in test plan?

3 Answers   Semantic Space,


Difference between Equalance class partion and boundary value analysis?

11 Answers   Ford, Patni, TCS,


hi plz send me top 30 FAQ's & answers on MANUAL TESTING.... regards Sonia

3 Answers  


What is CRUD testing

2 Answers   IBM,


Write a Test scenario for Outlook Search functionality.

0 Answers   HCL,


Hi i am new to testing.. Can u plz tell wat is mean by manual testing and how it is done?

4 Answers   CTS,


What is the job of Quality Assurance Engineer? Difference between the Testing & Quality Assurance job.

3 Answers  


How do maintain Risk cases,how will u handle the cases while u facing man power risk & the case after development u find ?

2 Answers  


what is protocol in software testing? can u give it with a good example?

3 Answers   IndiumSoft,


4.what is deliverables?what are the things is included in the deliverables?

2 Answers  


Negatives test cases of gmail login page With its severity , priority and expected results columns Through test case template-oodles technologies gurgoan

0 Answers  


Categories