Root Cause Analysis of Software Bugs using "5 Whys"
When solving problems, dig at the roots instead of just hacking at the leaves.
- Anthony J. D'Angelo
"Problems" are the species who would love to return again and again ??, maybe in another form.
"Root Cause Analysis (RCA)" is used to find answers to?Why a problem has occurred.?It helps to figure out what happened, why and then prevent the chance of the same problem reoccurring.
What is?5 Whys?analysis?
Why + Why + Why + Why + Why = 5 why
This method is very simple. it aims to ask "Why" 5 (or more) times, in different ways until finding the real reason for the detected problem. This is effective when answers come from people who are involved with the process or the implementation.
Sakichi Toyoda, founder of "Toyota" developed this in 1930 to solve there day to day problems. Toyota has "Go and See" philosophy rather than guessing.
How we can use 5 whys to troubleshoot software bugs/incidents?
Let's take an example
领英推荐
Problem:- Production Bug is found in an e-commerce web application (ex:- eBay) which submitted 'order number' displayed in UI is incorrect.
RCA (Development Team) - 5 Whys
RCA (QA Team) - 5 Whys
This 5 Whys method can be more useful when troubleshooting simple or moderate bugs but a good starting point to analyze critical issues as well. The technique usually starts with a technical issue but can point to a process failure.
**Important
?? ?? ???Happy Reading??? ?? ??. Thank You for your time.
Nice write up. I use 5 whys to be emotional resilient and solve mental dilemmas. It's for everyone.