SKILLS & TRICKS
On a number of occasions i have come across the issue with Agile Story Points and how the final software output is measured. Though there is no best way to measure a software delivery but a lot of experimentation has been done in the recent years. In this post i will be sharing some of my personal experiences and will try to highlight the Agile Metrics and ISO Standard Measures. I personally feel, both of them can be mixed together to a certain level to measure the output. Without a doubt Agile processes and procedures have brought advantages for speedier delivery of software that meets developing client needs. Be that as it may, the opportunity given to individual teams to manage their own processes has made it difficult to manage the activities across Agile teams – what we call managing ‘Agile-at-scale’. To be specific, Agile metrics such as Story Points, may be used by individual teams to manage their own affairs but are very little help for the tasks of planning and monitoring progress across teams, for understanding performance and whether it is improving or not, and for estimating future investments. Senior management is responsible for setting budgets and allocating resources optimally so as to deliver the greatest value to the organization, and for tracking progress against budgets across the organization. This cannot be done properly for a software group using only typical Agile processes where there are no common performance data across all the teams. These management tasks become even more difficult for an organization that has contracted out its software development to external suppliers that use Agile processes, but that do not use any standard performance measures. I have come across a number of organizations who lack in defining individual, team and product level KPIs to achieve a target - though they do achieve something but not precisely hitting the nail with the hammer. In this post i'll try to explain the challenges that management faces when confronted with the limitations of Agile metrics. I'll try to show some of the stuff which has been experimented, how simple but effective and long-established ISO standard software measures can fit seamlessly into Agile processes to enable managers to estimate and control Agile delivery at scale. This can be achieved without needing to change any of the underlying Agile processes, and whilst continuing to obtain the benefits that Agile teams can bring in the speed and flexibility of delivering business value. Agile Processes and its BenefitsThe Agile Manifesto has caused a revolution how software should be delivered. This revolution is clearly bringing great benefits to software customers in the form of:
There is also evidence that Agile adoption is reducing the cost and incidence of complete project failure. Agile processes help ensure that if a development is going to fail, it will ‘fail-early’. This is a big step towards overcoming the endemic software industry problem of frequent and expensive project failures. Blunders in Agile Measurement MethodsAgile teams aim to plan and control their own progress using internal team metrics of which the ‘Story Point’ is the most common. However, there is no objective definition of one Story Point. A Story Point has been said to represent ‘the size or difficulty’ to deliver one User Story. This mixes two separate concepts and gives no clue to Agile Practitioners or Managers on what is one Story Point and how to measure it. As a consequence, each team decides for itself what it considers as one Story Point, which becomes its own unit for estimating ‘how big is the task?’ In practice, this gets interpreted as ‘how much effort do we estimate will be needed to deal with the task’. One Story Point is commonly established as, for example, one estimated work-day. Even if all teams in an organization adopt this convention, it then follows the so-called measure of team ‘velocity’ (Story Points per actual work-day) is really a measure of the team’s estimating accuracy. In no sense is this a measure, as its name would imply, of a team’s ‘speed’ or ‘productivity’. Furthermore a ‘velocity’ measure is meaningful only within the individual team because teams inevitably differ in their real productivity. Hence measurements of team velocities cannot be relied upon to compare real productivity across teams nor to estimate effort for new software to be built by multiple teams. The meaning of ‘team velocity’ may even drift over time as team membership and real productivity change. The process of arriving at a Story Point size for a given User Story – e.g. ‘Planning Poker’ - is valuable, primarily for helping the team understand the requirements. I have no wish in this post to challenge this aspect of the process. And the use of Story Points for internal team purposes of estimating the next iteration may be satisfactory as far as the team is concerned. But Story Point ‘sizes’ are just not suitable for performance measurement and estimating tasks over and beyond individual teams, i.e. for the needs of managing ‘Agile-at-Scale’. Every organization has such needs to plan for the medium-term and beyond, to budget, to track organizational learning, to enter into software contracts, etc. To manage these higher-level tasks properly, an organization needs an objective, standardized way of estimating and measuring its software output that is valid for all its types of software and that is independent of the technology being used and the efficiency of its developers. Long-established standard software sizing methods satisfy all Agile-at-scale needs. These methods measure software sizes that:
The SolutionSoftware Functional Sizing MethodsThe idea of measuring a size of the functional requirements of software originated over three decades ago. Nowadays, three ISO standard software sizing methods, the COSMIC , IFPUG , and Nesma methods are used around the world to measure the requirements of all types of software, developed in all types of environments. Each method claims its own advantages. All three software sizing methods require actual functional requirements to be mapped to their respective model of software which can then be measured. Below image shows the model used by the COSMIC method. The second image shows the model used by the IFPUG and Nesma methods. (In both diagrams, the requirements in bold must be identified and measured to obtain the functional size.) COSMIC MODEL IFPUG / NESMA MODEL Agile Activities and Software MeasurementTo discuss the question of when to measure the size of delivered software, it is helpful to distinguish three levels at which estimates and performance measurements are needed. The below image which is loosely derived from the SAFe framework for managing Agile activities. Managing Agile at Scale In simple terms, proper estimation, planning and control at the System and Release levels is only possible using objective measures of functional size. Early functional size estimates for a new System or Release can be combined with performance measurements on comparable completed activities to set a budget, to plan its development, allocate resources and establish a basis to control the software scope. At the team level there is a choice between using a functional size measure or continuing to use existing Story Points. A combination of approaches seems likely to be most successful and acceptable to Agile teams. For example:
Note: Some organizations use a standard software sizing method to measure delivered software and for estimating effort at all levels from single User Stories all the way up to whole deliverables at the Iteration or Release levels. Each organization should choose the approach it feels most comfortable with for estimating User Stories (Story Points or functional sizes) at the team level. Estimation with Functional SizesEstimating the effort to deliver a new set of requirements at the System, Release or Iteration level of aggregation requires an estimate of the size of the software product to be delivered at that level, combined with ‘real’ productivity (not ‘velocity’) data from comparable previously-delivered software at the same level. Setting up these estimating processes must be done carefully, especially for the following points.
Contracts with Agile ProcessesWhen there is a contractual relationship between Customer and Supplier it is common for Suppliers of Agile development capacity to argue for a contract based on Time and Materials (T&M). A supplier’s reasoning would be that if the Customer wishes to start an Agile development before much is known of the requirements, it is impossible to bid on any other basis than to offer day-rates for staff with various levels of promised skill. However, pure T&M contracts are extremely unbalanced. A T&M contract is 100% safe for the Supplier – he gets paid no matter what he delivers - but leaves the Customer with only the total budget as a control on cost. There is no mechanism for the Customer to judge whether progress payments can be justified, whether the Supplier’s performance is improving or deteriorating over time, and whether the Supplier is providing value-for-money for the delivered functionality. A solution that helps balance the negotiating strengths between Customer and Supplier is to contract on the basis of ‘price/unit size’ where the size of delivered (or developed) functionality is measured by a standard software sizing method. The customer then takes the risk on the total size of his requirements; the Supplier takes the risk on the offered unit price. However, even for this arrangement to work, a Customer will have to define some of his requirements before a Supplier can reasonably bid a unit price, and will remain responsible for ensuring that delivered functionality translates into business value (which is possible only when the functionality is used). And both parties will need to agree when ‘done’ functionality can be measured and can be invoiced. Practically this can be only implemented if the customer is mature enough and does know the concept of software measurement and also has some level of working relationship with the supplier. Standard Software Size Measurement MethodThere is evidently a ‘clash of cultures’ between the values of individual self-organizing Agile teams and the values and justified control needs of higher management. So if management wishes to introduce a standard software sizing method into an existing Agile development group, the Agile culture must be carefully taken into account so as not to disrupt teams and risk losing the benefits of Agile processes. The most important questions are when to do the measurements and who will do them. The answer to the ‘who’ question depends on the scale of the organization and the relationship (contractual or informal) between the software customer and the Agile development teams. Ideally, teams should do their own measurements and see software size measurement as an integral aid to Agile processes, not as an overhead. (Experienced users of standard software sizing methods find that measuring can also help control the quality and completeness of requirements.) However, at the level of planning releases or whole deliveries in a large organization, and/or in a customer-supplier contract situation, and/or in the early stages of introducing a software sizing method, it will probably be beneficial to use a group of measurement experts, either:
The advantages of using an expert group of measurement specialists will be their objectivity, speed and accuracy of the measurements. Whichever organizational solution is adopted, it is vital that the measurement data is collected centrally for shared use and as a basis for organizational learning. As to how to introduce a software sizing method to an organization that lacks experience in these methods, it is definitely preferable to proceed in a ‘bottom-up’ manner. In other words, start by introducing the software sizing method at the team level in a pilot project. Roll out sideways and then upwards (to the Release and System levels) as satisfactory results are obtained and the organization gains confidence. Summary
ConclusionSetting targets and budgets, and measuring performance against these goals is absolutely standard practice in every type of business, private or public, large or small. There is no reason why Agile software development activities should be excepted from these standard business practices.
Story Points are very little help for controlling or estimating Agile activities at levels above individual teams. Measures of functional sizes can be used for these purposes and can be easily substituted for the use of Story Points at these higher levels, without any negative effects on the value of Agile processes. At the level of individual User Stories and Iterations, each organization may decide for itself whether it is preferable to use a standard software sizing method or to continue to use Story Points for short-term estimating. Introducing a standard software sizing method into an established Agile development group must be handled carefully, as a typical change management project. The aim must be to convince the organization of the collective benefits of using objective control and estimating methods without upsetting the Agile culture and losing the benefits of the speed and flexibility of Agile processes in delivering software.
0 Comments
Leave a Reply. |
Archives
February 2020
Categories
All
|