Velocity (software development)
{{More citations needed|date=May 2018}}
{{Software development process}}
Velocity is a metric for work done, which is often used in agile software development.{{Citation
|publication-date = 2013
|title = Essential Scrum. A Practical Guide to the Most Popular Agile Process
|language = EN
|last = Rubin
|first = Kenneth
|publisher = Addison-Wesley
|isbn = 978-0-13-704329-3}}
Measuring velocity is sometimes called velocity tracking.{{cn|date=October 2018}} The velocity metric is used for planning sprints and measuring team performance.
Principle
The main idea behind velocity is to help teams estimate how much work they can complete in a given time period based on how quickly similar work was previously completed.{{Citation|title=Glossary of scrum terms: Velocity|url=http://www.scrumalliance.org/articles/39-glossary-of-scrum-terms#1110|archive-url=https://web.archive.org/web/20101129205330/http://scrumalliance.org/articles/39-glossary-of-scrum-terms#1110|access-date=2010-09-24|archive-date=2010-11-29|url-status=dead}} Velocity is relative measure. In other words, the raw numbers mean little; it is the trend that matters.{{Citation|title=Agile 101: Agile Software Development Velocity|url=http://www.versionone.com/Agile101/Velocity.asp|archive-url=https://web.archive.org/web/20101002143937/http://www.versionone.com/Agile101/Velocity.asp|publisher=VersionOne.com|language=en|access-date=2010-09-23|archive-date=2010-10-02|url-status=dead}}
Terminology
The following terminology is used in velocity tracking.
; Unit of work: The unit chosen by the team to measure velocity. This can either be a real unit like engineer-hours, engineer-days or Product Backlog Items (PBI), or story points.{{Citation
|title = Measures of size
|publisher = agilesoftwaredevelopment.com
|language = en
|url = http://agilesoftwaredevelopment.com/2006/12/measures-of-size
|access-date = 2010-09-24
|archive-url = https://web.archive.org/web/20101026030031/http://agilesoftwaredevelopment.com/2006/12/measures-of-size
|archive-date = 2010-10-26
|url-status = dead
}} Each task in the software development process should then be valued in terms of the chosen unit.
; Interval: The interval is the duration of each iteration in the software development process for which the velocity is measured. The length of an interval is determined by the team. Most often, the interval is a week, but it can be as long as a month.
Criticism
One problem with velocity is that it conflates work done with planning accuracy. In other words, a team can inflate velocity by estimating tasks more conservatively. If a team says that a task will take four hours or is worth 4 points instead of taking two hours or being worth two points, their velocity will look better (sometimes called point inflation).{{cite web |url=https://innolution.com/resources/glossary/point-inflation |title=point inflation |publisher=innolution.com |access-date=2019-06-06}}
A second problem with velocity is that it does not take quality, alignment with user goals or priority into account. Velocity can be increased by neglecting good design, refactoring, coding standards and technical debt. Simply completing features as quickly as possible increases velocity regardless of quality. Similarly, velocity includes work done regardless of the benefits of that work. For example, building a feature no one wants or needs still counts as "work done” and completing a work unit which moves away from a user goal such as ease of use is movement in the opposite of the direction desired.{{Citation needed|date=May 2018}}
A third problem with velocity is that it is often misused as a measure of efficiency or team performance. Velocity is a metric of work done, not efficiency. Velocity can be increased by working overtime or adding team members, neither of which necessarily increase efficiency or performance.{{Citation needed|date=May 2018}}
References
{{Reflist|colwidth=35em}}