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 the different between SIT and UIT?

0 Answers   Cap Gemini,


You need to plan a test project to qualify an application composed of many individual components. Referring to the scenario above, which phases do you expect to take longer than usual?

2 Answers  


What is the difference between a bug, a defect and an error?

0 Answers  


write bug name and discrition for following scenario: 1*1=1,2*2=5,3*3=9,4*4=17 using mscalculator ?

2 Answers   CTS, Manhattan,


What type of security testing you will do on banking website.

3 Answers   HCL,


what is testcase review?What is the use?

4 Answers  


Beyond the customary advantages of having a testing group, what are the benefits does a company receive from a well run, automated testing group?

0 Answers   TCS,


Based on what doccuments do you start scripting?/ Testing?

3 Answers   MTN, MTN Nigeria,


What is cart meeting?have you participated any time?

2 Answers   SoftSol,


I faced following questions in Polaris Interview. 1. Tell me about u r current organization 2. what is Black box testing? 3. what is white box testing? 4. What is Functional Testing? 5. What is difference between Black box & functional ? 6. what is test plan? 7. what is test strategy? 8. what is difference between Test plan & test strategy? 9. What is smoke testing ? 10 what is sanity testing? 11. who will perform smoke testing? 12. Explain about Agile process? 13. How much you know about QTP? ( I mentioned in my resume as Exposure on QTP) 14. Explain about u r current project? 15. What is the Requirement Traceability Matrix? 16. Can u draw the template for Requirement Traceability Matrix? 17. What is Ad-hoc Testing? 18. What is difference between ReTesting and Regression Testing. 19. Can u explain about Bug life cycle? 20. How can u make sure whether all requirements are covered or not? 21. Can u explain biggest complexity in current project? 22. what is difference between bug severity and priority? 23. Which bug tracking tool is u r using? 24. can u give one example for High severity and low priority bug? 25. can u give one example for High priority and low severity bug? 26. What is security Testing?

5 Answers   Polaris,


how can u report bugs in manual testing?

7 Answers   IBM, MBT, Microsoft,


FOR TEST THE RESOULATION OF IMAGE ETC WHICH TYPE OF TESTING WE USE

3 Answers  


Categories