Home | History | Annotate | Download | only in test

Lines Matching refs:stats

1916 typedef struct Stats Stats;
1918 struct Stats
1976 merge_stats_for_file (Stats *stats,
1988 stats->n_lines_inside_dbus_build_tests += 1;
1993 stats->n_lines_executed += 1;
1996 stats->n_lines += 1;
1999 stats->n_lines_partial += 1;
2008 stats->n_functions_inside_dbus_build_tests += 1;
2011 stats->n_functions += 1;
2014 stats->n_functions_executed += 1;
2017 stats->n_functions_partial += 1;
2020 stats->n_blocks_inside_dbus_build_tests +=
2023 stats->n_blocks_executed +=
2026 stats->n_blocks +=
2272 Stats *stats)
2279 #define AVERAGE_COVERAGE ((stats)->n_blocks_executed / (double) (stats)->n_blocks)
2333 Stats *stats)
2405 print_stats (Stats *stats,
2413 (stats->n_blocks_executed / (double) stats->n_blocks) * 100.0,
2414 stats->n_blocks_executed,
2415 stats->n_blocks);
2418 stats->n_blocks_inside_dbus_build_tests);
2421 (stats->n_functions_executed / (double) stats->n_functions) * 100.0,
2422 stats->n_functions_executed,
2423 stats->n_functions);
2425 completely = stats->n_functions_executed - stats->n_functions_partial;
2427 (completely / (double) stats->n_functions) * 100.0,
2429 stats->n_functions);
2432 stats->n_functions_inside_dbus_build_tests);
2435 (stats->n_lines_executed / (double) stats->n_lines) * 100.0,
2436 stats->n_lines_executed,
2437 stats->n_lines);
2439 completely = stats->n_lines_executed - stats->n_lines_partial;
2441 (completely / (double) stats->n_lines) * 100.0,
2443 stats->n_lines);
2446 stats->n_lines_inside_dbus_build_tests);
2529 Stats stats = { 0, };
2564 merge_stats_for_file (&stats, f);
2569 print_stats (&stats, "all files");
2580 Stats *dir_stats;
2596 dir_stats = dbus_new0 (Stats, 1);
2613 Stats *dir_stats = _dbus_hash_iter_get_value (&iter);
2635 print_poorly_tested_functions (f, &stats);
2645 print_n_untested_blocks_by_function (f, &stats);