This page documents the degree to which the PARI/GP source code is tested by
our public test suite, distributed with the source distribution in directory
src/test/. This is measured by the gcov utility; we then
process gcov output using the lcov frond-end.
We test a few variants depending on Configure flags
on the pari.math.u-bordeaux.fr machine (x86_64
architecture), and agregate them in the final report:
x86_32 architecture at
Configure time via setarchThe target is to exceed 90% coverage for all mathematical modules
(given that branches depending on DEBUGLEVEL
or DEBUGMEM are not covered). This script is
run to produce the results below.
| LCOV - code coverage report | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| File |
Line Coverage |
Function Coverage |
||||||
| Rate | Total | Hit | Rate | Total | Hit | |||
| part.c |
|
81.5 % | 189 | 154 | 92.3 % | 13 | 12 | |
| galpol.c |
|
83.3 % | 54 | 45 | 100.0 % | 4 | 4 | |
| groupid.c |
|
85.3 % | 224 | 191 | 87.5 % | 8 | 7 | |
| genus2red.c |
|
91.6 % | 1559 | 1428 | 100.0 % | 60 | 60 | |
| stark.c |
|
92.7 % | 1838 | 1704 | 98.5 % | 134 | 132 | |
| ellmanin.c |
|
93.8 % | 48 | 45 | 100.0 % | 4 | 4 | |
| ellfromeqn.c |
|
93.8 % | 145 | 136 | 100.0 % | 11 | 11 | |
| elldata.c |
|
94.7 % | 151 | 143 | 100.0 % | 16 | 16 | |
| thue.c |
|
95.1 % | 989 | 941 | 98.5 % | 65 | 64 | |
| galois.c |
|
96.2 % | 1861 | 1790 | 97.3 % | 74 | 72 | |
| ratpoints.c |
|
96.7 % | 911 | 881 | 100.0 % | 33 | 33 | |
| krasner.c |
|
98.0 % | 442 | 433 | 100.0 % | 35 | 35 | |
| algebras.c |
|
99.3 % | 3989 | 3963 | 99.7 % | 345 | 344 | |
| forperm.c |
|
100.0 % | 37 | 37 | 100.0 % | 4 | 4 | |
| forsubset.c |
|
100.0 % | 56 | 56 | 100.0 % | 7 | 7 | |
| Generated by: LCOV version 2.0-1 |