You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Reclassify Perl and LibC code as test/harness.
These were still being included in the core totals but they are no longer used by core.
This commit is contained in:
@@ -93,16 +93,15 @@ sub codeCountScan
|
||||
{
|
||||
$strClass = 'test/module';
|
||||
}
|
||||
elsif ($strFile =~ '^src/' || $strFile =~ '^lib/' || $strFile =~ '^libc/')
|
||||
elsif ($strFile =~ '^src/')
|
||||
{
|
||||
if ($strFile =~ '\.auto\..$' || $strFile =~ 'Auto\.pm$')
|
||||
{
|
||||
$strClass = 'core/auto';
|
||||
}
|
||||
else
|
||||
{
|
||||
$strClass = 'core';
|
||||
}
|
||||
$strClass = 'core';
|
||||
}
|
||||
|
||||
# Append auto if an auto-generated file
|
||||
if ($strFile =~ '\.auto\..$' | $strFile =~ 'Auto\.pm$')
|
||||
{
|
||||
$strClass .= '/auto';
|
||||
}
|
||||
|
||||
# Force unrecognized file types
|
||||
|
||||
Reference in New Issue
Block a user