GCC Code Coverage Report


Directory: ../
Date: 2024-05-12 12:19:34
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 11230 12760 88.0%
Functions: 1991 2121 93.9%
Branches: 14975 30521 49.1%

File Lines Functions Branches
src/ast/AbstractASTVisitor.cpp 100.0 100.0% 6 / 6 100.0% 2 / 2 75.0% 6 / 8
src/ast/ASTBuilder.cpp 97.0 97.0% 832 / 858 100.0% 260 / 260 62.8% 990 / 1576
src/ast/ASTBuilder.h 100.0 100.0% 3 / 3 -% 0 / 0 50.2% 321 / 640
src/ast/ASTNodes.cpp 69.1 69.1% 235 / 340 100.0% 64 / 64 42.8% 254 / 594
src/ast/ASTNodes.h 91.4 91.4% 402 / 440 92.3% 419 / 454 60.8% 96 / 158
src/ast/ASTVisitor.cpp 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0
src/ast/ParallelizableASTVisitor.cpp 100.0 100.0% 6 / 6 100.0% 2 / 2 62.5% 5 / 8
src/CompilerPass.cpp 100.0 100.0% 20 / 20 100.0% 4 / 4 57.1% 8 / 14
src/driver/Driver.cpp 0.0 0.0% 0 / 210 0.0% 0 / 25 0.0% 0 / 528
src/driver/Driver.h 0.0 0.0% 0 / 1 0.0% 0 / 1 0.0% 0 / 6
src/exception/AntlrThrowingErrorListener.cpp 100.0 100.0% 5 / 5 100.0% 1 / 1 62.5% 5 / 8
src/exception/AntlrThrowingErrorListener.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/exception/CliError.cpp 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0
src/exception/CompilerError.cpp 28.9 28.9% 13 / 45 75.0% 3 / 4 14.5% 11 / 76
src/exception/ErrorManager.cpp 100.0 100.0% 9 / 9 100.0% 2 / 2 62.5% 10 / 16
src/exception/ErrorManager.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/exception/LexerError.cpp 100.0 100.0% 8 / 8 100.0% 3 / 3 50.0% 9 / 18
src/exception/LinkerError.cpp 0.0 0.0% 0 / 10 0.0% 0 / 3 0.0% 0 / 15
src/exception/ParserError.cpp 100.0 100.0% 18 / 18 100.0% 3 / 3 57.6% 19 / 33
src/exception/SemanticError.cpp 71.6 71.6% 146 / 204 100.0% 3 / 3 47.0% 147 / 313
src/global/CacheManager.cpp 0.0 0.0% 0 / 9 0.0% 0 / 2 0.0% 0 / 22
src/global/CacheManager.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/global/GlobalResourceManager.cpp 76.1 76.1% 35 / 46 66.7% 4 / 6 34.4% 31 / 90
src/global/RuntimeModuleManager.cpp 95.0 95.0% 38 / 40 100.0% 5 / 5 51.6% 33 / 64
src/global/RuntimeModuleManager.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/global/TypeRegistry.cpp 96.2 96.2% 25 / 26 87.5% 7 / 8 56.2% 27 / 48
src/importcollector/ImportCollector.cpp 92.7 92.7% 51 / 55 100.0% 3 / 3 53.6% 89 / 166
src/importcollector/ImportCollector.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/irgenerator/DebugInfoGenerator.cpp 75.6 75.6% 204 / 270 91.7% 11 / 12 45.6% 238 / 522
src/irgenerator/DebugInfoGenerator.h 100.0 100.0% 1 / 1 100.0% 1 / 1 50.0% 1 / 2
src/irgenerator/GenBuiltinFunctions.cpp 93.7 93.7% 59 / 63 100.0% 5 / 5 50.5% 106 / 210
src/irgenerator/GenControlStructures.cpp 95.3 95.3% 243 / 255 81.8% 9 / 11 51.0% 313 / 614
src/irgenerator/GenExpressions.cpp 99.1 99.1% 446 / 450 100.0% 16 / 16 57.7% 564 / 978
src/irgenerator/GenImplicit.cpp 91.0 91.0% 322 / 354 100.0% 18 / 18 48.5% 441 / 910
src/irgenerator/GenStatements.cpp 92.9 92.9% 104 / 112 75.0% 9 / 12 55.1% 118 / 214
src/irgenerator/GenTopLevelDefinitions.cpp 97.5 97.5% 351 / 360 100.0% 14 / 14 56.4% 467 / 828
src/irgenerator/GenValues.cpp 95.9 95.9% 538 / 561 100.0% 13 / 13 55.9% 707 / 1264
src/irgenerator/GenVTable.cpp 100.0 100.0% 93 / 93 100.0% 4 / 4 54.2% 90 / 166
src/irgenerator/IRGenerator.cpp 95.1 95.1% 309 / 325 100.0% 32 / 32 60.6% 373 / 616
src/irgenerator/LLVMExprResult.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/irgenerator/NameMangling.cpp 93.2 93.2% 151 / 162 100.0% 13 / 13 60.6% 152 / 251
src/irgenerator/OpRuleConversionManager.cpp 63.6 63.6% 740 / 1163 92.4% 122 / 132 30.3% 1412 / 4662
src/irgenerator/OpRuleConversionManager.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/irgenerator/StdFunctionManager.cpp 92.1 92.1% 82 / 89 93.8% 15 / 16 49.4% 76 / 154
src/irgenerator/StdFunctionManager.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/iroptimizer/IROptimizer.cpp 93.9 93.9% 46 / 49 100.0% 6 / 6 48.1% 26 / 54
src/iroptimizer/IROptimizer.h 100.0 100.0% 3 / 3 100.0% 1 / 1 50.0% 5 / 10
src/linker/BitcodeLinker.cpp 100.0 100.0% 4 / 4 100.0% 1 / 1 75.0% 3 / 4
src/linker/BitcodeLinker.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/linker/ExternalLinkerInterface.cpp 85.3 85.3% 29 / 34 100.0% 5 / 5 43.8% 35 / 80
src/linker/ExternalLinkerInterface.h 100.0 100.0% 1 / 1 100.0% 1 / 1 50.0% 1 / 2
src/main.cpp 0.0 0.0% 0 / 43 0.0% 0 / 2 0.0% 0 / 78
src/model/Function.cpp 97.0 97.0% 65 / 67 100.0% 12 / 12 63.2% 86 / 136
src/model/Function.h 100.0 100.0% 9 / 9 100.0% 2 / 2 55.9% 19 / 34
src/model/GenericType.cpp 100.0 100.0% 8 / 8 100.0% 3 / 3 100.0% 6 / 6
src/model/GenericType.h 100.0 100.0% 3 / 3 100.0% 2 / 2 50.0% 2 / 4
src/model/Interface.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/model/Struct.cpp 100.0 100.0% 2 / 2 100.0% 2 / 2 -% 0 / 0
src/model/Struct.h 100.0 100.0% 3 / 3 100.0% 1 / 1 -% 0 / 0
src/model/StructBase.cpp 97.0 97.0% 32 / 33 100.0% 8 / 8 62.9% 39 / 62
src/model/StructBase.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/objectemitter/ObjectEmitter.cpp 100.0 100.0% 23 / 23 100.0% 3 / 3 53.3% 16 / 30
src/SourceFile.cpp 84.1 84.1% 391 / 465 92.7% 38 / 41 44.2% 400 / 904
src/SourceFile.h 100.0 100.0% 2 / 2 -% 0 / 0 50.0% 5 / 10
src/symboltablebuilder/Capture.cpp 100.0 100.0% 17 / 17 100.0% 5 / 5 58.3% 14 / 24
src/symboltablebuilder/Lifecycle.cpp 69.2 69.2% 9 / 13 66.7% 4 / 6 80.0% 4 / 5
src/symboltablebuilder/QualType.cpp 94.8 94.8% 221 / 233 93.6% 73 / 78 59.9% 188 / 314
src/symboltablebuilder/QualType.h 100.0 100.0% 5 / 5 100.0% 5 / 5 -% 0 / 0
src/symboltablebuilder/Scope.cpp 91.9 91.9% 205 / 223 100.0% 22 / 22 63.0% 243 / 386
src/symboltablebuilder/Scope.h 100.0 100.0% 5 / 5 100.0% 1 / 1 54.1% 33 / 61
src/symboltablebuilder/ScopeHandle.cpp 100.0 100.0% 17 / 17 100.0% 6 / 6 50.0% 4 / 8
src/symboltablebuilder/ScopeHandle.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/symboltablebuilder/SymbolTable.cpp 98.1 98.1% 106 / 108 100.0% 13 / 13 66.5% 113 / 170
src/symboltablebuilder/SymbolTable.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/symboltablebuilder/SymbolTableBuilder.cpp 94.5 94.5% 343 / 363 100.0% 31 / 31 55.9% 444 / 794
src/symboltablebuilder/SymbolTableEntry.cpp 100.0 100.0% 45 / 45 100.0% 12 / 12 55.9% 38 / 68
src/symboltablebuilder/SymbolTableEntry.h 100.0 100.0% 3 / 3 100.0% 2 / 2 50.0% 1 / 2
src/symboltablebuilder/Type.cpp 97.9 97.9% 229 / 234 100.0% 43 / 43 59.4% 271 / 456
src/symboltablebuilder/TypeChain.cpp 94.8 94.8% 110 / 116 100.0% 4 / 4 70.3% 78 / 111
src/symboltablebuilder/TypeChain.h 100.0 100.0% 6 / 6 100.0% 4 / 4 -% 0 / 0
src/symboltablebuilder/TypeSpecifiers.cpp 95.2 95.2% 79 / 83 100.0% 7 / 7 80.3% 57 / 71
src/symboltablebuilder/TypeSpecifiers.h 100.0 100.0% 3 / 3 100.0% 2 / 2 -% 0 / 0
src/typechecker/ExprResult.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/typechecker/FunctionManager.cpp 97.4 97.4% 229 / 235 100.0% 18 / 18 63.3% 248 / 392
src/typechecker/InterfaceManager.cpp 92.0 92.0% 104 / 113 100.0% 11 / 11 54.9% 106 / 193
src/typechecker/OpRuleManager.cpp 94.3 94.3% 379 / 402 100.0% 51 / 51 58.2% 569 / 978
src/typechecker/StructManager.cpp 97.9 97.9% 138 / 141 100.0% 11 / 11 58.5% 155 / 265
src/typechecker/TypeChecker.cpp 95.8 95.8% 1496 / 1562 98.8% 79 / 80 53.0% 2637 / 4975
src/typechecker/TypeCheckerCheck.cpp 100.0 100.0% 117 / 117 100.0% 4 / 4 65.9% 145 / 220
src/typechecker/TypeCheckerImplicit.cpp 95.9 95.9% 209 / 218 93.3% 14 / 15 58.0% 276 / 476
src/typechecker/TypeCheckerPrepare.cpp 94.8 94.8% 399 / 421 100.0% 13 / 13 54.7% 616 / 1126
src/typechecker/TypeMatcher.cpp 94.0 94.0% 79 / 84 100.0% 4 / 4 63.6% 103 / 162
src/util/BlockAllocator.h 100.0 100.0% 29 / 29 100.0% 84 / 84 60.0% 18 / 30
src/util/CodeLoc.cpp 100.0 100.0% 13 / 13 100.0% 5 / 5 47.8% 22 / 46
src/util/CodeLoc.h 100.0 100.0% 9 / 9 100.0% 3 / 3 83.3% 5 / 6
src/util/CommonUtil.cpp 85.4 85.4% 41 / 48 87.5% 7 / 8 40.5% 30 / 74
src/util/CompilerWarning.cpp 85.1 85.1% 40 / 47 75.0% 3 / 4 51.2% 41 / 80
src/util/CustomHashFunctions.cpp 100.0 100.0% 27 / 27 100.0% 6 / 6 50.0% 3 / 6
src/util/DeferredLogic.h 100.0 100.0% 10 / 10 100.0% 3 / 3 100.0% 4 / 4
src/util/FileUtil.cpp 57.1 57.1% 40 / 70 54.5% 6 / 11 33.8% 54 / 160
src/util/GlobalDefinitions.h 100.0 100.0% 2 / 2 -% 0 / 0 50.0% 14 / 28
src/util/Memory.h 100.0 100.0% 2 / 2 100.0% 2 / 2 -% 0 / 0
src/util/RawStringOStream.cpp 28.6 28.6% 2 / 7 50.0% 2 / 4 0.0% 0 / 2
src/util/Timer.h 100.0 100.0% 16 / 16 100.0% 6 / 6 70.0% 7 / 10
src/visualizer/ASTVisualizer.cpp 87.5 87.5% 7 / 8 100.0% 1 / 1 37.5% 3 / 8
src/visualizer/ASTVisualizer.h 93.8 93.8% 90 / 96 92.5% 148 / 160 47.3% 175 / 370
src/visualizer/CSTVisualizer.cpp 97.1 97.1% 33 / 34 100.0% 3 / 3 53.2% 67 / 126
src/visualizer/CSTVisualizer.h 93.2 93.2% 82 / 88 93.1% 81 / 87 46.6% 163 / 350
test/driver/Driver.cpp 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0
test/driver/Driver.h 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0
test/main.cpp 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0
test/TestRunner.cpp 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0
test/unittest/UnitBlockAllocator.cpp 95.1 95.1% 58 / 61 87.5% 14 / 16 36.6% 106 / 290
test/unittest/UnitCommonUtil.cpp 100.0 100.0% 41 / 41 100.0% 12 / 12 33.8% 158 / 468
test/util/TestUtil.cpp 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0
test/util/TestUtil.h 100.0 100.0% 0 / 0 -% 0 / 0 -% 0 / 0