How to manage the “7 wastes” of “agile software development?”

Origins of the term waste:

The concept of “Waste” had been initially coined in the manufacturing industry during late 1940s. It was used by “Toyota” cars manufacturing company. During those days, manufacturing automobile was a great deal which involved huge amount for manufacture it and subsequently they had to charge their customers with a high price to sell the cars. So the only option for Toyota to reduce the cars price was to find ways to reduce the manufacturing costs.  As part of this exercise, they started identifying “waste” which means the feature (or process step) that does not add any value to the customer. Once they identify the waste, they created ways to eliminate that waste from the system.

Once they were able to identify the “waste” it was easy for them to come up with various ways to “eliminate” it from the system. Over a period of time, “Eliminate Waste” has become the fundamental concept of Lean which had been used in manufacturing industry.

What is Waste? Waste in fact is opposite to Value (A capability delivered to the customer through which the customer attains a tangible or intangible benefit). So whatever feature or functionality or process step that neither adds any value nor being used, then it will be considered to be a waste and should be eliminated from the system/product/process.

Below 7 wastes were identified in manufacturing industry in Toyota Production System (TPS) by Shigeo Shingo:

Inventory: Unfinished goods (also called as “Work In Progress” WIP)

Overproduction: Producing more than the demand

Extra processing: Additional steps in the process that are not really needed

Transportation: Shipping the goods from one place to the other

Waiting: Lag between process steps

Motion: Moving around within the process

Defects: Flaws in the deliverables that impact the feature/functionality

7 wastes of software development:

Based on the 7 wastes of manufacturing industry, Mary and Tom Poppendieck have defined 7 wastes that are appropriate for software development.

Below section provides the information of meaning of each of the 7 wastes of software development, what could be the reasons, how you can eliminate (or reduce its impact in case you cannot fully eliminate) with respect to the “Agile Software Development”. Generally, you will get into these wastes during your sprint planning or during your sprint execution.

Waste #1: Partially Done work:

Meaning: It generally means that the work (story) that is not completely done as per your “Definition of Done” and hence you cannot demo it or you cannot release it. This can include: Code that is not refactored, Code that is not unit tested/integration tested, code that is not properly documented, Code that is not deployable etc..

Possible reasons:  There could be many reasons to have partially done work and some of them are given below.

  1. By prioritizing a story without having complete information about the story from the product owner
  2. Technical complexity that was not analyzed properly during the sprint planning
  3. Due to the wait time between the tasks that are identified to complete the story
  4. Due to improper dependencies for this story with other stories
  5. By removing an existing story that is halfway done and getting a new story into the sprint
  6. Incomplete/inadequate  tasks identification

How can you eliminate it?

  1. Try to have detailed discussion with product owner and understand the functionality of the story and also understand what “value” it adds to the product. Then only prioritize it for a sprint. This needs great coordination and collaboration between the team and the product owner.
  2. Try to evaluate the technical complexity of the story based on the functionality. If required, go for a technical spyke before you arrive at the estimate. This will at least help you to assess how complex it is so that you can either pick it up directly, or you can ask the product owner to split it or to go with some other technical implementation approach.
  3. Try to do tasks in parallel as much as possible. This should be really Agile way and not a mini waterfall way. When you stuck somewhere, look for help. Develop the cross functional teams which will address this point very effectively, because anyone can pick up any task at least to some extent.
  4. Manage your product backlog in such a way that the dependencies among various stories are clearly identified before the stories are picked up for a sprint. Again, this needs lot of coordination and collaboration between the team and the product owner. Sometimes the product owner may not have idea on the “technical dependencies” so in such scenarios the team should help the product owner. Example: Login cannot be prioritized without registration.
  5. When you have stories lined up (committed) for a sprint, do not try to manipulate them during the sprint. It will add unnecessary rework and will lead to gets down the velocity.
  6. When you decompose the story into tasks in your sprint planning meeting, try to spend good amount of time and involve all the team members. This will help you to come up with “all” the required tasks to complete the story. If you do not do this, you will have insufficient list of tasks but in reality you have to perform “all” tasks to complete a story. So the tasks that are not identified in your sprint planning may lead to additional effort which is not planned so it may finally push your story to “incomplete” state.

Waste #2: Extra Features:

Meaning: Providing more than what is being asked for. Remember the Pareto rule (80% of the users use only 20% of the product features).

Possible reasons:  Again, this will happen due to many reasons as given below.

  1. Lack of understanding on the product “VISION”
  2. Who are your product’s “Target Audience”?
  3. “Gold plating” by the development team
  4. Wrong Product features prioritization

How can you eliminate it?

  1. The product backlog is the baby of the Product Owner who should map it to the product vision. He is also responsible for the product ROI. So the product owner is responsible to manage the product backlog according to the product vision and manage it accordingly. He should prioritize the stories as per the “Value”
  2. Every product will have its own target audience who are the primary users of the product. The product owner has to make sure to identify the target audience and then only start creating the product backlog. If required, use personas to identify the features based on the target audience.
  3. Gold plating generally comes from the development team and this can be sometimes unintentional too. While prioritizing the stories for a sprint the product owner and the development team have to come to a common agreement on the stories for that sprint and they must stick to that list.
  4. Right from the release planning, the product features have to be carefully prioritized. The key to prioritize these stories are “Value, Cost & Risk”.

Waste #3: Relearning:

Meaning: Not using the knowledge that is available within the team members and try to reinvent the wheel.

Possible reasons:  Below are some of the potential reasons for this waste.

  1. Lack of proper knowledge sharing process within the team
  2. Lack of required documentation
  3. Missing information radiation and osmatic communication
  4. Distributed teams

How can you eliminate it?

  1. Team should share their knowledge continuously throughout the sprint. The best place for knowledge sharing is the daily scrum meeting and the task board. All the team members should participate in all team meetings. This will enhance the knowledge sharing among the team.
  2. General myth about Agile is “Agile is anti-documentation” but this is not true. Team should prepare all the required documentation but it should always be “Just In time” (JIT)
  3. Try to keep all important information displayed at team space so that everyone would have equal access. Osmatic communication plays a vital role in information sharing and knowledge distribution. Make sure to document the “Tacit Knowledge” that will be repeatedly required. You can use tools such as SharePoint, Wiki etc.,
  4. Co-location is the best approach to execute Agile projects. If this is not possible due to any practical reasons, use tools like Video conference so that it will be useful for knowledge sharing.

Waste #4: Handoffs:

Meaning: Passing the work from one hand to the other after completing the first person’s work.

Possible reasons:  Below are some of the potential reasons for Hands off.

  1. The nature of the tasks required for a story
  2. Teams working from different locations
  3. Lack of visibility of the information

How can you eliminate it?

  1. Sometimes it is unavoidable and different tasks have to be done by different team members (Eg: Analysis, UI, Client side coding, server side coding etc). It is good to have cross functional teams so that over a period of time, the hand offs can be reduced
  2. When teams working from different locations (time zones) if the information is not properly handed over, then this will lead to wait time. So make sure there is proper handover and obtain confirmation from the other side of the team. Also make sure to execute the tasks at one location as much as possible this will reduce the hand off time to the possible extent.
  3. Try to keep important flow charts and wireframes visible and clear. This can be helpful to reduce the hand off time. Your Kanban task board with regular update will really help here along with your “Definition of Done”

Waste #5: Delays:

Meaning: Anything that causes to take more time to deliver a value added activity or delay the beginning of the activity that adds value.

Possible reasons:  Following are some of the reasons for Delays.

  1. Lack of required team members
  2. Unwanted processes
  3. Too many things in progress
  4. External dependencies
  5. Lack of “Value” understanding
  6. Assumptions/clarifications and impediments

How can you eliminate it?

  1. Make sure you have all the required skillset assigned to your project. If you start a sprint without having the required team members with proper skill set it will lead to delays.
  2. Identify only mandatory processes at the beginning of the sprint. For example if you do not need to get the code review for all the code then categorize the code into low complex, medium complex and high complex and send only medium and high complex code for review. This will reduce the “Cycle Time” and increase the process efficiency
  3. Keep only how much you can eat, in your plate and leave the remaining open. This will help the other team members to pick the work based on their skill set and bandwidth.
  4. Make sure to have all required external assistance available on time for your work. For example if you need an external architect review, plan for it upfront. Similarly if you are working with multiple teams from different locations, then encourage to use “Stub based development”. I personally observed when we have VC calls with other teams working from different location, usually VC will not work, you have to waste some time to fix the issue, if it is not fixed in a certain amount time then again you need to make alternate arrangement etc.

One way to tackle the delays in VC calls, the Scrum masters from both teams go to the VC call 2 minutes before and ensure the VC is working fine. Also keep a conference bridge number as backup always and after a fixed time duration (say 5 minutes) spending on VC and if it is not working then move to conference bridge.

  1. Always try to do “Value Stream Mapping” and see what is the value add time and what is non-value add time. This will give you an idea of what is your current process efficiency. Based on the current state of value stream map and by applying lean practices you can improve the cycle time and thereby reduce the delays. Also automate the test cases wherever possible so that it will reduce considerable amount of time when you have to run them recursively.
  2. Make sure you get clarity on your assumptions and inputs for your clarifications in the right time. Raise red flag before you get into danger zone and get proper attention from respective stakeholders. Track your impediments effectively; Scrum Master is responsible to resolve all the team’s impediments.

Waste #6: Task Switching:

Meaning: Team members moving from one task to another without completing the first task properly.

Possible reasons:  Following are some of the reasons for Task Switching.

  1. Interruptions on the ongoing tasks
  2. Lack of ground level analysis on the tasks required for the stories
  3. Shared team working on more than one project at a time
  4. Lack of proper coordination between product owner and development team


How can you eliminate it?

  1. Interruptions could be due to many reasons such as lack of complete information on the task, hardware related dependencies etc. Make sure the tasks are detailed enough in the sprint planning meeting and identify any external dependencies upfront and raise them as impediments and let the scrum master work on them.
  2. Make sure to spend enough time while you split the stories into the tasks during your sprint planning meeting part 2. You need to identify all the possible tasks and also identify the order of those tasks so that you can work on one story until it is completely done without any task switching
  3. Ideally scrum teams should be “dedicated” teams. If you have shared teams then naturally it leads to task switching
  4. If product owner does not provide priority of the stories during the sprint planning, it may lead to juggle between stories during the sprint which in turn lead to task switching. So try to have the stories prioritized by product owner. For this the “Value, Cost and Risk” are the key factors as mentioned above.

Waste #7: Defects:

Meaning: Erroneous functionality that produces wrong output which is not matching with the desired output.

Possible reasons:  There can be numerous reasons for defects; some of them are listed below.

  1. Lack of understanding on the story
  2. Story does not satisfy “INVEST” principle
  3. Lack of engineering practices such as TDD, Refactoring
  4. Missing acceptance criteria
  5. Lack of technical skillset for the team members
  6. Late involvement of testers
  7. Inattention to the automation testing

How can you eliminate it?

  1. Do not jump in to the story development until you have complete understanding of the story. Refer to the 10th agile principle “Simplicity – maximizing the amount of work undone”. Wherever more complexity involved then go with “Specification by Example” approach.
  2. Product owner has to ensure the story should follow INVEST principle. If not, then try to split into more granular stories
  3. Strictly make Test Driven Development, Pair Programming and Refactoring as part of your development plan. These are very powerful engineering practices
  4. Product owner must attach the acceptance test criteria for each story that is prioritized for a sprint. This will help the developer understand the story more in detail from the implementation point of view
  5. Make sure you have right skilled on the team and also have the suitable coding standards and guidelines in place upfront
  6. It is always good to have the testers involved right from the sprint planning stage. It will help them to cover largest possible test coverage which reduces the defects
  7. Make sure to have automated test suite created from sprint #1 itself. For any project a certain number of test cases (sanity tests) will have to run more than once, so making them automated will save time and also reduce the defects

One comment

  1. kishore says:

    Very nice article…

Leave a Reply

Your email address will not be published. Required fields are marked *