{
    "mode": "man",
    "parameter": "GCOV2PERL",
    "section": "1p",
    "url": "https://www.chedong.com/phpMan.php/man/GCOV2PERL/1p/json",
    "generated": "2026-07-05T13:34:20Z",
    "synopsis": "gcov2perl -h -i -v -db database gcovfiles",
    "sections": {
        "NAME": {
            "content": "gcov2perl - convert gcov files to Devel::Cover databases\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 1.36\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gcov2perl -h -i -v -db database gcovfiles\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Convert gcov files to Devel::Cover databases.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "The following command line options are supported:\n\n-db database    - specify the database to use\n\n-h -help        - show help\n-i -info        - show documentation\n-v -version     - show version\n",
            "subsections": []
        },
        "DETAILS": {
            "content": "To obtain coverage of XS files they must first be compiled with the appropriate options.  In\na standard Makefile environment, such as that created by ExtUtils::MakeMaker, this can be\naccomplished with the command:\n\nHARNESSPERLSWITCHES=-MDevel::Cover make test \\\nCCFLAGS=-O0\\ -fprofile-arcs\\ -ftest-coverage \\\nOTHERLDFLAGS=-fprofile-arcs\\ -ftest-coverage\n\nIf you have already built your object files it may be necessary to run make clean first, or\nto find some other way to ensure that they get rebuilt with the options gcov requires.\n\nNow the code coverage data has been collected \"gcov\" needs to be run:\n\ngcov Mylib.xs\n\nThis will create one or more gcov files on which you can run \"gcov2perl\":\n\ngcov2perl Mylib.xs.gcov\n\nFinally, \"cover\" should be run as usual with any options required:\n\ncover\n\nIf you are running everything with standard options, you can do all this with one command:\n\ncover -test\n",
            "subsections": []
        },
        "EXIT STATUS": {
            "content": "The following exit values are returned:\n\n0   All files converted successfully\n>0  An error occurred.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Devel::Cover\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Huh?\n",
            "subsections": []
        },
        "LICENCE": {
            "content": "Copyright 2001-2019, Paul Johnson (paul@pjcj.net)\n\nThis software is free.  It is licensed under the same terms as Perl itself.\n\nThe latest version of this software should be available from my homepage: http://www.pjcj.net\n\n\n\nperl v5.34.0                                 2022-02-06                                GCOV2PERL(1p)",
            "subsections": []
        }
    },
    "summary": "gcov2perl - convert gcov files to Devel::Cover databases",
    "flags": [],
    "examples": [],
    "see_also": []
}