You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Exclude documentation code coverage from metrics report.
Coverage of the documentation code is not important enough to report to users. If it were reported it should be in a separate section (along with test code coverage).
This commit is contained in:
@ -984,8 +984,8 @@ sub coverageDocSummaryGenerate
|
||||
|
||||
foreach my $strFileCov (sort(keys(%{$rhManifest})))
|
||||
{
|
||||
# Skip test modules (this includes modules that start with src/ since src/ is stripped from core modules)
|
||||
next if $strFileCov =~ /^test\// || $strFileCov =~ /^src\//;
|
||||
# Skip doc/test modules (this includes modules that start with src/ since src/ is stripped from core modules)
|
||||
next if $strFileCov =~ /^doc\// || $strFileCov =~ /^test\// || $strFileCov =~ /^src\//;
|
||||
|
||||
if ($strFileCov =~ /\.lcov$/)
|
||||
{
|
||||
|
Reference in New Issue
Block a user