For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

KPI and Metric Definitions

This page explains what each KPI and metric in TestMu AI Insights counts: on the Insights pages, in the reports, in the Insights emails and in the alerts. Use it when two numbers look different, or when you want to know whether a number counts tests or runs.

Terms used on this page​

TermMeaning
TestA test name. All runs with the same test name count as one test.
RunOne execution of a test. A test that ran 5 times counts as 5 runs.
RetryA run that was retried. Each attempt is stored as its own run; the last attempt is the final attempt.
Final attemptThe last attempt of a test execution, after its retries. Pages that count each test execution once, after retries, count only final attempts. See Unique Instances and Retry Detection.
FailedA run whose result is exactly failed. Results such as error, lambda error or timeouts are counted under Others, not Failed.

Insights weekly email​

The weekly report email is sent every Monday. All numbers cover the previous Monday to Sunday (UTC), and, except the SmartUI card, count runs on Web Automation, App Automation, HyperExecute, Real Time and Real Device. Runs on other products are not counted.

The arrow or percentage next to a number is the change from the 7 days before: (this week − last week) ÷ last week. When last week's value was 0, the change shows as 100% if this week's value is above 0, and 0% otherwise. A rise is shown in red; no change or a drop is shown in green.

KPIWhat is countedCounts
Total Test Run TimeTotal time spent running tests: the sum of every run's time from start to end, including retried attemptsHours
Test ExecutionRuns in the week, including retried attempts, split into Passed, Failed, Completed and Others (any other result, such as error, timeout, stopped or cancelled). The percentage under each part is its share of all runs.Runs
New FailuresTests that ran in both this week and last week, and failed at least once this week but not last weekTests
Consistent FailuresTests that failed at least once in both this week and last weekTests
UnstableTests with more than one result in the week (for example, passed and failed), or whose only result was a lambda error, queue timeout or idle timeoutTests
FlakyRuns marked flaky by flaky test detectionRuns, not distinct tests
RetriedRetried runs, that is, every attempt that was not the final attemptRuns, not distinct tests
Test Runs By ProductsThe Test Execution runs split by product, each with its own Passed, Failed, Completed and Others split. A product with no runs is not shown.Runs
Web / App Platform CoverageRuns per operating system, split into web tests (Selenium, Playwright, Cypress, Puppeteer, Taiko, CDP and HyperExecute web tests, plus Real Time and Real Device browser sessions) and app tests (Appium, Espresso, XCUITest, Flutter and raw app tests, plus Real Time and Real Device app sessions). Runs of any other test type are in neither list, so Web and App together can be lower than Test Execution. The email labels these counts Tests, but each one is a run.Runs
SmartUI States: Total BuildsSmartUI builds created in the week, split into Approved, Rejected, Pending Approval and OthersBuilds
SmartUI States: Total ScreenshotsSmartUI screenshots captured in the week, split into Re/Compared (compared with a baseline) and Generated (all others)Screenshots
note

Unstable and Flaky use automation data only (Web Automation, App Automation and HyperExecute). Test Execution, New Failures, Consistent Failures and Retried also include Real Time and Real Device. The SmartUI card shows no change from last week and is hidden when the week had no SmartUI builds or screenshots.

Earlier weekly email layout​

Some organizations still receive the earlier layout of the weekly email, headed Analytics Weekly Report. It covers the same week and products, and its Flaky Tests, Unstable Tests, Consistent Failures and New Failures, when shown, are counted exactly as above. In this layout, any change above −1% is shown in red and a drop of 1% or more in green. It also shows:

KPIWhat is countedCounts
Total Number of TestsRuns in the week across all products, including retried attemptsRuns
Total Tests (product table)Runs in the week on each product, with the change from last weekRuns
Time Consumed (hrs) (product table)Total run time on each product, from start to end of every run, with the change from last weekHours

Automation Daily Test Summary email​

All numbers cover the previous calendar day, 00:00 to 23:59 UTC. The email has one section each for Web Automation, App Automation and HyperExecute, and a section appears only if that product had runs that day. It counts automation runs only: Selenium, Playwright, Cypress, Puppeteer, Taiko, CDP, Appium, Espresso, XCUITest, Flutter, raw app tests and HyperExecute runs of these frameworks. Real Time and Real Device manual sessions are not included.

KPIWhat is countedCounts
Total TestsAutomation runs in the day, including retried attemptsRuns
Total BuildsDistinct builds those runs belong toBuilds
Total TimeTotal time spent running tests: the sum of the duration of every run in the day, shown in hours, minutes and secondsTime
Status countsRuns in the day for each result, such as Passed, Failed, Completed, Error, Lambda Error, Idle Timeout, Queue Timeout, Stopped and Cancelled. Only results that occurred that day are listed, up to the 10 most frequent.Runs

Test Insights​

Test Insights shows the health of each test across runs.

Test Stability Snapshot​

Except Total Instances, the tiles count all attempts, including retries, in the date range.

MetricWhat is countedCounts
Total Unique TestsTests that ran at least onceTests
Total InstancesFinal attempts, so each test execution is counted once after retriesRuns
Total RetriesAttempts that were retried, that is, every attempt that was not the final oneRuns
Consistently PassingTests whose every run passedTests
Consistently FailingTests whose every run failedTests
Unstable TestsTests with more than one result, or whose only result was a lambda error, queue timeout or idle timeout. A test that failed and then passed on retry is unstable.Tests
Consistently Completing, Consistently Error, Consistently Cancelled, Consistently Skipped, Consistently Stopped, Consistently Unknown, Consistently Ignored, Consistently QueuedTests whose every run ended in that one result. A tile appears only for results that occurred in the date range.Tests
tip

Consistent Failures in the weekly email and Consistently Failing here are different. Consistent Failures means a test failed at least once in each of two weeks. Consistently Failing means every run of the test failed.

Tests table​

The table counts final attempts only.

MetricWhat is countedCounts
Test Summary: TotalFinal attempts of the testRuns
Test Summary: Passed / FailedFinal attempts of the test that passed / failedRuns
Test Summary: OthersFinal attempts with any other result, such as error or timeout: Total minus Passed minus FailedRuns
Duration (under the test name)Duration of the test's most recent runTime
Result History / Duration HistoryResult / duration of each of the test's recent runsPer run

Test details​

Show Unique Instances is on by default. While it is on, the test details page counts final attempts only; turn it off to count every attempt.

MetricWhat is countedCounts
Pass RateRuns of this test that passed, as a percentage of all its runs in the date range, with a Passed / Failed / Others split%
Total RunsRuns of this test in the date rangeRuns
Avg DurationAverage duration of those runsTime
FlakinessThe test's average flake score over those runs, shown as High (0.5 or above), Medium (0.25 to 0.5) or Low (below 0.25, or no score)Band
Retry RateRetried attempts as a percentage of final attempts. Retries are counted only with Show Unique Instances off; with it on (the default), the tile shows 0%.%
Browsers / OSRuns split by browser / operating systemRuns
Duration TrendAverage duration of the test's last 8 passed runs. The percentage compares the newer half of those runs with the older half; up means slower.Time
Failure CategoriesRuns per failure categoryRuns

Build Insights​

Build Insights shows the health of each build. A build name groups every build run with that name.

Build list​

The build list counts final attempts only.

MetricWhat is countedCounts
DurationRun time of the latest build: the time from its first test's start to its last test's end, or the sum of its test durations if that is shorter. Parallel tests are not double counted.Time
Result History / Duration HistoryResult / run time of each of the build's recent runsPer build
Last Build SummaryTests in the latest build split into Passed, Failed and Others, counting each test's final attempt onceTests

Build details​

With Latest Build checked (the default), the tiles count the build you opened.

MetricWhat is countedCounts
Pass RatePassed final attempts as a percentage of all attempts in the build, retries included, with a Passed / Failed / Others split of final attempts. A build with retries shows a lower pass rate than its Passed count alone suggests.%
DurationRun time of the most recent build with this name, counted as in the build list, even when an older build is open. Shown only with Latest Build checked.Time
Unique TestsDistinct tests in the buildTests
Test InstancesTest sessions in the build, counting only each session's final attemptRuns
RetriesAttempts that were retriedRuns
AnomaliesFinal attempts flagged as a performance anomalyRuns
Flaky / New Failures / Always FailingFinal attempts carrying the Flaky, New Failure or Always Failing smart tagRuns
Auto HealedTests in the build that were auto-healedRuns
Visual Differences / Accessibility IssuesVisual differences found by SmartUI / accessibility issues found in the build, with a trend across recent buildsIssues
vs prior buildShown on Flaky, New Failures, Always Failing, Auto Healed, Visual Differences and Accessibility Issues: the change from the most recent other build with the same name, in %. Flaky, New Failures and Always Failing hide it when the earlier build's value is 0; Visual Differences, Accessibility Issues and (with Latest Build checked) Auto Healed show 100% when the earlier value is 0 and the current value is above 0.%
Failure CategoriesFailed runs split by failure category, for the 10 most recent days or builds. Failed runs without a category show as No failure categories.Runs
StabilityPass rate per day or per build (you choose), for the 10 most recent: passed final attempts as a share of all final attempts%
Build HistoryRuns per result for each recent build or dayRuns
Monthly Status TrendRuns per result for each monthRuns
Browsers / OSRuns split by browser version / OS versionRuns

Failure Categories and Stability cover the 10 most recent days or builds with this name in the date range, whether or not Latest Build is checked.

In Test Cases view, the tiles count test case executions, not distinct test cases. A test case that ran 3 times counts 3. Browsers and OS in this view cover every build with this name in the date range.

Build comparison​

Build comparison compares a Compare build with a Base build, using final attempts. Two runs are the same test when they share the test name, OS version, browser version, resolution and device.

MetricWhat is countedCounts
Pass RatePass rate of the Compare build. The arrow shows the difference from the Base build, in percentage points.%
New FailuresTests failing in Compare that were not failing in Base, plus failing tests that exist only in CompareTests
Fixed InstancesTests failing in Base that passed in CompareTests
Consistent FailuresTests failing in both buildsTests
Stable InstancesTests that passed in both buildsTests
No ChangeTests in both builds with the same result, other than failing in both. Includes the Stable Instances.Tests
Additional TestsTests only in the Compare buildTests
Dropped TestsTests only in the Base buildTests

Here, failing means failed, error, lambda error, queue timeout or idle timeout.

App Profiling​

App Profiling measures app performance on real devices. Each run stores its own average, minimum, maximum and P90 for every metric.

Performance Overview​

Each tile is the average across all runs in scope, with every run weighted equally. With a Page Label filter applied, the tiles average per-second samples instead, so longer runs count more. Switch from Average to P90 to average each run's 90th-percentile value instead; Avg Cold Startup and the crash and ANR tiles stay on the average in P90 mode.

MetricWhat is countedCounts
Avg CPUCPU used by the app%
Avg MemoryMemory used by the appMB
Avg FPSFrames rendered per secondfps
Avg Cold StartupTime to launch the app when it is not already runningms
Avg Crashes per Crashed SessionAverage number of crashes in the runs that crashed at least once. Hidden when no run crashed. This is not a crash rate.Crashes
Avg ANRs per ANR SessionAverage number of ANRs (App Not Responding) in the runs that had at least one. Hidden when no run had one.ANRs

Each point is one run.

MetricWhat is countedCounts
CPU App / CPU SystemAverage CPU used by the app / by the whole device%
App Memory / System MemoryAverage memory used by the app / in use on the whole deviceMB
Current FPSAverage frames per secondfps
Frozen Frames / Janky FramesAverage frozen / janky (slow) framesFrames
BatteryBattery used by the run. Runs that report no battery data are left out. The Performance Trends overlay plots the run's average battery reading instead, so the two charts can differ for one run.mAh
Battery PowerAverage power drawW
TemperatureAverage battery temperature. Runs with no reading are left out.°C
Network Upload / Network DownloadAverage of the run's per-second upload / download samples, not the total transferredMB
Disk Read / Disk WriteAverage disk read / write rateMB/s
Thermal StateWorst thermal state the run reached, 0 (Nominal) to 3 (Critical). iOS only.State
Cold Startup / Hot StartupTime to launch the app when it is not running / when it is already in memoryms
Page Label Load TimeSeconds spent on each page label. Not shown in P90 mode.Seconds
Device Performance MatrixPer device model, the average of each run's values (for example CPU App, Memory System and FPS), and Sessions, the number of runs on that devicePer device

The Min, Max and Avg under each chart are the lowest, highest and average of the plotted points.

Comparison​

Comparison shows the selected runs side by side.

MetricWhat is countedCounts
Avg. / Min. / Max. / P90For each run: the average, lowest, highest and 90th-percentile valuePer metric
Baseline Diff.Each run's value minus the baseline run's value. The arrow colour shows whether the change is better or worse; for FPS, higher is better.Per metric

Reports​

Usage Report​

Usage Report counts usage per product. Tests here counts every run, including retried attempts.

MetricWhat is countedCounts
Total UsersDistinct users who ran at least one test on the product. For Smart UI, users who created a build.Users
Total TestsRuns on the product. For Smart UI, compared screenshots; for KaneAI, test cases. The Total row does not include KaneAI.Runs
Total DurationTotal execution time of the product's runsHours
FrequencyAverage tests per user: Total Tests divided by Total Users, rounded upRuns per user
KaneAI (New Authoring)Test Manager test cases generated with KaneAI and created in the date rangeTest cases
KaneAI (Edit Existing)Test Manager test cases generated with KaneAI before the date range and updated in it, by any editTest cases
Δ vs / % vs (Group by month)The change in tests from the previous month, as a number / as a percentageRuns / %

Project Report​

Project Report counts runs across your projects.

MetricWhat is countedCounts
Total TestsWeb Automation, App Automation and HyperExecute runs plus Smart UI screenshots in the date range. Real Time and Real Device manual sessions are not included.Runs
Test VelocityTotal Tests divided by the number of points on the test-volume chart, rounded down. Each point is a day, or an hour when the date range is one day or shorter.Runs per day (or per hour)
Passed (%) / Failed (%)Runs that passed / failed, as a share of all runs. For Smart UI: Approved (%) / Rejected (%).%
AnomaliesRuns flagged as a performance anomalyRuns
Browser Compatibility / Device PerformancePass rate for each of the 5 browsers / devices with the most runs%
Success RateRuns in the project that passed, as a share of all its runs%
Unstable TestsTests in the project with more than one result, or whose only result was a queue timeout or lambda error. The number beside it is the change from the previous period of the same length, as a count.Tests
Testing DistributionThe 5 browsers and devices with the most runs, in one list, with each one's run countRuns
Quality TrendPer product, pass rate (for Smart UI, approval rate) and test volume (for Smart UI, screenshot volume) over time% and runs

Private Real Devices and Private Desktop​

Private Real Devices Insights and Private Desktop Insights show usage of your private devices and machines in tables grouped by device, user, group or sub-organization. The Private Real Devices device table shows up to 1,000 rows; every other table shows up to 100.

MetricWhat is countedCounts
Total TestsRuns on the device or machine (or by the user, group or sub-organization), including retried attemptsRuns
Test Duration / Total DurationTotal run time of those runsHours
Total UsersDistinct users who ran tests on the device or machineUsers

Sub Organizations​

Sub Organization widgets show usage across your sub-organizations.

WidgetWhat is countedCounts
Sub Organizations Concurrency UtilizationFor each sub-organization, the highest number of tests running at the same time and the highest number waiting in the queue at the same time. The two peaks can be at different times.Tests
Accessibility Scans by Sub-OrgDistinct accessibility scans run by each sub-organizationScans

KPI threshold alerts​

KPI threshold alerts check five KPIs every 6, 12 or 24 hours. Each check counts over a rolling window of the last 1 to 15 days, ending at the start of the check slot (00:00, 06:00, 12:00 or 18:00 UTC for 6-hour checks; 00:00 or 12:00 UTC for 12-hour checks; 00:00 UTC for daily checks), not when the alert is sent, and the failure KPIs compare it with the window of the same length just before it. An alert is sent when a count is above its threshold; a count equal to the threshold does not alert. While a KPI stays above its threshold, the alert repeats at every check.

The KPIs are counted the same way as in the weekly email, over the alert window instead of a week:

KPIWhat is countedCounts
New FailuresTests that ran in both the current window and the window before it, and failed at least once in the current window but not in the one beforeTests
Consistent FailuresTests that failed at least once in both the current window and the window before itTests
UnstableTests with more than one result in the window, or whose only result was a lambda error, queue timeout or idle timeoutTests
Flaky (runs)Runs flagged as flaky in the windowRuns, not distinct tests
Retried (runs)Retried runs in the window, that is, every attempt that was not the final attemptRuns, not distinct tests
note

Every attempt counts, including retries: a test that failed and then passed on retry counts as failed in New Failures and Consistent Failures, and as unstable in Unstable. Unstable and Flaky use automation data only (Web Automation, App Automation and HyperExecute); the other three also include Real Time and Real Device.

Anomaly notifications​

Anomaly notifications send one email, Slack or webhook digest per build once the build's smart tags are settled. They cover Web Automation, App Automation and HyperExecute builds.

CountWhat is countedCounts
Flaky, New Failure, Always Failing, Performance AnomalyTagged runs (test-level detection, the default) or tagged test cases (test-case-level detection) in the build. With both levels on, the two are added. Only the categories you chose are counted.Runs or test cases

A digest is sent only when the total across the chosen categories is at least your minimum count (1 by default). The email and the webhook list up to 5 examples per category, with the category's total; Slack shows 3 and the number of others.

App Profiling threshold alerts​

App Profiling threshold breach alerts are checked once for each completed App Profiling run. A metric breaches when the run's value reaches the red band of your organization's SLA thresholds.

MetricValue checked for the runBreaches when
CPU (app)Highest CPU used by the app, in %At or above the red threshold
Memory (app)Highest memory used by the app, in MBAt or above the red threshold
FPSLowest frames per secondAt or below the red threshold
Cold Startup / Hot StartupStartup time, in msAt or above the red threshold
TemperatureHighest battery temperature, in °CAt or above the red threshold
Battery PowerAverage power draw, in WAt or above the red threshold
Thermal StateWorst thermal state the run reached (iOS, 0 Nominal to 3 Critical)At or above the red threshold
NetworkHighest download plus highest upload, in MB (one threshold for the two together)At or above the red threshold
Disk Read / Disk WriteHighest disk read / write rate, in MB/sAt or above the red threshold
Page Load (per label)Total seconds spent on the label, summed across all runs of the test from 00:00 UTC 7 days before the run's date to the end of that dateAt or above the red threshold

Battery Power, Temperature and Thermal State are skipped when the run did not report them. Other metrics read 0 when not reported, which can raise an FPS alert.

Help and Support

Related Articles