diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-19 12:17:04 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-19 12:17:04 +0000 |
commit | b6faaf34b353a68f99e8e4b1ac9bbdd30b8a71b2 (patch) | |
tree | d415075348fe0af26f9cf563b1b352d68bddf2f5 /sal/qa/helper | |
parent | 72e2d20cb0463107bc036a6041aa56343e806b06 (diff) |
INTEGRATION: CWS qadev5 (1.1.2); FILE ADDED
2003/04/25 06:45:43 lla 1.1.2.1: #108721# gcov statistic helper functions.
Diffstat (limited to 'sal/qa/helper')
-rwxr-xr-x | sal/qa/helper/gcov/statistics | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sal/qa/helper/gcov/statistics b/sal/qa/helper/gcov/statistics new file mode 100755 index 000000000000..991b490c0d2c --- /dev/null +++ b/sal/qa/helper/gcov/statistics @@ -0,0 +1,19 @@ +#!/bin/bash +# $Id: statistics,v 1.2 2003-05-19 13:17:04 vg Exp $ + +./gcov_filter.pl -i ../../../util/sal.map --showallfunc FOO | sort | uniq >exportedfunctions.txt + +# gives the number off all files. +./gcov_filter.pl -i ../../../util/sal.map --allfuncinfo FOO + +./gcov_all --no-percentage | sort | uniq >allchecked.txt + +# gives the number of all testable functions +echo -n " testable functions: " +cat allchecked.txt | wc -l + +# gives a list of all checked functions within gcov. +./gcov_all --no-percentage --do-not-filter | sort +1 | uniq >realallchecked.txt + +# output all functions, which are not tested by gcov -f, due to the fact, that they where not found +comm -3 exportedfunctions.txt allchecked.txt |