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:
@@ -168,123 +168,123 @@ doc/xml/user-guide.xml:
|
|||||||
type: xml
|
type: xml
|
||||||
|
|
||||||
lib/pgBackRest/Archive/Common.pm:
|
lib/pgBackRest/Archive/Common.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Archive/Info.pm:
|
lib/pgBackRest/Archive/Info.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Backup/Common.pm:
|
lib/pgBackRest/Backup/Common.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Backup/Info.pm:
|
lib/pgBackRest/Backup/Info.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Exception.pm:
|
lib/pgBackRest/Common/Exception.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/ExceptionAuto.pm:
|
lib/pgBackRest/Common/ExceptionAuto.pm:
|
||||||
class: core/auto
|
class: test/harness/auto
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Ini.pm:
|
lib/pgBackRest/Common/Ini.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Io/Base.pm:
|
lib/pgBackRest/Common/Io/Base.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Io/Buffered.pm:
|
lib/pgBackRest/Common/Io/Buffered.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Io/Filter.pm:
|
lib/pgBackRest/Common/Io/Filter.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Io/Handle.pm:
|
lib/pgBackRest/Common/Io/Handle.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Log.pm:
|
lib/pgBackRest/Common/Log.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/String.pm:
|
lib/pgBackRest/Common/String.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Common/Wait.pm:
|
lib/pgBackRest/Common/Wait.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Config/Config.pm:
|
lib/pgBackRest/Config/Config.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Db.pm:
|
lib/pgBackRest/Db.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/DbVersion.pm:
|
lib/pgBackRest/DbVersion.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/InfoCommon.pm:
|
lib/pgBackRest/InfoCommon.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/LibC.pm:
|
lib/pgBackRest/LibC.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/LibCAuto.pm:
|
lib/pgBackRest/LibCAuto.pm:
|
||||||
class: core/auto
|
class: test/harness/auto
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Manifest.pm:
|
lib/pgBackRest/Manifest.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Protocol/Storage/Helper.pm:
|
lib/pgBackRest/Protocol/Storage/Helper.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Storage/Base.pm:
|
lib/pgBackRest/Storage/Base.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Storage/Helper.pm:
|
lib/pgBackRest/Storage/Helper.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Storage/Storage.pm:
|
lib/pgBackRest/Storage/Storage.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Storage/StorageRead.pm:
|
lib/pgBackRest/Storage/StorageRead.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Storage/StorageWrite.pm:
|
lib/pgBackRest/Storage/StorageWrite.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
lib/pgBackRest/Version.pm:
|
lib/pgBackRest/Version.pm:
|
||||||
class: core
|
class: test/harness
|
||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
libc/LibC.h:
|
libc/LibC.h:
|
||||||
class: core
|
class: test/harness
|
||||||
type: c/h
|
type: c/h
|
||||||
|
|
||||||
libc/LibC.xs:
|
libc/LibC.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/Makefile.PL:
|
libc/Makefile.PL:
|
||||||
@@ -296,63 +296,63 @@ libc/build/lib/pgBackRestLibC/Build.pm:
|
|||||||
type: perl
|
type: perl
|
||||||
|
|
||||||
libc/xs/config/config.xs:
|
libc/xs/config/config.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/config/configTest.xs:
|
libc/xs/config/configTest.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/config/configTest.xsh:
|
libc/xs/config/configTest.xsh:
|
||||||
class: core
|
class: test/harness
|
||||||
type: c/h
|
type: c/h
|
||||||
|
|
||||||
libc/xs/config/define.xs:
|
libc/xs/config/define.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/crypto/hash.xs:
|
libc/xs/crypto/hash.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/crypto/hash.xsh:
|
libc/xs/crypto/hash.xsh:
|
||||||
class: core
|
class: test/harness
|
||||||
type: c/h
|
type: c/h
|
||||||
|
|
||||||
libc/xs/postgres/client.xs:
|
libc/xs/postgres/client.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/postgres/client.xsh:
|
libc/xs/postgres/client.xsh:
|
||||||
class: core
|
class: test/harness
|
||||||
type: c/h
|
type: c/h
|
||||||
|
|
||||||
libc/xs/postgres/pageChecksum.xs:
|
libc/xs/postgres/pageChecksum.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/storage/storage.xs:
|
libc/xs/storage/storage.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/storage/storage.xsh:
|
libc/xs/storage/storage.xsh:
|
||||||
class: core
|
class: test/harness
|
||||||
type: c/h
|
type: c/h
|
||||||
|
|
||||||
libc/xs/storage/storageRead.xs:
|
libc/xs/storage/storageRead.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/storage/storageRead.xsh:
|
libc/xs/storage/storageRead.xsh:
|
||||||
class: core
|
class: test/harness
|
||||||
type: c/h
|
type: c/h
|
||||||
|
|
||||||
libc/xs/storage/storageWrite.xs:
|
libc/xs/storage/storageWrite.xs:
|
||||||
class: core
|
class: test/harness
|
||||||
type: xs
|
type: xs
|
||||||
|
|
||||||
libc/xs/storage/storageWrite.xsh:
|
libc/xs/storage/storageWrite.xsh:
|
||||||
class: core
|
class: test/harness
|
||||||
type: c/h
|
type: c/h
|
||||||
|
|
||||||
src/Makefile.in:
|
src/Makefile.in:
|
||||||
|
|||||||
@@ -93,16 +93,15 @@ sub codeCountScan
|
|||||||
{
|
{
|
||||||
$strClass = 'test/module';
|
$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
|
# Force unrecognized file types
|
||||||
|
|||||||
Reference in New Issue
Block a user