Statistical process control (SPC) is the set of techniques that measures how a process behaves over time, separates normal operational fluctuations from anomalies, and allows predicting its performance before delivery. It originated in the industrial sector in the 1920s and underpins the high maturity of CMMI, specifically levels 4 and 5 of the model. Applied to an IT company, it answers a business question: is the operation able to deliver on what is promised in the contract?
Predictability in software projects is often treated as a quality of experienced managers, something gained through time and the sensitivity to recognize trouble before it arises. It isn't. Predictability is a measurable property of the process, and there are methods to determine its current value and to improve it when it's insufficient. Without this understanding, commitment to deadlines, costs, and quality is an estimate based on personal experience. With it, commitment becomes a consequence of what the process demonstrably delivers.
This article explores this process through two decision-making scenarios, one for software and one for services, the kind that appears on the boardroom table and requires an answer before signing off.
A public bidding process is the opportunity that comes to a medium-sized software factory. The scope is known, the deadline is tight, and the competition is decided by price: to have a chance of winning, the company needs to lower the price it charges per function point compared to what it charges in private contracts.
The discount on the function point price doesn't change the work that will be done. It changes how much is left over afterward. Recalculating with the reduced price, the contract is only sustainable if the operation delivers with at least a 20% margin. Below that, the company starts working to pay for its own rework.
The question the board is asking is straightforward: can we deliver within that margin?
In most companies, the answer is based on the average of previous projects. Someone opens the spreadsheet, calculates the average margin of the last twelve months, finds 23%, and answers yes, it's doable. It's a quick answer, an answer with numbers, and yet it's an answer that doesn't answer the question.
The known outcome of this path is for the company to win the bid and discover, after the contract has been signed, that the price it offered doesn't fit within what the operation can deliver. At that point, there are no more decisions to be made, only losses to manage.
The average indicates where the process usually falls. It doesn't tell you how much it fluctuates around that margin, and it's the fluctuation that determines whether the contract closes in the black or in the red. An operation with an average margin of 23% may have delivered projects with margins between 21% and 25%, making the transaction safe, or it may have delivered between 4% and 40%, turning the signing into a gamble. Both situations produce exactly the same average.
Every process varies, and variation has two origins that require opposing treatments.
There is common variation, which is the noise inherent in the way the company works. It arises from the normal combination of people, tools, environment, and method; it appears all the time and is predictable within a certain range. Reducing it requires changing the process, and that is a decision for whoever is responsible for the process, not for whoever performs the task.
And then there's the special variation, which is the anomaly. It doesn't belong to normal operation, it appears due to a specific event, and it's what makes a project completely deviate from the expected range. This is resolved by identifying and removing the root cause.
Confusing the two costs money in both directions. Treating noise as an anomaly leads to unnecessary process changes, and changing a stable process usually worsens the result instead of improving it. Treating an anomaly as noise leads to living with a problem that had a solution.
It's worth noting an effect that almost no one considers: the more sensitive the alarm criterion, the more false alarms it produces. Even with the most conservative criterion in use, a false alarm is expected every few hundred measurements.
A company that reacts to every signal ends up adjusting the process because of statistical noise, and pays for it in productivity: each unnecessary adjustment consumes the effort of qualified people and disrupts the work of those who were performing it.
There's a difference that separates software from manufacturing, and it's often overlooked when these techniques are applied to development. Machines wear out over time, and therefore the industrial process tends to worsen if no one intervenes. People do the opposite: they accumulate knowledge, master the product better, and improve it. A team classified as junior in one project can behave like a senior team in the next.
The practical consequence is that historical data sets are not fixed and need to be periodically reassessed, otherwise the company risks making decisions today based on a snapshot that no longer reflects its current team.
Here is the distinction that decides the bid, and it is the most misunderstood in the field.
A process is under statistical control, meaning it is stable, when only common variation acts upon it. It is predictable: based on historical data, it's possible to determine the range within which the next project will fall. A process is capable when that range fits within what the client or contract requires.
These are two different questions, and the second does not follow from the first. A process can be perfectly stable and completely incapable. This is the case of an operation that delivers a margin that fluctuates between 12% and 18% with admirable regularity: it is predictable, it is reliable, and it does not meet the 20% bid margin.
Two techniques answer these two questions, and it's important not to confuse what each one does. The control chart tracks performance over time and shows whether the process is stable, marking the limits within which it naturally operates. Capability analysis compares these limits with what the contract requires and answers whether it is capable. Applying the second without having gone through the first makes no sense, because there is no way to assess the capability of a process that is still under the effect of anomalies.
The clearest way to see this is to recognize that there are two voices speaking about the same process, and that they don't communicate with each other on their own.
The voice of the process emerges from the company's own history. These are the boundaries within which it actually operates, calculated from what it has already done, and no meeting changes those boundaries.
The customer's voice comes from the contract, the specifications, the tender. It's what needs to be fulfilled, and it was defined without consulting anyone's capability.
When the two coincide, the process is capable. When the voice of the customer is more demanding than the voice of the process can handle, there is risk, and that risk becomes known before signing rather than discovered upon delivery.

None of this is exclusive to development projects. In a support operation, the voice of the customer has a name and is written in the contract: it's the SLA.
Consider a support contract that requires resolution of critical tickets within four hours, with monthly measurement and penalties for non-compliance. The business question changes in form but not in nature: can the operation sustain this agreement, or will it pay penalties in some months and profit in others?
The response follows the same path. First, the ticket resolution time is monitored over time to verify if the operation is stable, or if there are anomalies, such as a peak in a particular shift or after a certain production start-up. Then, the actual resolution time range is compared to the four hours stipulated in the contract. And here the same discrepancy from the bid appears: an operation can be exemplarily regular and still exceed what was promised.
The measures change, but the method remains the same.
| What do we want to control? | In software projects | In IT services |
|---|---|---|
| Contract commitment | Project timeline, scope, and margin | Service Level Agreement (SLA) for service and resolution |
| Delivery quality | Test approval percentage | Tickets resolved within the deadline |
| Rework | A defect that escapes and comes back from the customer | Ticket reopening rate |
| Productivity | Effort per function point | Effort per ticket handled |
| Anomaly signal | Project outside the historical range. | Peak resolution time in a shift |
The reopening rate deserves special attention because it's the rework of services under another name: a ticket that comes back means work paid for twice and SLA consumed twice.
Knowing that the process is incapable doesn't solve anything on its own. The next question is what to do, and it starts with a translation that most companies never do: transforming the business objective into something that can be measured during execution, not just at the close.
Margin is the final result. When the margin appears, the project is over and there are no more decisions to be made. It needs to be connected to something that manifests itself early on.
In software development, most of what erodes margins has a well-known name: rework. Redoing what was already done consumes effort that no one budgeted for, and it consumes it twice, because it delays what would come next.
That's why rework, productivity, and deadlines aren't three separate problems. They're the same problem measured in three places: the effort spent redoing is effort that doesn't produce new deliverables, and the queue that forms behind it is the delay that the customer sees.
Rework, to a large extent, is a consequence of defects that escaped previous phases and returned from the client. There is an indicator that manifests itself before the loss and measures exactly this: the approval rate in tests. It appears during the project, long before the financial closing, and serves as an early warning.
The chain works like this: the margin depends on rework, rework consumes productivity and time, and both depend on the defect that is missed, which in turn appears in the approval percentage in the tests. It is this chain that allows us to track in August a goal that would only be known in December.
Organizations with high CMMI maturity perform this translation systematically, and it's one of the most visible practical differences between them and others. It's not about measuring more things. It's about measuring the few things that demonstrably predict the outcome that matters.
With the measure defined, the next question, which can be answered with data, is: what within the process determines this result?
The technique that answers this type of question is regression analysis, which verifies whether one variable allows predicting another and to what extent. In a set of eleven projects with a consistent history, the relationship between the depth of product testing, measured by the number of test criteria per function point, and the percentage of approval in customer acceptance tests was tested.
The relationship was confirmed. The model explains 75,1% of the observed variation in the approval percentage, and the statistical significance was 0,001, well below the 0,05 limit used as a reference. In decision-making terms: if there were no relationship, the chance of observing such a result would be 0,1%, and the depth of the test predicts the quality perceived by the customer.

This changes the type of conversation the company can have. It stops being a discussion about whether it's worth testing more, which is always a battle of opinion between those who defend deadlines and those who defend quality, and becomes an estimate: increasing the depth of testing in this measure drives approval in this other.
Then comes the decision that characterizes a mature operation, and that is different from adapting a standard process to the project.
Adapting means adjusting what already exists to the circumstances. Composing means choosing, from known execution alternatives, the combination that makes the process achieve the objective, knowing in advance what each alternative delivers. The choices at stake are concrete: the composition of the team, the type and intensity of reviews, the degree of automation of tests, the experience required for certain tasks.
This is where the company discovers that the same organization has several possible processes with different capabilities. A team with more than half senior professionals working on a consolidated framework produces a process capable of sustaining the bid margin. The same company, allocating a mostly junior team and without test automation, produces a process that cannot sustain it. These are not two companies, but two compositions, and the difference between them is measurable before the choice is made.
When there are many alternatives that interact with each other, comparing them one by one ceases to be feasible. This is where Monte Carlo simulation comes in, testing thousands of possible combinations based on the known performance ranges of each alternative and returning the probability of achieving the objective in each arrangement. This allows us to answer not only whether it's possible to beat the margin, but also with what chance, and which factors contribute most to the variation in the result. These factors are usually the best candidates for receiving improvement investment.
Those who don't do this analysis make decisions based on intuition and call it experience. Those who do make decisions based on evidence and can justify their decisions to the client, the partner, and their own team.
Suppose the company decides to introduce code inspection as part of its chosen composition. The next question, which almost never receives an honest answer, is: did it work?
The usual approach is to compare the average before with the average after and celebrate the difference. This is flawed for a specific reason. Before comparing two sets of data, it's necessary to verify if they behave in a compatible way, and that's what the normality test does. If this condition isn't met and the comparison of averages is done anyway, you're comparing things of different natures, and the conclusion doesn't hold up. It's the difference between an analysis and a well-presented impression.
In the analyzed set, the data did not pass the normality test, and therefore the Mann-Whitney test was applied, which is appropriate precisely for comparing two groups when this condition is not met. The result: among the projects without code inspection, the percentage of approval in product tests was 69% on the median. Among the projects with inspection, it reached 100%. The significance level was 0,0012.

The conclusion the company can present to the board is not that code inspection seems to have helped. It's that there has been a proven increase in the approval rate, and that the observed difference cannot be explained by chance.
When the result falls short of expectations, the approach is different and also requires its own technique. The Pareto chart orders problems by frequency and impact, showing which ones are worth concentrating effort on, preventing the company from wasting energy on what appears frequently but costs little. The cause-and-effect diagram organizes the hypotheses about the origin of the problem before attempting to correct it. These are simple tools, and their value lies in preventing corrective action from being chosen based on the urgency of whoever complained the loudest.
Here's a point that's often overlooked: when a process turns out to be surprisingly positive, it also signals that something unexpected happened, and it warrants investigation. The difference lies in the objective. In the case of a problem, the investigation aims to prevent its recurrence. In the case of an exceptional result, the investigation aims to discover what was done differently and transform that into standard practice.
Back to the bid. The company now knows three things it didn't know before.
You know the actual margin range that the current process delivers, not just the average. You know that there is a specific team composition and set of practices that makes the process capable of sustaining the required 20%. And you know, with evidence, how much code inspection contributes to that result.
Therefore, the decision ceases to be a gamble and becomes a matter of three legitimate outcomes. The company enters the bidding process with a composition that demonstrably meets the requirements, and assumes the commitment knowing what it is undertaking. The company enters with reservations, negotiating deadlines or scope with an argument supported by data. Or the company does not enter, because no available composition meets the margin, and refusing is the correct decision.
This third option is the most underestimated. An organization that hasn't yet reached this level of analysis often abandons the opportunity out of caution, without knowing if it would actually lose money, or worse, accepts and discovers the loss with the contract already underway. Knowing how to refuse with justification, and knowing how to accept with justification, is the concrete return on all this work.
The same applies to the support contract. Assuming a four-hour SLA knowing that the current operation sustains six is choosing to pay a penalty. Assuming one knowing it sustains three is selling predictability, and charging for it.
Before any analysis, there's a step that's often treated as a detail, but which determines the validity of everything: verifying if the data is reliable.
The number that reaches the spreadsheet doesn't just contain the variation of the process. It also contains the variation of who measured it. In a factory, this refers to the instrument. In software and services, the measurement is done by people: someone classifies the severity of a defect, someone notes the effort expended, someone records the opening and closing times of a service request.
If two professionals classify the same defect in different ways, or if the same professional classifies it one way today and another way the following week, the historical basis is measuring the evaluator along with the process.
There is a specific technique for this, called measurement system analysis, which separates two things: how much the same person varies when measuring the same thing repeatedly, and how much different people vary when measuring the same thing. Depending on the result, the correction may involve aligning and training the person measuring, or changing the way of measuring.
The consequence of skipping this step is serious and happens frequently: the company condemns a process that was healthy, or approves one that wasn't, because the problem was in the measurement and not in the process. That's why this verification is the first thing to do, even though it's almost always the last thing people think about.
Structured process improvement work begins with reliable data and four verifiable prerequisites. The organization needs to collect and use data about its own work. It needs to have defined processes that specify how and when this data is collected. It needs to execute these processes consistently, with adaptations happening in a controlled manner. And it needs to analyze the history it has accumulated, rather than simply storing it.
The Six Sigma methodology shows that high-maturity practices do not replace what the company already practices: the DMAIC cycle organizes improvement using the same logic of measuring, analyzing, and controlling.
ISO 13053, which standardizes this cycle, is the reference for recognizing equivalences.
The Kanban Maturity Model does the same for those who operate with Kanban, with a direct mapping to the CMMI levels.
Kanban University maintains the model and publishes this mapping.
One final observation regarding investment order. The natural temptation is to start with the tool, because a tool is what you buy with a quick decision. That's the wrong order. A tool accelerates a process that already exists, whether it's good or bad. Without reliable measurement and a consistent process, the result is arriving at the wrong conclusion faster.
Implementing high-maturity processes is not a project with a closing date. It's a continuous review of how the organization works, supported by analysis, in pursuit of a known and controllable performance. The difference between a company that does this and one that doesn't becomes apparent precisely when someone asks if it's possible to deliver within the margin, or within the SLA, and someone needs to answer.
Brazilian companies certified in CMMI that have followed this path report concrete gains in predictability, productivity, and quality of delivery, and it's worth knowing what they have achieved.
Speak with Promove to assess where to begin, if your company needs to answer this type of question and currently only has historical averages as an argument.

Statistical process control is the set of techniques that measures how a process behaves over time, separating fluctuations...

CMMI AIM (Artificial Intelligence Maturity) is the framework for...

Be the first to comment!