GCC Code Coverage Report


Directory: ../
Date: 2025-02-09 04:23:07
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 12204 13700 89.1%
Functions: 2002 2218 90.3%
Branches: 16653 33697 49.4%

File Lines Functions Branches
src/ast/AbstractASTVisitor.cpp 100.0 100.0% 7 / 7 100.0% 2 / 2 70.0% 7 / 10
src/ast/AbstractASTVisitor.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/ast/ASTBuilder.cpp 97.4 97.4% 1077 / 1106 100.0% 102 / 102 60.4% 1508 / 2496
src/ast/ASTBuilder.h 100.0 100.0% 17 / 17 100.0% 101 / 101 50.2% 427 / 850
src/ast/ASTNodes.cpp 69.5 69.5% 221 / 318 100.0% 64 / 64 45.8% 237 / 518
src/ast/ASTNodes.h 92.5 92.5% 358 / 387 92.1% 314 / 341 61.2% 443 / 724
src/ast/ASTVisitor.cpp 61.4 61.4% 51 / 83 61.4% 51 / 83 -% 0 / 0
src/ast/ASTVisitor.h 100.0 100.0% 1 / 1 50.0% 1 / 2 -% 0 / 0
src/ast/Attributes.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/ast/ParallelizableASTVisitor.cpp 8.9 8.9% 8 / 90 4.7% 4 / 85 60.0% 6 / 10
src/ast/ParallelizableASTVisitor.h 100.0 100.0% 1 / 1 50.0% 1 / 2 -% 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 50.0% 1 / 2 -% 0 / 0
src/driver/Driver.cpp 77.3 77.3% 163 / 211 79.2% 19 / 24 41.5% 225 / 542
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/CliError.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/exception/CompilerError.cpp 39.4 39.4% 13 / 33 75.0% 3 / 4 18.0% 11 / 61
src/exception/CompilerError.h -% 0 / 0 -% 0 / 0 -% 0 / 0
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/LexerError.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/exception/LinkerError.cpp 0.0 0.0% 0 / 10 0.0% 0 / 3 0.0% 0 / 15
src/exception/LinkerError.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/exception/ParserError.cpp 100.0 100.0% 18 / 18 100.0% 3 / 3 57.6% 19 / 33
src/exception/ParserError.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/exception/SemanticError.cpp 69.7 69.7% 152 / 218 100.0% 3 / 3 45.8% 153 / 334
src/exception/SemanticError.h -% 0 / 0 -% 0 / 0 -% 0 / 0
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.1% 27 / 84
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.0% 28 / 50
src/importcollector/ImportCollector.cpp 92.6 92.6% 50 / 54 100.0% 3 / 3 52.9% 92 / 174
src/importcollector/ImportCollector.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/irgenerator/DebugInfoGenerator.cpp 74.5 74.5% 199 / 267 92.3% 12 / 13 44.1% 216 / 490
src/irgenerator/DebugInfoGenerator.h 100.0 100.0% 1 / 1 100.0% 1 / 1 50.0% 1 / 2
src/irgenerator/GenBuiltinFunctions.cpp 96.1 96.1% 99 / 103 100.0% 7 / 7 53.1% 154 / 290
src/irgenerator/GenControlStructures.cpp 100.0 100.0% 247 / 247 100.0% 11 / 11 53.3% 287 / 538
src/irgenerator/GenExpressions.cpp 98.8 98.8% 501 / 507 95.0% 19 / 20 59.4% 550 / 926
src/irgenerator/GenImplicit.cpp 87.2 87.2% 355 / 407 95.2% 20 / 21 47.4% 483 / 1020
src/irgenerator/GenStatements.cpp 92.7 92.7% 101 / 109 75.0% 9 / 12 54.3% 102 / 188
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% 352 / 361 100.0% 14 / 14 57.3% 447 / 780
src/irgenerator/GenValues.cpp 96.0 96.0% 553 / 576 100.0% 13 / 13 56.2% 705 / 1254
src/irgenerator/GenVTable.cpp 100.0 100.0% 92 / 92 100.0% 4 / 4 54.2% 90 / 166
src/irgenerator/IRGenerator.cpp 96.2 96.2% 326 / 339 100.0% 33 / 33 61.1% 391 / 640
src/irgenerator/IRGenerator.h 100.0 100.0% 3 / 3 -% 0 / 0 48.6% 34 / 70
src/irgenerator/LLVMExprResult.h 100.0 100.0% 1 / 1 100.0% 1 / 1 75.0% 3 / 4
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% 742 / 1166 93.9% 124 / 132 30.2% 1426 / 4721
src/irgenerator/OpRuleConversionManager.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/irgenerator/StdFunctionManager.cpp 93.6 93.6% 103 / 110 94.7% 18 / 19 50.0% 94 / 188
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 88.9 88.9% 32 / 36 100.0% 5 / 5 43.9% 36 / 82
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.4 97.4% 74 / 76 100.0% 15 / 15 60.5% 104 / 172
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/objectemitter/ObjectEmitter.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/SourceFile.cpp 85.2 85.2% 438 / 514 95.1% 39 / 41 45.7% 451 / 986
src/SourceFile.h 100.0 100.0% 3 / 3 -% 0 / 0 50.0% 5 / 10
src/symboltablebuilder/Capture.cpp 100.0 100.0% 17 / 17 100.0% 5 / 5 62.5% 15 / 24
src/symboltablebuilder/Lifecycle.cpp 76.5 76.5% 13 / 17 75.0% 6 / 8 80.0% 8 / 10
src/symboltablebuilder/Lifecycle.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/symboltablebuilder/QualType.cpp 96.5 96.5% 246 / 255 97.5% 78 / 80 59.5% 206 / 346
src/symboltablebuilder/QualType.h 100.0 100.0% 5 / 5 100.0% 5 / 5 -% 0 / 0
src/symboltablebuilder/Scope.cpp 94.9 94.9% 186 / 196 100.0% 22 / 22 64.4% 257 / 399
src/symboltablebuilder/Scope.h 100.0 100.0% 8 / 8 100.0% 1 / 1 51.4% 38 / 74
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.4 98.4% 120 / 122 100.0% 15 / 15 65.2% 137 / 210
src/symboltablebuilder/SymbolTable.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/symboltablebuilder/SymbolTableBuilder.cpp 95.5 95.5% 340 / 356 100.0% 31 / 31 57.8% 393 / 680
src/symboltablebuilder/SymbolTableBuilder.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/symboltablebuilder/SymbolTableEntry.cpp 90.9 90.9% 40 / 44 83.3% 10 / 12 46.2% 37 / 80
src/symboltablebuilder/SymbolTableEntry.h 100.0 100.0% 3 / 3 100.0% 2 / 2 50.0% 1 / 2
src/symboltablebuilder/Type.cpp 98.3 98.3% 226 / 230 100.0% 44 / 44 59.6% 267 / 448
src/symboltablebuilder/Type.h -% 0 / 0 -% 0 / 0 -% 0 / 0
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/TypeQualifiers.cpp 94.8 94.8% 73 / 77 100.0% 7 / 7 81.8% 54 / 66
src/symboltablebuilder/TypeQualifiers.h 100.0 100.0% 2 / 2 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.0 98.0% 239 / 244 100.0% 19 / 19 63.7% 270 / 424
src/typechecker/InterfaceManager.cpp 92.0 92.0% 104 / 113 100.0% 11 / 11 55.0% 104 / 189
src/typechecker/OpRuleManager.cpp 94.3 94.3% 399 / 423 100.0% 51 / 51 59.4% 661 / 1112
src/typechecker/StructManager.cpp 97.2 97.2% 137 / 141 100.0% 11 / 11 58.1% 155 / 267
src/typechecker/TypeCheckBuiltinFunctions.cpp 91.5 91.5% 86 / 94 100.0% 7 / 7 50.9% 168 / 330
src/typechecker/TypeChecker.cpp 100.0 100.0% 95 / 95 100.0% 11 / 11 67.2% 137 / 204
src/typechecker/TypeChecker.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/typechecker/TypeCheckerControlStructures.cpp 99.4 99.4% 169 / 170 100.0% 12 / 12 54.1% 237 / 438
src/typechecker/TypeCheckerExpressions.cpp 97.1 97.1% 400 / 412 100.0% 16 / 16 56.1% 704 / 1255
src/typechecker/TypeCheckerImplicit.cpp 98.7 98.7% 233 / 236 100.0% 15 / 15 60.4% 324 / 536
src/typechecker/TypeCheckerStatements.cpp 94.8 94.8% 91 / 96 100.0% 7 / 7 61.0% 183 / 300
src/typechecker/TypeCheckerTopLevelDefinitions.cpp 100.0 100.0% 44 / 44 100.0% 11 / 11 80.6% 29 / 36
src/typechecker/TypeCheckerTopLevelDefinitionsCheck.cpp 100.0 100.0% 124 / 124 100.0% 4 / 4 66.4% 150 / 226
src/typechecker/TypeCheckerTopLevelDefinitionsPrepare.cpp 94.2 94.2% 387 / 411 100.0% 13 / 13 55.7% 540 / 970
src/typechecker/TypeCheckerValues.cpp 94.3 94.3% 417 / 442 92.3% 12 / 13 51.6% 639 / 1239
src/typechecker/TypeCheckMeta.cpp 91.3 91.3% 231 / 253 100.0% 7 / 7 51.9% 377 / 727
src/typechecker/TypeMatcher.cpp 88.4 88.4% 84 / 95 100.0% 4 / 4 56.2% 109 / 194
src/util/BlockAllocator.h 84.6 84.6% 33 / 39 97.8% 89 / 91 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 97.0 97.0% 65 / 67 100.0% 10 / 10 56.1% 55 / 98
src/util/CompilerWarning.cpp 85.1 85.1% 40 / 47 75.0% 3 / 4 51.2% 41 / 80
src/util/CompilerWarning.h -% 0 / 0 -% 0 / 0 -% 0 / 0
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 65.8 65.8% 50 / 76 63.6% 7 / 11 36.6% 60 / 164
src/util/FileUtil.h -% 0 / 0 -% 0 / 0 -% 0 / 0
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/RawStringOStream.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/util/Timer.h 100.0 100.0% 16 / 16 100.0% 6 / 6 70.0% 7 / 10
src/visualizer/ASTVisualizer.h 93.9 93.9% 93 / 99 92.8% 154 / 166 47.4% 182 / 384
src/visualizer/CSTVisualizer.cpp 97.0 97.0% 32 / 33 100.0% 3 / 3 53.2% 67 / 126
src/visualizer/CSTVisualizer.h 93.3 93.3% 84 / 90 93.3% 83 / 89 46.6% 167 / 358
src/visualizer/DependencyGraphVisualizer.cpp 100.0 100.0% 17 / 17 100.0% 2 / 2 53.6% 30 / 56
src/visualizer/DependencyGraphVisualizer.h -% 0 / 0 -% 0 / 0 -% 0 / 0
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 98.3 98.3% 59 / 60 90.0% 18 / 20 35.5% 118 / 332
test/unittest/UnitCommonUtil.cpp 100.0 100.0% 49 / 49 100.0% 20 / 20 33.3% 190 / 570
test/unittest/UnitDriver.cpp 100.0 100.0% 146 / 146 100.0% 32 / 32 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