1GCOV2PERL(1)          User Contributed Perl Documentation         GCOV2PERL(1)
2
3
4

NAME

6       gcov2perl - convert gcov files to Devel::Cover databases
7

SYNOPSIS

9        gcov2perl -h -i -v -db database gcov_files
10

DESCRIPTION

12       Convert gcov files to Devel::Cover databases.
13

OPTIONS

15       The following command line options are supported:
16
17        -db database    - specify the database to use
18
19        -h -help        - show help
20        -i -info        - show documentation
21        -v -version     - show version
22

DETAILS

24       To obtain coverage of XS files they must first be compiled with the
25       appropriate options.  In a standard Makefile environment, such as that
26       created by ExtUtils::MakeMaker, this can be accomplished with the
27       command:
28
29        HARNESS_PERL_SWITCHES=-MDevel::Cover make test \
30          CCFLAGS=-O0\ -fprofile-arcs\ -ftest-coverage \
31          OTHERLDFLAGS=-fprofile-arcs\ -ftest-coverage
32
33       If you have already built your object files it may be necessary to run
34       make clean first, or to find some other way to ensure that they get
35       rebuilt with the options gcov requires.
36
37       Now the code coverage data has been collected "gcov" needs to be run:
38
39        gcov Mylib.xs
40
41       This will create one or more gcov files on which you can run
42       "gcov2perl":
43
44        gcov2perl Mylib.xs.gcov
45
46       Finally, "cover" should be run as usual with any options required:
47
48        cover
49
50       If you are running everything with standard options, you can do all
51       this with one command:
52
53        cover -test
54

EXIT STATUS

56       The following exit values are returned:
57
58        0   All files converted successfully
59        >0  An error occurred.
60

SEE ALSO

62        Devel::Cover
63

BUGS

65       Huh?
66

VERSION

68       Version 0.66 - 12th April 2010
69

LICENCE

71       Copyright 2001-2010, Paul Johnson (pjcj@cpan.org)
72
73       This software is free.  It is licensed under the same terms as Perl
74       itself.
75
76       The latest version of this software should be available from my
77       homepage: http://www.pjcj.net
78
79
80
81perl v5.12.3                      2010-04-12                      GCOV2PERL(1)
Impressum