Software Testing | MET

Fixing a Bug is so Similar to Fishing

When you do not have the knowledge about the code, it is hard for you to estimate the time it needs to fix the thing. According to James Shore when he mentioned the thing in ‘The Art of Agile’ that before finding the bug, you should find what has gone wrong. Here there is an added problem that you cannot accurately estimate the time required for finding the wrong. When you have the knowledge of what has gone wrong, could you exactly determine the time for fixing up the wrong. One must know the line where the code should be changed like to know where and when will be the fish would bite. However, it could exhaust lots of time.

Finding and fixing up the bug

Paul Butcher has explained how to find and fix up bugs successfully in his ‘Debug It!’. Experienced programmers are acquainted with these steps.

1.Get a clear idea about the thing you are searching for:

A thorough review of the bug report could help you tremendously in finding it out and solving it. If it has been already reported as a duplicate, find out what actions were taken by the guy who took over the responsibility of debugging it before you.

2.Clear up the decks:

Find and check out which code is correct. In addition, clear your work space.

3.Setup the test environment:

Setting up of the test environment can be trivial or impossible in some cases especially when the customer is running on an anonymous configuration.

4.Have a clear idea about the functions of codes:

One should have a clear concept about the function of code and with respect of this if one’s test suite will pass or not.

5.Let us start fishing:

Accurate diagnosis of bugs and reproduction of bugs prove that you have properly fixed it up.

6.Write new tests:

While fixing the existing tests or initiating new developer tests one should be extremely careful.

7.Create the fix:

While creating the fix, one needs to ensure that one is not breaking anything else. To safely finish the job, one should initiate some refactoring job for understanding the code in better manners. Before finishing your job, perform a regression testing for ensuring that you have not introduced new bugs.

8.Create safer and clearer codes:

With the help of step-by-step refactoring, one can develop the codes in clearer and safer ways. With your fixing, ensure that you are not making your codes more brittle or harder to comprehend.

9.Review the debugged codes:

It is a smart choice to review your debugging steps with others.

10.Review if the bug needs to be fixed up in other branches:

When you are not working from mainline, you need to check whether the bug needs to be fixed up in other branches.


Introspect the entire process of debugging to avoid the repetition of the process.?

You can hire a professional software testing company to fix the bugs in your website.

MET Technologies is to acquire positive business driven outputs and quality solutions for each and every client.

Facebook Twitter LinkedIn 

Request a Callback
Address :   Met Technologies Pvt Ltd
Esnt 3A0501 , Block 3A,
5th Floor Plot No. IIF/11,
Kolkata, West Bengal - 700160
Phone :   91 33 4062 4483
Fax :   +91 33 4062 4485
© 2016 MET Technologies Pvt Ltd. All Rights Reserved.