Lines Matching refs:stats
1917 Stats Stats;
1919 struct Stats
1977 merge_stats_for_file (Stats *stats,
1989 stats->n_lines_inside_dbus_build_tests += 1;
1994 stats->n_lines_executed += 1;
1997 stats->n_lines += 1;
2000 stats->n_lines_partial += 1;
2009 stats->n_functions_inside_dbus_build_tests += 1;
2012 stats->n_functions += 1;
2015 stats->n_functions_executed += 1;
2018 stats->n_functions_partial += 1;
2021 stats->n_blocks_inside_dbus_build_tests +=
2024 stats->n_blocks_executed +=
2027 stats->n_blocks +=
2273 Stats *stats)
2280 #define AVERAGE_COVERAGE ((stats)->n_blocks_executed / (double) (stats)->n_blocks)
2334 Stats *stats)
2406 print_stats (Stats *stats,
2414 (stats->n_blocks_executed / (double) stats->n_blocks) * 100.0,
2415 stats->n_blocks_executed,
2416 stats->n_blocks);
2419 stats->n_blocks_inside_dbus_build_tests);
2422 (stats->n_functions_executed / (double) stats->n_functions) * 100.0,
2423 stats->n_functions_executed,
2424 stats->n_functions);
2426 completely = stats->n_functions_executed - stats->n_functions_partial;
2428 (completely / (double) stats->n_functions) * 100.0,
2430 stats->n_functions);
2433 stats->n_functions_inside_dbus_build_tests);
2436 (stats->n_lines_executed / (double) stats->n_lines) * 100.0,
2437 stats->n_lines_executed,
2438 stats->n_lines);
2440 completely = stats->n_lines_executed - stats->n_lines_partial;
2442 (completely / (double) stats->n_lines) * 100.0,
2444 stats->n_lines);
2447 stats->n_lines_inside_dbus_build_tests);
2530 Stats stats = { 0, };
2565 merge_stats_for_file (&stats, f);
2570 print_stats (&stats, "all files");
2581 Stats *dir_stats;
2597 dir_stats = dbus_new0 (Stats, 1);
2614 Stats *dir_stats = _dbus_hash_iter_get_value (&iter);
2636 print_poorly_tested_functions (f, &stats);
2646 print_n_untested_blocks_by_function (f, &stats);