Programming productivity

Last updated

Programming productivity (also called software productivity or development productivity) describes the degree of the ability of individual programmers or development teams to build and evolve software systems. Productivity traditionally refers to the ratio between the quantity of software produced and the cost spent for it. Here the delicacy lies in finding a reasonable way to define software quantity.

Contents

Terminology

Productivity is an important topic investigated in disciplines as various as manufacturing, organizational psychology, industrial engineering, strategic management, finance, accounting, marketing and economics. Levels of analysis include the individual, the group, divisional, organizational and national levels. [1] Due to this diversity, there is no clear-cut definition of productivity and its influencing factors, although research has been conducted for more than a century. Like in software engineering, this lack of common agreement on what actually constitutes productivity, is perceived as a major obstacle for a substantiated discussion of productivity. [2] The following definitions describe the best consensus on the terminology. [3]

Productivity

While there is no commonly agreed on definition of productivity, there appears to be an agreement that productivity describes the ratio between output and input:

Productivity = Output / Input

However, across the various disciplines different notions and, particularly, different measurement units for input and output can be found. The manufacturing industry typically uses a straightforward relation between the number of units produced and the number of units consumed. [4] Non-manufacturing industries usually use man-hours or similar units to enable comparison between outputs and inputs.

One basic agreement is that the meaning of productivity and the means for measuring it vary depending on what context is under evaluation. In a manufacturing company the possible contexts are: [3]

As long classical production processes are considered a straightforward metric of productivity is simple: how many units of a product of specified quality is produced by which costs. For intellectual work, productivity is much trickier. How do we measure the productivity of authors, scientists, or engineers? Due to the rising importance of knowledge work (as opposed to manual work), [5] many researchers tried to develop productivity measurement means that can be applied in a non-manufacturing context. It is commonly agreed that the nature of knowledge work fundamentally differs from manual work and, hence, factors besides the simple output/input ratio need to be taken into account, e.g. quality, timeliness, autonomy, project success, customer satisfaction and innovation. However, the research communities in neither discipline have been able to establish broadly applicable and accepted means for productivity measurement yet. [1] The same holds for more specific area of programming productivity.

Profitability

Profitability and performance are closely linked and are, in fact, often confused. However, as profitability is usually defined as the ratio between revenue and cost

Profitability = Revenue / Cost

It has a wider scope than performance, i.e. the number of factors that influence profitability is greater than the number of factors than influence productivity. Particularly, profitability can change without any change to the productivity, e.g. due to external conditions like cost or price inflation. Besides that, the interdependency between productivity and profitability is usually delayed, i.e. gains in productivity are rarely reflected in immediate profitability gains are more likely realized on the long-term.

Performance

The term performance is even broader than productivity and profitability and covers a plethora of factors that influence a company’s success. Hence, well-known performance controlling instruments like the Balanced Scorecard do include productivity as a factor that is central but not unique. Other relevant factors are e.g. the customers’ or stakeholders’ perception of the company.

Efficiency and effectiveness

Efficiency and effectiveness are terms that provide further confusion as they themselves are often mixed up and, additionally, efficiency is often confused with productivity. The difference between efficiency and effectiveness is usually explained informally as efficiency is doing things right and effectiveness is doing the right things. While there are numerous other definitions, [3] there is a certain agreement that efficiency refers to the utilisation of resources and mainly influences the required input of the productivity ratio. Effectiveness on the other hand mainly influences the output of the productivity ratio as it usually has direct consequences for the customer. Effectiveness can be defined as "the ability to reach a desired output".

Generally, it is assumed, that efficiency can be quantified, e.g. by utilization rates, considerably more easily than effectiveness.

Quality

Tangen states: "Improvements in quality, other than the fact that no-fault products add to output levels, ought not to be included in the concept of productivity." [3] However, most of the classic literature in non-software disciplines, especially in the manufacturing area, does not explicitly discuss the role of quality of the output in the productivity ratio. [6] More recent works from non-manufacturing disciplines have a stronger focus on knowledge, office or white-collar work and hence increasingly discuss the role of quality with respect to quality. [5] [1] [7] [8] [9]

Drucker stresses the importance of quality for the evaluation of knowledge worker productivity: "Productivity of knowledge work therefore has to aim first at obtaining quality—and not minimum quality but optimum if not maximum quality. Only then can one ask: "What is the volume, the quantity of work?"" [5]

Saari captures the importance of quality with his extended formula for productivity: [8]

Total productivity = (Output quality and quantity)/(Input quality and quantity)

However, it appears that these efforts to include the quality in the determination of productivity did not lead to an operationalizable concept yet. It currently remains unclear how to quantify the vague terms “Output quality and quantity” as well as “Input quality and quantity”, let alone to calculate the ratio.

State of the art

In software development things are more complicated than in the production of goods. Software development is an engineering process.

COCOMO II

Boehm was one of the first researchers that systematically approached the field of software productivity. His cost estimation model COCOMO - now COCOMO II [10] - is standard software engineering knowledge. In this model, he defines a set of factors that influence productivity, such as the required reliability or the capability of the analysts. These factors have been widely reused in other similar productivity approaches. The rest of the model is based on function points and finally source lines of code (LOC). The limitations of LOC as a productivity measure are well-known.

Jones's software productivity

Jones is the author of a series of books on software productivity. Besides several theoretical considerations his main contribution is the systematic provision and integration of a large amount of data relevant for productivity analyses. In at least two of his books, [11] [12] he gives a number of productivity factors but also points out that for each project a different set of factors are influential. These factors can form a basis for productivity assessments and for comparison with industrial averages.

This is one such list:

The 20 factors whose quantified impacts on software projects have been determined from historical data are the following:

  • Programming language used
  • Program size
  • The experience of programmers and design personnel
  • The novelty of requirements
  • The complexity of the program and its data
  • The use of structured programming methods
  • Program class or the distribution method
  • Program type of the application area
  • Tools and environmental conditions
  • Enhancing existing programs or systems
  • Maintaining existing programs or systems
  • Reusing existing modules and standard designs
  • Program generators
  • Fourth-generation languages
  • Geographic separation of development locations
  • Defect potentials and removal methods
  • Existing documentation
  • Prototyping before main development begins
  • Project teams and organization structures
  • Morale and compensation of staff [12]

Function points

Function points were proposed in 1977 by Albrecht as a better size measure for software than LOC. In that it is based on the specification of the software and thereby aims at measuring the size of its functionality rather than the code itself. The reason is that the size of the code not only depends on the size of the functionality but also on the capability of the programmer: better programmers will produce less code for the same functionality. The function points have undergone several redesigns over the years mainly driven by the International Function Point User Group (IFPUG). This group is large with over 1200 companies as member which shows the rather strong acceptance of this measure. However, in many domains it still lacks practical application because it is often conceived as only applicable to business information systems.

Value-based software engineering

Several researchers proposed economic-driven or value-based software engineering as an important paradigm in future software engineering research. Boehm and Huang point out that is it not only important to track the costs in a software project but also the real earned value, i.e. the value for the customer. [13] They explain that it is important to create the software business case and keep it up to date. In essence, value-based software engineering focuses on the customer value, mainly measured in monetary units.

Peopleware

The famous book Peopleware: Productive Projects and Teams by de Marco and Lister [14] brought the importance of people-related factors to the attention of a broader audience. They collected in many software projects experiences with good and bad management practice that have an influence on the productivity of the team. They and others showed that these are the decisive issues in software engineering but were only able to describe them anecdotally.

Factors influencing programming productivity

There are probably a large number of factors influencing the programming productivity of individuals and teams. For example, the used software development process probably influences the effectiveness and efficiency of a team.

The personalities of software programmers influence the used coding styles which, in turn, influence the productivity of the programmers. [15]

In 2007, the xkcd comic popularized the concept of a Ballmer Peak—that a programmer, with just the right amount of inebriation, achieves a high state of productivity. The Ballmer Peak is named after former Microsoft CEO, Steve Ballmer, [16] and is likely a play on Balmer series of hydrogen spectral lines named for Johann Balmer. [17]

Related Research Articles

Efficiency is the often measurable ability to avoid wasting materials, energy, efforts, money, and time while performing a task. In a more general sense, it is the ability to do things well, successfully, and without waste.

Source lines of code (SLOC), also known as lines of code (LOC), is a software metric used to measure the size of a computer program by counting the number of lines in the text of the program's source code. SLOC is typically used to predict the amount of effort that will be required to develop a program, as well as to estimate programming productivity or maintainability once the software is produced.

<span class="mw-page-title-main">Barry Boehm</span> American computer scientist (1935–2022)

Barry William Boehm was an American software engineer, distinguished professor of computer science, industrial and systems engineering; the TRW Professor of Software Engineering; and founding director of the Center for Systems and Software Engineering at the University of Southern California. He was known for his many contributions to the area of software engineering.

The Constructive Cost Model (COCOMO) is a procedural software cost estimation model developed by Barry W. Boehm. The model parameters are derived from fitting a regression formula using data from historical projects.

<span class="mw-page-title-main">Production–possibility frontier</span> Visualization of all possible options of output for a two-good economy

In microeconomics, a production–possibility frontier (PPF), production possibility curve (PPC), or production possibility boundary (PPB) is a graphical representation showing all the possible options of output for two goods that can be produced using all factors of production, where the given resources are fully and efficiently utilized per unit time. A PPF illustrates several economic concepts, such as allocative efficiency, economies of scale, opportunity cost, productive efficiency, and scarcity of resources.

<span class="mw-page-title-main">Production function</span> Used to define marginal product and to distinguish allocative efficiency

In economics, a production function gives the technological relation between quantities of physical inputs and quantities of output of goods. The production function is one of the key concepts of mainstream neoclassical theories, used to define marginal product and to distinguish allocative efficiency, a key focus of economics. One important purpose of the production function is to address allocative efficiency in the use of factor inputs in production and the resulting distribution of income to those factors, while abstracting away from the technological problems of achieving technical efficiency, as an engineer or professional manager might understand it.

Productivity is the efficiency of production of goods or services expressed by some measure. Measurements of productivity are often expressed as a ratio of an aggregate output to a single input or an aggregate input used in a production process, i.e. output per unit of input, typically over a specific period of time. The most common example is the (aggregate) labour productivity measure, one example of which is GDP per worker. There are many different definitions of productivity and the choice among them depends on the purpose of the productivity measurement and data availability. The key source of difference between various productivity measures is also usually related to how the outputs and the inputs are aggregated to obtain such a ratio-type measure of productivity.

<span class="mw-page-title-main">Performance indicator</span> Measurement that evaluates the success of an organization

A performance indicator or key performance indicator (KPI) is a type of performance measurement. KPIs evaluate the success of an organization or of a particular activity in which it engages. KPIs provide a focus for strategic and operational improvement, create an analytical basis for decision making and help focus attention on what matters most.

In the context of software engineering, software quality refers to two related but distinct notions:

Productivity, in economics, is the amount of output created produced per unit input used.

In economics, total-factor productivity (TFP), also called multi-factor productivity, is usually measured as the ratio of aggregate output to aggregate inputs. Under some simplifying assumptions about the production technology, growth in TFP becomes the portion of growth in output not explained by growth in traditionally measured inputs of labour and capital used in production. TFP is calculated by dividing output by the weighted geometric average of labour and capital input, with the standard weighting of 0.7 for labour and 0.3 for capital. Total factor productivity is a measure of productive efficiency in that it measures how much output can be produced from a certain amount of inputs. It accounts for part of the differences in cross-country per-capita income. For relatively small percentage changes, the rate of TFP growth can be estimated by subtracting growth rates of labor and capital inputs from the growth rate of output.

<span class="mw-page-title-main">Operations management</span> In business operations, controlling the process of production of goods

Operations management is concerned with designing and controlling the production of goods or services, ensuring that businesses are efficient in using resources to meet customer requirements.

The function point is a "unit of measurement" to express the amount of business functionality an information system provides to a user. Function points are used to compute a functional size measurement (FSM) of software. The cost of a single unit is calculated from past projects.

<span class="mw-page-title-main">Workforce productivity</span> Concept in economics

Workforce productivity is the amount of goods and services that a group of workers produce in a given amount of time. It is one of several types of productivity that economists measure. Workforce productivity, often referred to as labor productivity, is a measure for an organisation or company, a process, an industry, or a country.

Production is the process of combining various inputs, both material and immaterial in order to create output. Ideally this output will be a good or service which has value and contributes to the utility of individuals. The area of economics that focuses on production is called production theory, and it is closely related to the consumption theory of economics.

Productivity in economics is usually measured as the ratio of what is produced to what is used in producing it. Productivity is closely related to the measure of production efficiency. A productivity model is a measurement method which is used in practice for measuring productivity. A productivity model must be able to compute Output / Input when there are many different outputs and inputs.

<span class="mw-page-title-main">Measurement in economics</span>

The measures used in economics are physical measures, nominal price value measures and fixed price value measures. These measures differ from one another by the variables they measure and by the variables excluded from measurements. The measurable variables in economics are quantity, quality and distribution. Excluding variables from measurement makes it possible to better focus the measurement on a given variable, yet, this means a more narrow approach. The table was compiled to compare the basic types of measurement. The first column presents the measure types, the second the variables being measured, and the third column gives the variables excluded from measurement.

Weighted Micro Function Points (WMFP) is a modern software sizing algorithm which is a successor to solid ancestor scientific methods as COCOMO, COSYSMO, maintainability index, cyclomatic complexity, function points, and Halstead complexity. It produces more accurate results than traditional software sizing methodologies, while requiring less configuration and knowledge from the end user, as most of the estimation is based on automatic measurements of an existing source code.

<span class="mw-page-title-main">Partial productivity</span>

Measurement of partial productivity refers to the measurement solutions which do not meet the requirements of total productivity measurement, yet, being practicable as indicators of total productivity. In practice, measurement in production means measures of partial productivity. In that case, the objects of measurement are components of total productivity, and interpreted correctly, these components are indicative of productivity development. The term of partial productivity illustrates well the fact that total productivity is only measured partially – or approximately. In a way, measurements are defective but, by understanding the logic of total productivity, it is possible to interpret correctly the results of partial productivity and to benefit from them in practical situations.

In a business context, operational efficiency is a measurement of resource allocation and can be defined as the ratio between an output gained from the business and an input to run a business operation. When improving operational efficiency, the output to input ratio improves.

References

  1. 1 2 3 Ramírez, Y. W., Nembhard, D. A. Measuring knowledge worker productivity: A taxonomy. Journal of Intellectual Capital, 2004, 5, 602-628
  2. Neal, A., Hesketh, B., Anderson, N., Ones, D. S., Sinangil, H. K., Viswesvaran, C. (ed.) Handbook of Industrial, Work and Organizational Psychology Productivity in Organizations. Sage Publications Ltd, 2002, 8-24
  3. 1 2 3 4 Tangen, S. Demystifying productivity and performance, International Journal of Productivity and Performance, 2005, 54, 34-36
  4. Chew, B. W. No-Nonsense Guide to Measuring Productivity. Harvard Business Review, 1988, 66, 110-115
  5. 1 2 3 Drucker, P. F. Knowledge-Worker Productivity: The Biggest Challenge. California Management Review, 1999, 41, 79-94
  6. Thomas, B. E. & Baron, J. P. Evaluating Knowledge Worker Productivity: Literature Review Construction Engineering Research Lab (USACERL), 1994
  7. Al-Darrab, I. A. Relationships between productivity, efficiency, utilization, and quality. Work Study, 2000, 49, 97-104
  8. 1 2 Saari, S. Productivity: Theory and Measurement. In Business Proc. of the European Productivity Conference (EPC), 2006
  9. Ray, P., Sahu, S. The Measurement and Evaluation of White-collar Productivity. International Journal of Operations & Production Management, 1989, 9, 28-47
  10. Boehm et al. Software Cost Estimation with COCOMO II, 2000
  11. Jones, Casper (2000). Software Assessments, Benchmarks, and Best Practices. Boston, Mass.: Addison-Wesley.
  12. 1 2 Jones, Casper (1986). Programming Productivity . New York: McGraw-Hill Book Company. p.  85–86. ISBN   9780070328112. OCLC   611260287 . Retrieved 14 April 2020.
  13. Barry Boehm, Li Guo Huang. Value-Based Software Engineering: A Case Study. IEEE Software, 2003
  14. Tom DeMarco, Timothy Lister. Peopleware: Productive Projects and Teams, 1987
  15. Karimi, Zahra; Baraani-Dastjerdi, Ahmad; Ghasem-Aghaee, Nasser; Wagner, Stefan (2016). "Links between the personalities, styles and performance in computer programming". Journal of Systems and Software. 111: 228–241. arXiv: 1611.10169 . doi:10.1016/j.jss.2015.09.011. S2CID   400518.
  16. "Ballmer Peak". xkcd. Retrieved 2023-10-07.
  17. "323: Ballmer Peak - explain xkcd". www.explainxkcd.com. Retrieved 2023-10-07.

Further reading