Understanding the root causes of poor software requirements
If I had a nickel for every time I've heard a developer complain about poor quality requirements, I'd... well... have a lot of nickels. Let's look, for a moment, at the root causes of poor requirements and business rules. While I consider this to be a business problem, and not a technology problem per se', I'll use root cause analysis (discussed in a prior post) to organize the analysis.
The problem, as perceived by developers, can be quoted this way:
Problem Statement: The requirements for software, as delivered by typical business analysts, is not sufficiently clear, insightful, or well understood to develop software systems that meet the needs of business users.
There is an assumption here. One that I won't challenge (today) but one that probably should be qualified:
Assumption: Improving the quality of software requirements will have a net positive effect on the quality, reliability, applicability, usability, and value of custom software as perceived by the business users who use it.
Interesting assumption, that one. Perhaps fodder for a later blog post.
So, how do we help software developers deliver timely valuable code without driving the business users crazy with technical details that they'd rather not bother with or understand? Let's look at the causes of our problem.
What follows is a (long) root cause analysis of "poor" software requirements. This can be used to understand the problem, which is the first step to addressing it.
How to read this analysis:
Each entry is seen as a "cause" of the problem. Indented below each are the answers to the question "why" or "what is the cause of this cause?" As you read this list, insert the word "because" at the start of every sentence.
The text may look a little odd because of the indenting. An analysis like this looks good on an Ishikawa diagram, but that's pretty tough to do on a blog. The ultimate goal is to ask why five times, or to get to five levels deep. The numbering does not go from 1. to 1.1 to 1.1.1 as the levels increase. That is due to a limitation of my blogging tool. I also don't go to "five levels deep" in many areas when there is no value in doing so.
Note: A SME is a Subject Matter Expert. An Analyst will gather requirements from a SME, but may then need to review those requirements with other business stakeholders.
Problem: The requirements for software, as delivered by typical business analysts, is not sufficiently clear, insightful, or well understood to develop software systems that meet the needs of business users.
- Business stakeholders may not believe that it is important to invest time in creating clear, unambiguous requirements.
- Business stakeholders perceive "requirements collection" as a time consuming activity
- When an analyst starts to collect requirements, they require a LOT of hand-holding.
- Analysts may not routinely understand key aspects of the business.
- The business may change in ways that the analyst is not aware.
- The analyst may not remember key aspects of the business that they may have seen in the past.
- The analyst may not have made an effort to learn or understand the business.
- The analyst may not be able to get sufficient face-to-face time with business SMEs due to geography, language, time zones, or security policy.
- Business SMEs may find themselves explaining the same things, over and over, to different analysts.
- Analysts need deeper understanding than is available from orientation courses.
- Analysts are unable to document the business with sufficient clarity to benefit other analysts.
- Analysts may not be motivated to create documentation for other analysts.
- Turnover in the analysis team may be high, causing the need to "re-explain" key concepts.
- Analysts often ask questions where the answers have not been decided yet, especially for new business programs or innovative new products.
- Business SMEs may not trust Analysts in meetings with high-ranking executive SMEs
- Analysts may suggest a change that will cause a business leader to lose power or prestige.
- Analysts may question a leader's pet project or assumption.
- Analysts may suggest a change to business that, if performed, would drive a great deal of effort and cost on the part of a person who does not want to do that work.
- When an analyst collects requirements, s/he takes a long time to write things down.
- The steps involved in documenting requirements may seem arcane or unclear to the business stakeholder.
- Business stakeholders may underestimate the amount of time it takes to write good requirements.
- Business stakeholders may not be aware of the contributions (and delays) of other business stakeholders in the requirements gathering process.
- The analyst may be using his or her time in an inefficient or ineffective way.
- The analyst may be working on many projects at one time, may be working part time, may be playing many roles, or may have some other reason why they cannot dedicate full time to documenting requirements.
- When a business stakeholder reviews the requirements, it takes a long time to validate them.
- Requirements are written in a "funny way" that takes getting used to.
- The business stakeholder may delay the start of the review process
- Requirements documents may be quite lengthy, and the business stakeholder may feel the need to try to tackle the document in one sitting.
- The business stakeholder may benefit from delaying or sabotaging the analysis effort.
- The business stakeholders' immediate superior may request a delay in the start of the review effort.
- Business stakeholders may not place a high priority on validating requirements, which slows the process down.
- Placing a high priority on reviewing requirements may cause friction for a business stakeholder that is involved in "competing" activities.
- The review process may be perceived as an ineffective use of the stakeholder's time.
- Business stakeholders may delegate the effort of validating requirements to a person that is not qualified to make decisions, thereby delaying the validation process.
- Time spent in developing requirements does not seem to improve business operations in other ways.
- No other part of the business gets value when a business SME spends time talking to an analyst.
- Business SMEs may feel that providing requirements does not add value to the stakeholder's other responsibilities.
- Business SMEs are often interrupted in their daily activities to provide requirements.
- Business SMEs may feel unprepared to provide useful information.
- Business SMEs may fear reprisals if they provide a bad requirements, so it may be politically risky to share a requirement.
- No other part of the business gets value out of reading the written software requirements.
- The detail required by software people is not interesting to others.
- Requirements are written in long terse sentences that will put an insomniac to sleep.
- Collected software requirements are not useful for driving other business efforts.
- The business stakeholder cannot tell when to invest time or resources in producing good requirements and when the investment is wasted.
- The connection between poor requirements and defects is poorly understood.
- Business stakeholders may not believe that a defect is caused by a poor requirement.
- Developers have a difficult time determining if a defect will be easy to fix. It can take days, or weeks, just to figure out how hard a fix will be.
- Developers may argue that a defect that is caused by a poor requirement is not a defect, but rather a change request, forcing the issue to be addressed in a different way altogether.
- When presented with a defect, a business stakeholder is rarely able to see the requirement that led to it.
- Business stakeholders do not understand how to identify which kinds of requirements need the most attention in order to have the best impact on defect rates.
- IT professionals do a poor job of guiding business stakeholders to focus on the requirements that will most impact the cost and quality of a solution.
- Business analysts often do not understand which requirements will "drive costs" and which will not.
- Simple cost analysis tools do not exist.
- Simple formulas, methods, or procedures do not exist for this kind of outcome.
- Where tools methods and processes do exist, few analysts know about them.
- Business analysts present information in a manner that does not highlight "cost driving" requirements
- The most common tools for collaborating on requirements are Excel and Word, which do not have features specific to requirements gathering.
- Most business stakeholders have no way of easily reshuffling, highlighting, sorting, or prioritizing requirements, so they cannot use their own concerns to select the requirements to review.
- Business analysts may not add sufficient value in the collection and analysis process to drive down software defects.
- Many business analysts may not be aware of how to add value to business requirements.
- The business analyst may be poorly trained or may not have sufficient experience.
- The organization may not have invested in training and support for the business analysis role.
- The analyst may be new in his or her role.
- The analyst may not have sufficient basic skills in business or computing to be able to perform the role at all.
- Effective training and practices may not be available to the analyst.
- Long term studies on specific best practices in business analysis are lacking.
- Shared training and leadership in the business analysis profession is just getting started.
- Many business analysis efforts are understaffed, have poor tools, or insufficient time to add substantial value.
- The project manager who planned the analysis may not understand the amount of effort needed to collect proper requirements.
- It may take longer than estimated, or be more difficult than expected, to collect requirements, causing a budget squeeze on the amount of time and money that can be spent on them.
- The project manager who planned the analysis effort may benefit in other ways by intentionally undercutting the time, resources, or tools for analysis.
- Many business analysis efforts do not have sufficient access to key decision makers to add the right amount of value.
- Interaction with business analysts may be delegated to people who cannot make decisions.
- Business analysts may be seen as outsiders, causing the organization to keep them at bay.
- Key decision makers may have prior bad experiences with IT professionals, creating a culture of "Avoid IT"
- Business stakeholders may oppose the effort of business analysts to add value to the requirements
- Adding value to the requirements may increase the cost to the business.
- The business may need to commit more resources to validate the requirements if the analyst adds value to them.
- The analyst may need to access more stakeholders and SMEs, for a longer period of time, to add value to the requirements.
- The analyst may need to use data gathering means like surveys or travel that incur costs in order to add value to the requirements.
- Business stakeholders may oppose the efforts of an "outsider" to analyze or document their business beyond basic software requirements gathering.
- An existing resource within the business may be responsible for business analysis, business modeling, strategic development, or process improvement who would perceive additional analysis efforts as "overlapping" or wasteful.
- Business leaders may fear the political consequences of allowing an outsider to see, and document, how their business operates.
- The business stakeholders may not trust the interpretation of requirements written by an analyst.
- The analyst may use different words than the business does. The business stakeholder may not trust or understand those terms.
- The analyst may have chosen to use different words than the business stakeholder to improve consistency between various requirements, between stakeholders of the project, or with other projects in the same line of business.
- Analysts may elect (or be forced) to use standardized terminology that the business stakeholder is not familiar with.
- The analyst may draw conclusions about the business model or business processes that the business stakeholder does not agree with.
- The analyst may lack the authority to draw the cited conclusion.
- The analyst may be recommending a change in the business that the business stakeholder believes will not work, or will work against current company policy or strategy.
- The analyst may lack the sufficient business acumen to explain their conclusions well.
- The analyst may lack the sufficient situational awareness to recognize the political or organizational implications of delivering the conclusion.
- The analyst may be using a different underlying paradigm of business or economics than the business stakeholder.
- The analyst may elect (or be required) to use a requirements gathering methodology that the business stakeholder does not like or agree with, leading to a lack of trust in the conclusions.
- The methodology may ask questions that the business stakeholder is not prepared to answer or that the business stakeholder believes will produce an incorrect conclusion.
- The methodology may assume that the business stakeholder is more knowledgeable, empowered, or self aware than he really is, producing conclusions that the business stakeholder cannot agree with (or, in some cases, understand).
- The methodology may involve people (internal or external) that have a stake in the failure of the particular business stakeholder, or that part of the business.
- Business stakeholders may not want to see contradictions in their business highlighted in text by a business analyst.
- The business stakeholder may benefit from those contradictions for their continued success. For example: A business stakeholder may want to protect a business program funding model that allows "shadow" projects to be funded, even if the system being described calls for accountability, visibility, openness, and a fair funding model.
- The business stakeholder may have been responsible for removing a problem in the past, and they may have declared the problem "solved." Any conclusion by an analyst that suggests that the problem still exists will work against their credibility with their own manager.
- Business stakeholder may benefit from structure within their business that they do not want an analyst to call attention to.
- The business stakeholder may believe that their success rests on controlling a particular business capability, even if doing so is skirts company policy. For example, a business leader may have created a marketing team or IT team within their own business, even when the executives have issued directives to remove these independent units and consolidate to a central function.
- The business stakeholder may have a responsibility that other parts of the business do not want him or her to have. For example, the business stakeholder may be chartered to complete a project that their business unit is not, technically, supposed to be working on.
- Software developers may not invest sufficient time and effort in understanding the requirements.
- Requirements may be difficult for developers to read and understand.
- Developers may be daunted by a large requirements document. (see related cause 3.5 below).
- The format, delivery method, or structure of the requirements document may force the developers to consume it in paper form, HTML form, or some format that the developer finds non-navigable.
- Security or access restrictions on the document may make it difficult for the developers to consume and remember the document of the size delivered.
- Developers may not understand the text of the requirements document.
- In some cases, the developers may not natively speak the language that the document is written in, reducing comprehension. (example: developers in China reading a requirements document written in German).
- The requirements document may have been translated from one language to another, causing a loss in readability.
- The analyst may be writing the requirements in a language that they are not sufficiently skilled to write in, creating grammar and logic errors that reduce readability. (example: an analyst from the USA who speaks French poorly, writing in French for a French IT group to use).
- The analyst may have written the text in a logically inconsistent manner. In other words, errors in thinking or structuring the information may come through, making the business requirements difficult to understand.
- The writing style, grammar, punctuation, formatting, or layout used by the analyst may be difficult for the developers to accept or consume. For example, the developers may prefer a particular numbering style or indention rules that the analyst did not follow. Culture may play a role in the consumability of the requirements document.
- Developers may not understand the cultural context of the requirements.
- The software system may be intended for users in other parts of the world than the developers are familiar with. As a result, statements in the document may be perplexing or vague when taken out of the context of the culture in which the software will be used. (example, an IT division in the USA building a system marketed to Japanese accountants).
- The software system may be intended for users in other parts of the enterprise itself where business cultural rules drive specific business policies. If a developer is not familiar with those business cultural rules, even if the users live in the same country, the requirements themselves may be perplexing or vague. (example: an IT division that provides services to an airplane manufacturer that builds both military and civilian aircraft).
- The business terms and concepts in the requirements document may be unfamiliar, inconsistent, non-standard, or poorly defined.
- The document may not contain sufficient information about what the terms are, what they mean, or how one term relates to another. (Example: a requirements document may describe the need for the CCC division to access a particular report, without either defining what the acronym means or making it clear that "account managers" may work for both the CCC division and the LJM division).
- The developers may have used some of the same terms in a different way, requiring them to unlearn their prior understanding in order to adopt the unique definitions in the requirements document.
- The terms and concepts may be inconsistently described or applied. Example: one part of the document may describe requirements for an "administrator" while another part of the document may describe an "account manager" when the business intended to describe only one role, or the business process calls for only one role.
- The terms and concepts may have more than one meaning and it is not clear which meaning is being implied. For example, the requirements may refer to "services" provided to customers and "service levels" applied to system reliability, without differentiating the use of the term "service."
- The business context of the requirements may be unfamiliar to the developers.
- The developers may not understand how the business itself makes money, how the partners make money, or how the products/services of the business are positioned in the marketplace.
- The developers may not understand what externally generated rules or regulations are influencing the business decisions that show up in the requirements.
- The developers may not understand the business strategies being implemented or how those strategies are supposed to produce results for the company. For example, if a business leader decides that their products should be introduced at a particular price point in order to beat a competitor, that may lead to the need to keep the costs of a particular customer service process very low, driving specific software requirements. Without tracability to the business strategy, the developer may not understand the need to automate the entire process to the exclusion of a small number of potential customers.
- The business processes described in the requirements may be incomplete, poorly described, or inconsistent.
- The business processes themselves are chaotic, inconsistent, ad hoc, or flawed.
- The business may not have a consistent set of roles and responsibilities defined.
- The analyst was unable to get a consistent explanation of the business process.
- Business may not have experts that understand the business processes from end to end.
- Business SMEs may not be available to the analyst to explain or validate the business process models.
- The business stakeholders may benefit from keeping the business process hidden or obscured.
- The business analyst may not have sufficient skill or training to produce effective business process models.
- The business analyst may not have had sufficient time or resources to describe business processes.
- The inclusion of business processes in a requirements document may not have been adopted as a practice within the particular enterprise.
- Developers may not understand the diagrams used in the requirements document.
- The developers may not be familiar with the diagramming notation used by the analyst.
- The analyst may not have used a standard diagramming language like BPMN or UML to capture information.
- The analyst may have used a standard notation in a novice or inconsistent manner.
- The developers may not have sufficient skill or training to read the diagramming notation.
- The developers may not find the diagrams to be useful for understanding software requirements.
- The diagrams may illustrate information that is not important to the developer who is consuming it.
- The diagram may illustrate information from a viewpoint that the developer does not understand.
- The diagrams may be include objects of different types that do not make sense to combine.
- The diagrams may introduce concepts that are not explained in the text.
- The diagrams may actively contradict the accompanying text or may not be explained at all in the accompanying text.
- Important content within the diagrams may be obscured, missing, or difficult to find.
- Analysts may have made poor use of color, losing content when printed in black and white, or when consumed by color-blind developers.
- Analysts may have included too much or too little text on the diagrams.
- Analysts may have mixed many concerns onto a single diagram, making the diagram needlessly complex.
- Analysts may use a metaphor in the diagrams that the developers are not familiar with, or find confusing or offensive.
- Requirements are boring and tedious to understand
- Analysts may adopt a "special language" for describing the requirements that feels unnatural or fails to illuminate the requirements.
- The "special language" may require sentences to written in a restricted subset of the language. Flaws in the methodology may produce some "requirements statements" that are convoluted or difficult to understand using that restricted subset.
- The software developer may not be familiar with the need for accuracy in requirements, causing them to reject "special languages" as unnecessary overhead, reducing the effectiveness of communication.
- Analysts may have adopted a "special language" in an inconsistent or novice manner, making it difficult for the intent of the requirement to be understood because the developer stumbles on flaws in the writing.
- Requirements are usually written in terse, humorless prose with few diagrams
- Embedded jokes may offend a stakeholder.
- Light-hearted or pleasantly written requirements text may be perceived by stakeholders as "not taking the problem seriously."
- Analysis may fear that developers will dismiss a requirement as "nonsense" if it is pleasantly written.
- Analysts may lack the skills to write requirements in a more engaging manner.
- Analysts may lack the skills to create useful diagrams to illustrate the requirements.
- Existing diagramming methods may not have been adopted by the organization.
- Requirements documents may place emphasis on sections of text that do not illuminate the problem.
- Requirements may be written in a manner that reflects the political desires of the business decision makers that need to approve it, causing emphasis to be placed on elements that the business leader considers valuable, rather than elements that developers would consider valuable.
- Requirements may be written in a manner that intentionally obscures flaws or defects in the business processes or business structure. Obscuring these details may require that specific business rules or descriptions are written in a vague or incomplete manner.
- It may be difficult to describe how requirements specifically translate into design
- The design process may be seen as a creative process that is inspired by, but not tied to, requirements.
- The developers may find it difficult to tie specific aspects of the design to requirements.
- The developers may use reference architectures or patterns that have features that exceed the requirements.
- The developers may not understand which feature of a reference architecture specifically suits a requirement.
- Processes, methods, and formulas for deriving design from requirements may not be commonly accepted or widely followed within the enterprise.
- Standards of the organization may introduce requirements that must be met, but which the developer feels that they cannot justify to the business stakeholder.
- Developers may feel that the analyst has missed a requirement and therefore may add a design element to meet the "shadow requirement" without documenting the requirement itself.
- It is difficult and time consuming to insure that a design will meet requirements.
- The tools in use by the organization make it difficult or impossible to tie specific requirements to specific aspects of the design.
- Organizations may not have adopted standard methods or practices for connecting requirements to design.
- Developers may not be rewarded for spending time connecting requirements to aspects of the design.
- Tracing design to requirements may not be an activity expected within the organization.
- Developers may not view the activity as valuable.
- Project managers and project leaders may not be aware of the effort or value of the activity.
- Business stakeholders may not be aware of the value of demonstrating tracability in design.
- Project leaders may view the activity as "more expensive than beneficial."
- More than one design may have been considered, driving up the cost of tracability for each design considered.
- Developers may have made an intentional tradeoff that allow some requirements to go unmet.
- Requirements may be changing as the design process, making it frustrating for the developer to tie requirements to design.
- Iterative design processes allow some requirements to be left out of consideration until a later time. At the end of iterative design timeframe, the project team may not have funds to deal with requirements that remain unmet by any design candidates.
- Requirements may contain details that any particular software developer is not interested in
- The organization's requirements management tools may not allow the software developer to select the requirements that are salient for him to understand.
- The organization may have adopted the practice of "write down everything" in an effort to improve requirements, triggering information overload.
- The project manager may not have allocated sufficient time or resources for developers to understand requirements
- The project manager may not understand the process or the difficulty involved with understanding requirements.
- The budget for the project may not allow for sufficient time spent on understanding requirements.
- The organization may not culturally value the effort of understanding requirements.
- The developers may be using inefficient means to understand requirements.
- The tools and techniques in use by the enterprise may make it more difficult for the developers to understand the requirements.
- Software developers may resist reading or understanding a particular requirement or set of requirements
- Since requirements change, developers may feel that it is a waste of time to invest in understanding them.
- Developers may want to substitute their own judgement for the judgement of the business stakeholders and analysts
- Some developers may recognize common problems that the analyst did not describe, or may wish to bring insight from other experiences.
- If a developer does not understand a requirement, it is often simpler to substitute a different requirement (or ignore it) than to invest in understanding it.
- The developer may not trust the analyst, or the business stakeholder, to correctly describe the problem.
- A developer may not see the value in investing time and effort in understanding a requirement.
- Software developers may not have been trained on the implications of poorly understood requirements.
- The organization may inadvertently reward developers for not spending time to read requirements.
- Software developers may not be measured on the number of defects they produce.
- Many organizations place an emphasis on the test team, not the development team, to insure that a system meets requirements.
Whew. That list is long, and probably missing a few things, but it is a fairly good attempt at describing the root causes of "poor software requirements." (There are 149 listed 'causes' of poor software requirements in the list above, only counting the leaf levels of the analysis).
Some takeaways from this effort:
- Skills and training show up many times. Select or develop standards and then train staff members to use them.
- Creating useful requirements that get used... easy to say, hard to pull off, especially with so many potential roadblocks.
- Good, inexpensive, well thought out, requirements management tools can fix many of these problems.
Posted: Wednesday, February 18, 2009 1:03 PM by NickMalik
Inside Architecture : Understanding the root causes of poor software requirements
No comments:
Post a Comment