1
0
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:
David Steele
2020-01-15 13:53:30 -07:00
parent 193b78e150
commit e81629b442
2 changed files with 53 additions and 54 deletions
@@ -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