xref: /trunk/main/sal/qa/helper/gcov/statistics (revision cdf0e10c)
1#!/bin/bash
2# $Id: statistics,v 1.3 2003-06-11 16:38:03 vg Exp $
3
4./gcov_filter.pl -i ../../../util/sal.map --showallfunc FOO | sort | uniq >exportedfunctions.txt
5
6# gives the number off all files.
7./gcov_filter.pl -i ../../../util/sal.map --allfuncinfo FOO
8
9./gcov_all --no-percentage | sort | uniq >allchecked.txt
10
11# gives the number of all testable functions
12echo -n "    testable functions: "
13cat allchecked.txt | wc -l
14
15# gives a list of all checked functions within gcov.
16./gcov_all | sort +1 | uniq >realallchecked.txt
17
18# output all functions, which are not tested by gcov -f, due to the fact, that they where not found
19comm -3 exportedfunctions.txt allchecked.txt >notfound.txt
20
21