Performance Management
Metrics,KPIs, and OKRs
Moving to Data driven mindset, frameworks, KPIs and OKRs to understand and drive the success.
Metrics,KPIs, and OKRs
Moving to Data driven mindset, frameworks, KPIs and OKRs to understand and drive the success.
5 Day(s)
🎯 LEARNING OBJECTIVES
By completing this track, learners will be able to:
Understand the GAPOLOGY framework and identify Knowledge, Importance, and Action gaps.
Define effective KPIs and distinguish them from general metrics.
Design KPIs that are measurable, relevant, actionable, and aligned with business objectives.
Identify appropriate Organization, Team, and Employee KPIs.
Apply Agile KPIs to measure delivery, quality, predictability, and business value.
Understand and apply the four DORA metrics: Deployment Frequency, Lead Time for Changes, Change Failure Rate, and MTTR.
Establish KPI targets, thresholds, and review mechanisms for continuous improvement.
Connect individual and team performance to organizational objectives and business outcomes.
Use KPI results to identify performance gaps and support data-driven decision-making.
🧠 PREREQUISITES
Basic understanding of organizational structures and business objectives.
Basic knowledge of performance management and KPIs.
Familiarity with Agile/Scrum concepts is recommended for the Team KPI section.
Basic understanding of software delivery and DevOps practices is helpful for DORA metrics.
No programming knowledge is required.
Performance Management is a strategic management discipline that ensures organizational objectives are translated into measurable outcomes, aligned team efforts, successful project delivery, and individual contributions.
It is not simply about measuring performance or evaluating employees; it is about continuously improving performance, identifying gaps, enabling people, and maximizing business value.
An effective Performance Management Framework connects strategy with execution through clear objectives, measurable KPIs, continuous feedback, accountability, and improvement actions.
Greate values can be achieved if you moved for performance management at all levels, as you will be able to identify, where are you, where you want to go, and how you can achieve your target and improve your performance, as following:
1. Enterprise Level
Strategic alignment.
Higher productivity and ROI.
Better decision-making.
Improved governance and competitiveness.
Simplify improvement.
2. Teams Level
Clear goals and accountability.
Better collaboration.
Higher productivity.
Continuous improvement.
3. Projects Level
On-time and within-budget delivery.
Better quality and predictability.
Early risk and bottleneck detection.
Optimized resource utilization.
4. Individuals Level
Clear expectations and responsibilities.
Objective performance evaluation.
Skills development and career growth.
Higher motivation and engagement.
Organizations need objective mechanisms to evaluate performance, make decisions, and allocate resources. KPIs provide measurable evidence of performance, while the Halo Effect can cause decisions to be influenced by an overall positive or negative impression of a person, team, product, or business unit.
The Halo Effect is a cognitive bias where a strong impression in one area influences our judgment of other, unrelated areas.
Example:
A highly visible project manager delivers one successful project, so management may assume they are also effective in planning, leadership, quality, and cost management—even when the evidence is not available.
Well-designed KPIs can help an enterprise:
Detect problems early through measurable performance indicators.
Reduce management bias by grounding decisions in evidence.
Improve accountability by defining clear ownership and targets.
Align teams with strategy through strategic and operational objectives.
Support resource allocation using measurable results.
Identify risks and performance gaps before they become major issues.
Create transparency in management and governance decisions.
Enable continuous improvement through Measure → Analyze → Improve → Monitor.
Important: KPIs do not completely eliminate the Halo Effect. Poorly designed KPIs can themselves create distorted behavior. The stronger approach is to use multiple balanced KPIs + qualitative evidence + independent review rather than relying on either numbers or personal impressions alone.
Gapology: Having concerete framework for assessment
Use objective KPIs and measurable targets.
Evaluate multiple dimensions independently.
Define criteria in advance.
Base decisions on evidence, not impressions.
Use multiple evaluators where possible.
Calibrate assessments across teams.
Train managers to recognize cognitive bias.
Audit major decisions for consistency and fairness.
Gapology is a performance improvement framework that helps leaders identify and close gaps between desired outcomes and actual results by focusing on three root causes of underperformance.
Nine Evaluation Points to find the gaps, which cover 3 Core areas:
Knowledge GAP: At this stage, We ask ourselves the following questions:
Recruitment: Do We recruit the right talent?
Onboarding: Have I been onboarding them the right way?"
Ongoing Training: Do I conduct ongoing train them?"
Importance GAP
Prioritization: Do I prioritize their list correctly?
Communication: Do I communicate that effectively?
Expectations: Do I set clear expectations?
Action GAP
Culture Building: Have I built a culture for them to thrive in?
Commitment: Have I gained their commitment?
Accountability: Do I hold them accountable?
Organization should support building this model, in order to close the gaps, which is shared responsibility between HR team, section heads, department managers, and senior management
Our employee KPI strategy is designed to align individual performance with organizational goals. Each employee’s KPIs are clearly defined, measurable, and directly tied to their role and responsibilities. We focus on a balanced mix of quantitative metrics, such as productivity and project delivery, and qualitative measures, such as collaboration and innovation. KPIs are reviewed periodically with managers to provide constructive feedback, identify areas for growth, and recognize achievements. This structured approach ensures accountability, motivates employees, and drives continuous improvement across the organization
Agile Team KPIs are essential metrics that help organizations measure how effectively squads deliver value, adapt to change, and maintain quality. Unlike traditional performance indicators that focus only on output, Agile KPIs emphasize both speed and stability—balancing business value delivery with technical excellence. They provide visibility into areas such as deployment frequency, lead time, code quality, and predictability, enabling leaders to track progress toward business goals while empowering teams to self-improve. By aligning with industry benchmarks like DORA metrics and Agile best practices, these KPIs ensure that teams not only deliver features faster but also build resilient, secure, and sustainable software.
What is DORA?
DORA metrics = four key DevOps performance indicators developed by the DevOps Research and Assessment (DORA) team (acquired by Google). They’re considered the industry gold standard for measuring software delivery performance:
Deployment Frequency
How often code is deployed to production.
High = fast, iterative delivery.
Lead Time for Changes
Time from commit to code running in production.
Shorter = faster delivery of value.
Change Failure Rate (CFR)
% of deployments that cause incidents, rollbacks, or failures.
Lower = more stable releases.
Mean Time to Recovery (MTTR)
Average time to restore service after an incident.
Lower = better resilience and reliability.
Why important?
Backed by 7+ years of research and 30k+ survey responses.
Used by elite teams (Google, Netflix, Amazon).
Helps orgs balance speed + stability → accelerate innovation without sacrificing reliability.
In SAFe, Key Performance Indicators (KPIs) help organizations measure progress, delivery efficiency, and business value. They track metrics such as program predictability, feature cycle time, release frequency, and PI objectives achieved, providing insight into team performance, customer satisfaction, and value delivery. By monitoring both lead time and cycle time, organizations can identify bottlenecks, optimize workflows, and ensure faster, more predictable delivery of high-quality products. These KPIs form the backbone of data-driven decision-making in Agile enterprises.
Effective tool for mapping between key objectives and reflecting on quantitative measurements that quantify the goals, keeping your eyes open on the target.
The key benefit on the OKR is setting quantitative goal, so that each section and department in the enterprise, can set its strategy to achieve the objective from their point of view.
The key pillars of the OKR are:
Objectives:
which is clear statement, understood by all stakeholders
Key results:
The quantitative measurements used to formulate the objectives
Example:
Objective: Establish a mobile solution by the end of September
Key Result 1: Complete product development by Aug 30.
Key Result 2: Achieve 95% customer satisfaction in beta testing.
Key Result 3: Generate $50,000 in revenue from the product within the first quarter
KPIs are measurable values demonstrating how effectively an organization, team, or individual is achieving specific objectives. KPIs help monitor performance and assess whether goals are being met over time
The key Characteristics of KPIs:
Measurable: KPIs are quantifiable metrics, making performance tracking straightforward.
Specific: They are closely tied to particular objectives or outcomes.
Actionable: KPIs provide data that can be used to make decisions or take corrective actions.
Time-bound: They are measured over a specific period, such as monthly, quarterly, or yearly.
Relevant to the context
Variety: Has different point of view to attain
Example:
Objective: Improve customer service satisfaction.
KPI: Achieve a customer satisfaction score (CSAT) of 90% or higher within 6 months.
KPIs are essential tools in performance management, allowing organizations to track and improve their effectiveness.
In order to have a successful model in enterprise architecture, you should have the following:
OKR as-is Model: current objectives and initial achievements should be clear, to be the baseline for the model, to have a clear assessment of the impact you have conducted
OKR to-be Model: determination of the achievable targets, as mentioned before
Collaborative Strategy Model
Determine the involvement matrix of organization sectors and departments
Determine strategy for each to achieve the goals
Have consolidated strategy
KPIs as-is model: determination of the current KPIs, should be clear, to be the baseline for the model, to have a clear assessment of the impact you have conducted, in addition, to be related directly to improve the objectives
KPI to-be model: determination of the KPI targets, as mentioned before
Operational Strategy Model
Have more focus on operation detailed plans
Determine the involvement matrix of organization sectors and departments
Determine a strategy for each to achieve the KPI
Example:
Objective: Revenue Increase
OKR: Increase revenue by 25% by the end of the quarter
Sales team: Increase the number of leads by 50% than current
Software team: Reduce the number of critical issues by 75% by the End of September
Marketing team: conduct 2 marketing campaigns on social media before the season
RGY assessment approach:
With each OKR/KPI, you should define the following:
Review interval period to guarantee that you are on track
Red values (Not accepted values) and the strategy for handling
Yellow values (Mid accepted values) and the strategy for handling
Red values (Accepted values) and the strategy for handling
RGY Assessment and monitoring Approach
Measures how effectively Agile teams translate business priorities into achievable sprint commitments and deliver valuable, high-quality outcomes within each sprint. It evaluates the team's ability to plan realistically, manage scope, achieve Sprint Goals, maintain delivery predictability, and continuously improve execution. Effective measurement should focus not only on the volume of completed work but also on business value, quality, responsiveness, and delivery consistency.
At the following picture you will find set of KPIs, which we will clarify as following:
1. Sprint Goal Achievement
Calculation: Achieved Sprint Goals / Total Sprint Goals × 100.
Positive: 100% of committed Sprint Goals achieved, with acceptance criteria satisfied.
Negative: Low achievement, repeated missed goals, or delivery without achieving the intended business outcome.
Eliminate KPI Gaming:
Define measurable Sprint Goals before the sprint starts.
Validate achievement against acceptance criteria.
Do not change the original goal retrospectively to improve the score.
Require Product Owner validation.
Measurement: Sprint End.
2. Sprint Predictability
Calculation: Completed committed story points / Initially committed story points × 100.
Positive: Consistent delivery close to the team's historical commitment.
Negative: Repeated overcommitment or significant variation between planned and completed work.
Eliminate KPI Gaming:
Freeze the baseline commitment at sprint start.
Record additions and removals separately.
Do not manipulate story-point estimates.
Compare trends within the same team, not across teams.
Measurement: Sprint End.
3. Sprint Velocity
Calculation: Sum of story points completed and accepted during the sprint.
Positive: Stable or gradually improving velocity, supported by quality and business outcomes.
Negative: Significant unexplained decline or volatility.
Eliminate KPI Gaming:
Never use velocity as an individual performance target.
Do not inflate story points.
Apply consistent estimation practices.
Count only completed work meeting the Definition of Done.
Measurement: Sprint End; trend over 3–6 sprints.
4. Commitment Reliability
Calculation: Completed initially committed backlog items / Initially committed backlog items × 100.
Positive: High and consistent completion of planned items.
Negative: Frequent spillover and repeated failure to deliver commitments.
Eliminate KPI Gaming:
Capture the initial backlog baseline.
Track scope changes separately.
Exclude cancelled items only with documented business justification.
Measurement: Sprint End.
5. Scope Change Rate
Calculation: Number of added and removed committed items during the sprint / Initially committed items × 100.
Positive: Low, controlled scope changes with justified business exceptions.
Negative: Frequent unplanned changes that disrupt the Sprint Goal.
Eliminate KPI Gaming:
Maintain a complete scope-change history.
Record additions and removals separately.
Do not classify unplanned work as planned work.
Distinguish genuine emergencies from poor planning.
Measurement: Daily and Sprint End.
6. Sprint Burndown
Calculation: Remaining estimated work recorded daily against the sprint timeline.
Positive: Work decreases progressively and the team is on track to achieve the Sprint Goal.
Negative: Flat progress, late completion spikes, or significant remaining work at sprint end.
Eliminate KPI Gaming:
Update remaining work daily.
Do not close tasks before meeting completion criteria.
Track reopened items.
Compare actual progress with the original baseline.
Measurement: Daily.
7. Cycle Time
Calculation: Work completion timestamp − Work start timestamp.
Positive: Stable or decreasing cycle time without sacrificing quality.
Negative: Increasing cycle time, excessive waiting, or bottlenecks.
Eliminate KPI Gaming:
Define consistent start and finish events.
Include waiting time, not just active development.
Report median and P85/P95, not only average.
Do not split work artificially to reduce cycle time.
Measurement: Continuous; review every sprint.
8. Cancellation Rate
Calculation: Cancelled items/ committed items × 100.
Positive: Low and declining.
Negative: Repeated and increased.
Eliminate KPI Gaming:
Preserve the initial sprint commitment.
Track partially canelled work.
Analyze root causes rather than penalizing teams.
Measurement: Sprint End/Quarter/Yearly plan.
9. Spillover Rate
Calculation: Initially committed items not completed by sprint end / Initially committed items × 100.
Positive: Low and declining spillover.
Negative: Repeated unfinished commitments and work carried across multiple sprints.
Eliminate KPI Gaming:
Preserve the initial sprint commitment.
Track partially completed work.
Do not move unfinished items without recording the original commitment.
Analyze root causes rather than penalizing teams.
Measurement: Sprint End.
Software Quality KPIs measure how effectively Agile teams deliver reliable, secure, maintainable, performant and defect-free software. The objective is not simply to reduce defects, but to prevent defects, detect them early and minimize their impact on business operations.
1. Defect Rate
Calculation: Defects attributable to delivered work / Delivered backlog items.
Positive: Stable or declining defect rate, with no increase in escaped production defects.
Negative: Increasing defects, recurring defects, or critical production incidents.
Eliminate KPI Gaming:
Include defects found during testing and after release.
Use consistent severity classification.
Track reopened defects.
Do not discourage defect reporting.
Separate defect quantity from defect severity.
Measurement: Sprint End and post-release.
2. Reopen Rate
Calculation: Defects attributable to delivered work / Delivered backlog items.
Positive: Stable or declining defect rate, with no increase in escaped production defects.
Negative: Increasing defects, recurring defects, or critical production incidents.
Eliminate KPI Gaming:
Include defects found during testing and after release.
Use consistent severity classification.
Track reopened defects.
Do not discourage defect reporting.
Separate defect quantity from defect severity.
Measurement: Sprint End and post-release.
3. Defect Density
Calculation: Number of confirmed defects / Size of delivered software (e.g., KLOC or Function Points).
Positive: Decreasing defect density across releases.
Negative: Increasing defect density or recurring defects in critical modules.
Eliminate KPI Gaming:
Use consistent defect classification.
Include defects discovered after production release.
Do not manipulate software-size measurements.
Separate defect severity from defect count.
Measurement: Sprint End and Release Review.
3. Test Coverage
Calculation: Requirements or code elements covered by tests / Total applicable requirements or code elements × 100.
Positive: High coverage of critical business requirements and risk areas.
Negative: Critical workflows without sufficient test coverage.
Eliminate KPI Gaming:
Measure meaningful requirement and branch coverage, not just line coverage.
Validate test execution results.
Include negative, boundary and failure scenarios.
Do not treat test existence as proof of test effectiveness.
Measurement: Continuous and Sprint End.
5. Test Pass Rate
Calculation: Passed tests / Total executed tests × 100.
Positive: High and stable pass rate with no unresolved critical failures.
Negative: Increasing failed tests, flaky tests or repeated regression failures.
Eliminate KPI Gaming:
Include failed and skipped tests transparently.
Do not exclude failing tests without documented justification.
Separate blocked tests from passed tests.
Track flaky tests and repeated failures.
Measurement: Every Build and Sprint End.
6. Code Quality / Maintainability
Calculation: Use a consistent quality score derived from static analysis, maintainability ratings, code complexity and technical-debt indicators. For example, track the percentage of code meeting defined quality rules.
Positive: Improving maintainability, lower complexity and fewer critical code-quality violations.
Negative: Increasing technical debt, duplicated code, excessive complexity and recurring maintainability issues.
Eliminate KPI Gaming:
Use automated static analysis tools.
Apply consistent quality gates.
Measure new and changed code separately from legacy code.
Do not optimize code metrics while ignoring architecture and readability.
Measurement: Every Pull Request and Sprint End.
7. Security Vulnerability Density
Calculation: Confirmed vulnerabilities / Defined software size or component count.
Positive: No unresolved critical vulnerabilities and a decreasing high-risk vulnerability trend.
Negative: Critical vulnerabilities in production, overdue remediation or repeated security findings.
Eliminate KPI Gaming:
Use automated SAST, DAST and SCA scanning.
Include dependency vulnerabilities.
Track remediation against severity-based SLAs.
Do not suppress findings without documented risk acceptance.
Measurement: Every Build, Release and Monthly.
8. Production Availability
Calculation: (Total agreed service time − Unplanned downtime) / Total agreed service time × 100.
Positive: Availability meets or exceeds the agreed SLO.
Negative: Availability below the target or repeated service interruptions.
Eliminate KPI Gaming:
Use independent monitoring.
Include partial outages and degraded service.
Define planned maintenance exclusions transparently.
Measure critical user journeys, not just server uptime.
Measurement: Continuous and Monthly.
9. Mean Time to Restore (MTTR)
Calculation: Total time to restore affected services / Number of incidents.
Positive: Decreasing restoration time without compromising recovery quality.
Negative: Increasing recovery time or recurring incidents.
Eliminate KPI Gaming:
Define incident start and service-restoration timestamps.
Include all qualifying incidents.
Do not close incidents before service recovery is verified.
Separate restoration from permanent root-cause resolution.
Measurement: Per Incident and Monthly.
10. Performance Compliance
Calculation: Successful performance measurements meeting defined thresholds / Total valid performance measurements × 100.
Positive: Critical business transactions consistently meet response-time and throughput targets.
Negative: P95/P99 latency violations, throughput degradation or resource saturation.
Eliminate KPI Gaming:
Define thresholds before testing.
Test realistic workloads and peak traffic.
Include database and downstream dependencies.
Report percentiles rather than averages alone.
Measurement: Every Release and Continuous Production Monitoring.
11. Technical Debt Ratio
Calculation: Estimated remediation effort for technical debt / Total estimated development effort × 100.
Positive: Stable or decreasing technical debt, with high-risk debt actively addressed.
Negative: Accumulating technical debt, increasing remediation costs or repeated architectural workarounds.
Eliminate KPI Gaming:
Establish a consistent estimation method.
Include architectural, security and code-quality debt.
Track new debt introduced and debt retired.
Do not classify necessary engineering improvements as waste.
Measurement: Monthly and Quarterly.
1. Lead Time for Changes (DORA)
Calculation: Successful production deployment timestamp − Code commit timestamp.
Positive: Decreasing lead time while maintaining quality and security.
Negative: Increasing time between code commitment and production deployment.
Eliminate KPI Gaming:
Capture timestamps automatically from source control and CI/CD.
Include code review, testing, approvals and deployment waiting time.
Do not substitute sprint completion or QA completion for production deployment.
Report median and P85/P95, not just averages.
Measurement: Per Change; review weekly/monthly.
2. Deployment Frequency (DORA)
Calculation: Number of successful production deployments / Measurement period.
Positive: Frequent, reliable deployments appropriate to business demand.
Negative: Long deployment intervals, growing release queues or excessive manual release dependencies.
Eliminate KPI Gaming:
Count actual successful production deployments.
Do not count SIT/UAT deployments as production deployments.
Do not split releases artificially to inflate deployment frequency.
Track deployment failures alongside frequency.
Measurement: Continuous and Monthly.
3. Cycle Time
Calculation: Work item completion timestamp − Work start timestamp.
Positive: Decreasing median cycle time without increased defects or reduced scope.
Negative: Increasing cycle time or repeated delays in specific workflow stages.
Eliminate KPI Gaming:
Define consistent start and completion events.
Include waiting time.
Do not split stories artificially.
Track reopened and unfinished work.
Measurement: Continuous; review every sprint.
4. Work in Progress (WIP)
Calculation: Number of work items currently started but not completed.
Positive: Controlled WIP with steady completion and limited context switching.
Negative: Excessive parallel work, aging items and growing queues.
Eliminate KPI Gaming:
Set explicit WIP limits.
Count all started work, including blocked items.
Do not move unfinished work back to the backlog to improve the number.
Monitor WIP age, not just WIP quantity.
Measurement: Daily.
5. Automation Rate
Calculation: Automated eligible delivery activities / Total eligible delivery activities × 100.
Positive: Increasing automation of testing, deployment, validation and operational tasks.
Negative: Excessive manual intervention, repetitive activities and human-dependent release processes.
Eliminate KPI Gaming:
Define which activities are genuinely eligible for automation.
Validate that automation executes successfully.
Do not count scripts that still require substantial manual intervention as fully automated.
Include maintenance and failure rates of automation.
Measurement: Monthly.
6. Rework Rate
Calculation: Effort spent correcting previously completed work / Total development effort × 100.
Positive: Decreasing rework while maintaining acceptance and quality standards.
Negative: Repeated corrections, misunderstood requirements or recurring implementation defects.
Eliminate KPI Gaming:
Define rework consistently.
Include reopened stories and defect corrections.
Do not classify defect correction as new feature development.
Distinguish requirement changes from implementation mistakes.
Measurement: Sprint End and Monthly.
7. Blocked Time Percentage
Calculation: Total time work items remain blocked / Total elapsed work time × 100.
Positive: Low blocked time and rapid dependency resolution.
Negative: Persistent external dependencies, approval delays or infrastructure bottlenecks.
Eliminate KPI Gaming:
Record blockers immediately.
Include organizational and external dependencies.
Track blocker resolution time.
Do not hide blockers through status changes.
Measurement: Daily and Sprint End.
8. Deployment Duration
Calculation: Production deployment completion timestamp − Production deployment start timestamp.
Positive: Shorter, predictable deployment windows with successful health validation.
Negative: Increasing deployment duration, manual intervention or frequent deployment interruptions.
Eliminate KPI Gaming:
Include all deployment stages.
Include health checks and required validation.
Do not exclude failed deployment attempts.
Track deployment success and rollback rates separately.
Measurement: Every Production Deployment.
Maintainability Index - Calculates an index value between 0 and 100 that represents the relative ease of maintaining the code. A high value means better maintainability. Color coded ratings can be used to quickly identify trouble spots in your code. A green rating is between 20 and 100 and indicates that the code has good maintainability. A yellow rating is between 10 and 19 and indicates that the code is moderately maintainable. A red rating is a rating between 0 and 9 and indicates low maintainability. For more information, see Maintainability index range and meaning.
Cyclomatic Complexity - Measures the structural complexity of the code. It is created by calculating the number of different code paths in the flow of the program. A program that has complex control flow requires more tests to achieve good code coverage and is less maintainable. For more information, see the Wikipedia entry for cyclomatic complexity.
Depth of Inheritance - Indicates the number of different classes that inherit from one another, all the way back to the base class. Depth of Inheritance is similar to class coupling in that a change in a base class can affect any of its inherited classes. The higher this number, the deeper the inheritance and the higher the potential for base class modifications to result in a breaking change. For Depth of Inheritance, a low value is good and a high value is bad.
Class Coupling - Measures the coupling to unique classes through parameters, local variables, return types, method calls, generic or template instantiations, base classes, interface implementations, fields defined on external types, and attribute decoration. Good software design dictates that types and methods should have high cohesion and low coupling. High coupling indicates a design that is difficult to reuse and maintain because of its many interdependencies on other types. For more information, see Class coupling.
Lines of Source code - Indicates the exact number of source code lines that are present in your source file, including blank lines. This metric is available starting in Visual Studio 2019 version 16.4 and Microsoft.CodeAnalysis.Metrics (2.9.5).
Code coverage: to which level our utomation testing scripts are covering our source code to make sure that all functions are working properly as expected before production, and upon changes.
Response time.
MTBF: The average time it takes alive between each failure.
MTTR: Mean time to repair, how much it takes to resolve the issues
SaaS provisioning time : how much it takes to create new instance
Fault- tolerance: to which level there is an isolation and modularity, that prevent the spread of negative impacts on the overall system when part of it fail, so if a module failed, the others are still working.