bump product version to 5.0.4.1
[LibreOffice.git] / sal / qa / helper / gcov / statistics
blob74cd9e1bf299794dbba138c9b53de640ca9d7796
1 #!/bin/sh
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 ./gcov_filter.pl -i ../../../util/sal.map --showallfunc FOO | sort | uniq >exportedfunctions.txt
22 # gives the number off all files.
23 ./gcov_filter.pl -i ../../../util/sal.map --allfuncinfo FOO
25 ./gcov_all --no-percentage | sort | uniq >allchecked.txt
27 # gives the number of all testable functions
28 echo -n " testable functions: "
29 cat allchecked.txt | wc -l
31 # gives a list of all checked functions within gcov.
32 ./gcov_all | sort +1 | uniq >realallchecked.txt
34 # output all functions, which are not tested by gcov -f, due to the fact, that they where not found
35 comm -3 exportedfunctions.txt allchecked.txt >notfound.txt