CatapultServer  v0.5.0.1 (Elephant)
exclusions Namespace Reference

Variables

tuple SKIP_FILES
 
tuple NAMESPACES_FALSEPOSITIVES
 
tuple EMPTYLINES_FALSEPOSITIVES
 
tuple LONGLINES_FALSEPOSITIVES
 
tuple SPECIAL_INCLUDES
 
dictionary CORE_FIRSTINCLUDES
 
dictionary PLUGINS_FIRSTINCLUDES
 
dictionary TOOLS_FIRSTINCLUDES
 
dictionary EXTENSION_FIRSTINCLUDES
 
tuple SKIP_FORWARDS
 
tuple FILTER_NAMESPACES
 

Variable Documentation

◆ CORE_FIRSTINCLUDES

dictionary exclusions.CORE_FIRSTINCLUDES

◆ EMPTYLINES_FALSEPOSITIVES

tuple exclusions.EMPTYLINES_FALSEPOSITIVES
Initial value:
1 = (
2 )

◆ EXTENSION_FIRSTINCLUDES

dictionary exclusions.EXTENSION_FIRSTINCLUDES
Initial value:
1 = {
2  'extensions/mongo/plugins/mosaic/src/MongoMosaicPlugin.cpp': 'MosaicDefinitionMapper.h',
3  'extensions/mongo/plugins/multisig/src/MongoMultisigPlugin.cpp': 'ModifyMultisigAccountMapper.h',
4  'extensions/mongo/plugins/namespace/src/MongoNamespacePlugin.cpp': 'AddressAliasMapper.h',
5 }

◆ FILTER_NAMESPACES

tuple exclusions.FILTER_NAMESPACES
Initial value:
1 = (
2  re.compile(r'.*detail'),
3  re.compile(r'.*_types::'),
4  re.compile(r'.*_types$'),
5  re.compile(r'.*bson_stream$')
6 )

◆ LONGLINES_FALSEPOSITIVES

tuple exclusions.LONGLINES_FALSEPOSITIVES
Initial value:
1 = (
2  # 64-byte hex strings
3  re.compile(r'SignerTests.cpp'),
4 )

◆ NAMESPACES_FALSEPOSITIVES

tuple exclusions.NAMESPACES_FALSEPOSITIVES

◆ PLUGINS_FIRSTINCLUDES

dictionary exclusions.PLUGINS_FIRSTINCLUDES
Initial value:
1 = {
2  # plugins
3  'plugins/coresystem/src/importance/PosImportanceCalculator.cpp': 'ImportanceCalculator.h',
4  'plugins/coresystem/src/importance/RestoreImportanceCalculator.cpp': 'ImportanceCalculator.h',
5 
6  'plugins/coresystem/tests/importance/PosImportanceCalculatorTests.cpp': 'src/importance/ImportanceCalculator.h',
7  'plugins/coresystem/tests/importance/RestoreImportanceCalculatorTests.cpp': 'src/importance/ImportanceCalculator.h',
8 
9  'plugins/txes/restriction_account/tests/model/AccountRestrictionTransactionTests.cpp':
10  'src/model/AccountAddressRestrictionTransaction.h',
11 
12  # sdk
13  'sdk/tests/builders/AliasBuilderTests.cpp': 'src/builders/AddressAliasBuilder.h',
14  'sdk/tests/builders/AccountRestrictionBuilderTests.cpp': 'src/builders/AccountAddressRestrictionBuilder.h',
15 }

◆ SKIP_FILES

tuple exclusions.SKIP_FILES
Initial value:
1 = (
2  # macro-based enums
3  re.compile(r'src.catapult.utils.MacroBasedEnum.h'),
4 
5  # inline includes
6  re.compile(r'src.catapult.model.EntityType.cpp'),
7  re.compile(r'src.catapult.model.ReceiptType.cpp'),
8  re.compile(r'src.catapult.validators.ValidationResult.cpp'),
9  re.compile(r'tools.statusgen.main.cpp')
10 )

◆ SKIP_FORWARDS

tuple exclusions.SKIP_FORWARDS
Initial value:
1 = (
2  re.compile(r'src.catapult.validators.ValidatorTypes.h'),
3  re.compile(r'src.catapult.utils.ClampedBaseValue.h'),
4  re.compile(r'.*\.cpp$'),
5 )

◆ SPECIAL_INCLUDES

tuple exclusions.SPECIAL_INCLUDES
Initial value:
1 = (
2  # src (these include double quotes because they have to match what is after `#include `)
3  re.compile(r'"catapult/utils/MacroBasedEnum\.h"'),
4  re.compile(r'"ReentrancyCheckReaderNotificationPolicy.h"'),
5 
6  re.compile(r'<ref10/crypto_verify_32.h>'),
7 
8  # those always should be in an ifdef
9  re.compile(r'<dlfcn.h>'),
10  re.compile(r'<io.h>'),
11  re.compile(r'<mach/mach.h>'),
12  re.compile(r'<psapi.h>'),
13  re.compile(r'<stdexcept>'),
14  re.compile(r'<sys/file.h>'),
15  re.compile(r'<sys/resource.h>'),
16  re.compile(r'<sys/time.h>'),
17  re.compile(r'<unistd.h>'),
18  re.compile(r'<windows.h>'),
19 )

◆ TOOLS_FIRSTINCLUDES

dictionary exclusions.TOOLS_FIRSTINCLUDES
Initial value:
1 = {
2  'tools/health/main.cpp': 'ApiNodeHealthUtils.h'
3 }