{
    "mode": "perldoc",
    "parameter": "Devel::Cover::Test",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Devel%3A%3ACover%3A%3ATest/json",
    "generated": "2026-06-13T18:58:58Z",
    "sections": {
        "NAME": {
            "content": "Devel::Cover::Test - Internal module for testing\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 1.36\n",
            "subsections": []
        },
        "METHODS": {
            "content": "new\nmy $test = Devel::Cover::Test->new($test, criteria => $string)\n\nConstructor.\n\n\"criteria\" parameter (optional, defaults to \"statement branch condition subroutine\") is a space\nseparated list of tokens. Supported tokens are \"statement\", \"branch\", \"condition\", \"subroutine\"\nand \"pod\".\n\nMore optional parameters are supported. Refer to \"getparams\" sub.\n\nshellquote\nmy $quoteditem = shellquote($item)\n\nReturns properly quoted item to cope with embedded spaces.\n\nperl\nmy $perl = $self->perl\n\nReturns absolute path to Perl interpreter with proper -I options (blib-wise).\n\ntestcommand\nmy $command = $self->testcommand\n\nReturns test command, made of:\n\nabsolute path to Perl interpreter\nDevel::Cover -M option (if applicable)\ntest file\ntest file parameters (if applicable)\n\ncovercommand\nmy $command = $self->covercommand\n\nReturns test command, made of:\n\nabsolute path to Perl interpreter\nabsolute path to cover script\ncover parameters\n\ntestfile\nmy $file = $self->testfile\n\nReturns absolute path to test file.\n\ntestfileparameters\nmy $parameters = $self->testfileparameters\n\nAccessor to testfileparameters property.\n\ngetparams\nPopulates the keys \"criteria\", \"select\", \"testparameters\", \"dbname\", \"coverdb\",\n\"coverparameters\" and \"skip\" using the \"testfile\" if available otherwise sets the default.\n\ncovergold\nmy ($base, $v) = $self->covergold;\n\nReturns the absolute path of the base to the golden file and the suffix version number.\n\n$base comes from the name of the test and $v will be $] from the earliest perl version for which\nthe golden results should be the same as for the current $]\n\n$v will be overridden if installed libraries' versions dictate; for instance, if Math::BigInt is\nat version > 1.999806, then the version of Perl will be overridden as though it is 5.26.\n\nruncommand\n$self->runcommand($command)\n\nRuns command, most likely obtained from \"testcommand\" sub.\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",
            "subsections": []
        }
    },
    "summary": "Devel::Cover::Test - Internal module for testing",
    "flags": [],
    "examples": [],
    "see_also": []
}