GCC Code Coverage Report


Directory: ../
Date: 2024-11-22 23:10:59
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 11819 13319 88.7%
Functions: 2119 2331 90.9%
Branches: 15990 32896 48.6%

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% 846 / 872 100.0% 263 / 263 62.8% 994 / 1584
src/ast/ASTBuilder.h 100.0 100.0% 3 / 3 -% 0 / 0 50.0% 324 / 648
src/ast/ASTNodes.cpp 69.2 69.2% 234 / 338 100.0% 65 / 65 44.1% 275 / 624
src/ast/ASTNodes.h 93.4 93.4% 408 / 437 94.2% 426 / 452 60.4% 93 / 154
src/ast/ASTVisitor.cpp 60.5 60.5% 49 / 81 60.5% 49 / 81 -% 0 / 0
src/ast/ASTVisitor.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/ast/ParallelizableASTVisitor.cpp 8.0 8.0% 7 / 88 3.6% 3 / 83 62.5% 5 / 8
src/ast/ParallelizableASTVisitor.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/CompilerPass.cpp 100.0 100.0% 20 / 20 100.0% 4 / 4 57.1% 8 / 14
src/CompilerPass.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/driver/Driver.cpp 77.1 77.1% 162 / 210 79.2% 19 / 24 41.3% 223 / 540
src/driver/Driver.h 50.0 50.0% 1 / 2 50.0% 1 / 2 25.0% 3 / 12
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 0.0 0.0% 0 / 23 0.0% 0 / 3 0.0% 0 / 35
src/exception/CompilerError.cpp 39.4 39.4% 13 / 33 75.0% 3 / 4 18.0% 11 / 61
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 69.4 69.4% 150 / 216 100.0% 3 / 3 45.6% 151 / 331
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 75.0 75.0% 27 / 36 66.7% 4 / 6 32.9% 27 / 82
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.5% 26 / 46
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.3 75.3% 207 / 275 92.3% 12 / 13 44.2% 238 / 538
src/irgenerator/DebugInfoGenerator.h 100.0 100.0% 1 / 1 100.0% 1 / 1 50.0% 1 / 2
src/irgenerator/GenBuiltinFunctions.cpp 95.1 95.1% 77 / 81 100.0% 6 / 6 51.1% 136 / 266
src/irgenerator/GenControlStructures.cpp 100.0 100.0% 250 / 250 100.0% 11 / 11 53.0% 315 / 594
src/irgenerator/GenExpressions.cpp 99.1 99.1% 446 / 450 100.0% 16 / 16 57.7% 571 / 990
src/irgenerator/GenImplicit.cpp 87.2 87.2% 353 / 405 95.2% 20 / 21 47.1% 491 / 1042
src/irgenerator/GenStatements.cpp 92.6 92.6% 100 / 108 75.0% 9 / 12 54.9% 113 / 206
src/irgenerator/GenTargetDependent.cpp 42.9 42.9% 6 / 14 100.0% 2 / 2 11.1% 4 / 36
src/irgenerator/GenTopLevelDefinitions.cpp 97.5 97.5% 353 / 362 100.0% 14 / 14 56.5% 472 / 836
src/irgenerator/GenValues.cpp 95.9 95.9% 543 / 566 100.0% 13 / 13 55.8% 727 / 1302
src/irgenerator/GenVTable.cpp 100.0 100.0% 92 / 92 100.0% 4 / 4 54.2% 90 / 166
src/irgenerator/IRGenerator.cpp 96.1 96.1% 318 / 331 100.0% 33 / 33 61.2% 388 / 634
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.3 63.3% 741 / 1170 92.4% 122 / 132 30.0% 1418 / 4730
src/irgenerator/OpRuleConversionManager.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/irgenerator/StdFunctionManager.cpp 93.0 93.0% 93 / 100 94.4% 17 / 18 50.0% 90 / 180
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% 4 / 4 100.0% 1 / 1 57.1% 8 / 14
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 50.0% 1 / 2
src/linker/ExternalLinkerInterface.cpp 87.9 87.9% 29 / 33 100.0% 5 / 5 43.8% 35 / 80
src/linker/ExternalLinkerInterface.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/main.cpp 0.0 0.0% 0 / 43 0.0% 0 / 2 0.0% 0 / 78
src/model/Function.cpp 97.1 97.1% 68 / 70 100.0% 12 / 12 62.7% 89 / 142
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% 10 / 10 100.0% 3 / 3 100.0% 12 / 12
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% 21 / 21 100.0% 3 / 3 53.3% 16 / 30
src/SourceFile.cpp 83.9 83.9% 416 / 496 92.7% 38 / 41 45.4% 428 / 942
src/SourceFile.h 100.0 100.0% 3 / 3 -% 0 / 0 50.0% 6 / 12
src/symboltablebuilder/Capture.cpp 100.0 100.0% 17 / 17 100.0% 5 / 5 58.3% 14 / 24
src/symboltablebuilder/Lifecycle.cpp 76.5 76.5% 13 / 17 75.0% 6 / 8 80.0% 8 / 10
src/symboltablebuilder/QualType.cpp 95.9 95.9% 232 / 242 97.4% 75 / 77 60.1% 203 / 338
src/symboltablebuilder/QualType.h 100.0 100.0% 5 / 5 100.0% 5 / 5 -% 0 / 0
src/symboltablebuilder/Scope.cpp 93.9 93.9% 186 / 198 100.0% 22 / 22 63.8% 256 / 401
src/symboltablebuilder/Scope.h 100.0 100.0% 7 / 7 100.0% 1 / 1 54.0% 47 / 87
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.2 98.2% 107 / 109 100.0% 14 / 14 65.3% 124 / 190
src/symboltablebuilder/SymbolTable.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/symboltablebuilder/SymbolTableBuilder.cpp 95.6 95.6% 348 / 364 100.0% 31 / 31 56.5% 453 / 802
src/symboltablebuilder/SymbolTableEntry.cpp 100.0 100.0% 39 / 39 100.0% 10 / 10 58.1% 36 / 62
src/symboltablebuilder/SymbolTableEntry.h 100.0 100.0% 3 / 3 100.0% 2 / 2 50.0% 1 / 2
src/symboltablebuilder/Type.cpp 98.2 98.2% 224 / 228 100.0% 43 / 43 58.9% 264 / 448
src/symboltablebuilder/TypeChain.cpp 94.8 94.8% 110 / 116 100.0% 4 / 4 72.3% 73 / 101
src/symboltablebuilder/TypeChain.h 100.0 100.0% 6 / 6 100.0% 4 / 4 -% 0 / 0
src/symboltablebuilder/TypeSpecifiers.cpp 94.8 94.8% 73 / 77 100.0% 7 / 7 82.4% 56 / 68
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 100.0% 4 / 4
src/typechecker/FunctionManager.cpp 98.8 98.8% 241 / 244 100.0% 19 / 19 64.2% 272 / 424
src/typechecker/InterfaceManager.cpp 92.0 92.0% 104 / 113 100.0% 11 / 11 55.0% 104 / 189
src/typechecker/OpRuleManager.cpp 94.5 94.5% 393 / 416 100.0% 51 / 51 59.1% 649 / 1098
src/typechecker/StructManager.cpp 97.2 97.2% 137 / 141 100.0% 11 / 11 58.1% 155 / 267
src/typechecker/TypeChecker.cpp 95.4 95.4% 1523 / 1596 98.8% 80 / 81 52.2% 2687 / 5145
src/typechecker/TypeCheckerCheck.cpp 100.0 100.0% 122 / 122 100.0% 4 / 4 65.7% 159 / 242
src/typechecker/TypeCheckerImplicit.cpp 98.7 98.7% 228 / 231 100.0% 13 / 13 60.4% 324 / 536
src/typechecker/TypeCheckerPrepare.cpp 94.8 94.8% 400 / 422 100.0% 13 / 13 54.6% 615 / 1126
src/typechecker/TypeMatcher.cpp 88.4 88.4% 84 / 95 100.0% 4 / 4 56.3% 107 / 190
src/util/BlockAllocator.h 84.2 84.2% 32 / 38 97.8% 87 / 89 39.6% 19 / 48
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 98.4 98.4% 63 / 64 100.0% 10 / 10 57.1% 48 / 84
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% 29 / 29 100.0% 6 / 6 -% 0 / 0
src/util/DeferredLogic.h 100.0 100.0% 10 / 10 100.0% 3 / 3 100.0% 4 / 4
src/util/FileUtil.cpp 59.4 59.4% 38 / 64 63.6% 7 / 11 35.5% 54 / 152
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.h 92.8 92.8% 90 / 97 91.4% 148 / 162 46.8% 175 / 374
src/visualizer/CSTVisualizer.cpp 97.0 97.0% 32 / 33 100.0% 3 / 3 53.2% 67 / 126
src/visualizer/CSTVisualizer.h 92.1 92.1% 82 / 89 92.0% 81 / 88 46.0% 163 / 354
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 100.0 100.0% 59 / 59 100.0% 14 / 14 35.5% 118 / 332
test/unittest/UnitCommonUtil.cpp 100.0 100.0% 50 / 50 100.0% 12 / 12 33.8% 158 / 468
test/unittest/UnitDriver.cpp 100.0 100.0% 146 / 146 100.0% 24 / 24 21.7% 279 / 1288
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