What would be strategy to fix bugs in an unknown piece of code?

Showing Answers 1 - 20 of 20 Answers

Binny Jose

  • Jul 6th, 2005
 

Do not go for a dump coding to an unknown code. First do R&D in that code and test what it actually does. Debug the code and find the exact position of bug reported.Now correct it according to the requiremnent specified in SRS.

  Was this answer useful?  Yes

Lakshmi

  • Jul 25th, 2005
 

What is R&D??

  Was this answer useful?  Yes

pathi

  • Jul 28th, 2005
 

what is R&D Mr Binny Jose?

  Was this answer useful?  Yes

mushi

  • Aug 3rd, 2005
 

R&D is indian slang , read & understand

  Was this answer useful?  Yes

suresh

  • Aug 3rd, 2005
 

R&D works means  
Basically we can say it is a verification process. 
Before you implementing some logic into your function you have to review those to find is their any errors which can be cleared by goingthrough that piece of logic we are going to implement and if u found any thing to be changed you can change easly.  

  Was this answer useful?  Yes

saransh

  • Jun 6th, 2007
 

R & D means not just to read and understand but it means first watch and understand then search possiblities to do some thing new in it

  Was this answer useful?  Yes

sumedha sharma

  • Sep 27th, 2007
 

r&d  stands for research and development

  Was this answer useful?  Yes

StevenPace

  • Jul 12th, 2008
 

I am a tester, not a developer.    It would be foolish to give me source code, but if you want my advice, don't.....  If you don't know the code,  the quality of the finished product will probably be best served by leaving the bugs in the code.  The odds are better than even that you will cause more bugs when you try to fix the code that you don't fully understand, especially if the documentation is poor.  If the bug is something that has to be fixed, consider rewriting the code completely.

1) Request all documentation that is required in order to make it a known piece of code.

2) Study the requirements associated with the defects and/or discuss the requirements with clients or potential customers.  Find out what the expected outcomes are before you assume things are not working properly.

3) Detect bugs using black-box testing techniques and then have someone learn the code well enough to fix the bugs that were found.  As I'm sure you already know, you don't need to understand an application's code in order to isolate defects, but you do need someone to understand the code well enough to resolve any defects that were found.  


  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions