GCC Code Coverage Report


Directory: ../
Date: 2025-09-17 23:16:16
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 12403 13910 89.2%
Functions: 2032 2260 89.9%
Branches: 16902 34136 49.5%

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.3 97.3% 1109 / 1140 100.0% 104 / 104 60.4% 1543 / 2555
src/ast/ASTBuilder.h 100.0 100.0% 17 / 17 100.0% 103 / 103 50.2% 437 / 870
src/ast/ASTNodes.cpp 69.3 69.3% 224 / 323 100.0% 64 / 64 45.5% 230 / 506
src/ast/ASTNodes.h 92.1 92.1% 363 / 394 91.7% 319 / 348 61.3% 456 / 744
src/ast/ASTVisitor.cpp 61.2 61.2% 52 / 85 61.2% 52 / 85 -% 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.7 8.7% 8 / 92 4.6% 4 / 87 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 79.8 79.8% 166 / 208 79.2% 19 / 24 42.1% 228 / 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 / 22 0.0% 0 / 3 0.0% 0 / 33
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% 20 / 20 100.0% 3 / 3 58.3% 21 / 36
src/exception/ParserError.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/exception/SemanticError.cpp 68.8 68.8% 150 / 218 100.0% 3 / 3 45.2% 151 / 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.4 96.4% 27 / 28 88.9% 8 / 9 56.0% 28 / 50
src/importcollector/ImportCollector.cpp 94.4 94.4% 51 / 54 100.0% 3 / 3 55.7% 97 / 174
src/importcollector/ImportCollector.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/irgenerator/DebugInfoGenerator.cpp 74.4 74.4% 198 / 266 92.3% 12 / 13 43.9% 216 / 492
src/irgenerator/DebugInfoGenerator.h 100.0 100.0% 1 / 1 100.0% 1 / 1 50.0% 1 / 2
src/irgenerator/GenBuiltinFunctions.cpp 94.9 94.9% 112 / 118 100.0% 8 / 8 51.2% 166 / 324
src/irgenerator/GenControlStructures.cpp 99.6 99.6% 245 / 246 100.0% 11 / 11 53.2% 286 / 538
src/irgenerator/GenExpressions.cpp 98.8 98.8% 501 / 507 95.0% 19 / 20 59.4% 550 / 926
src/irgenerator/GenImplicit.cpp 90.3 90.3% 383 / 424 95.7% 22 / 23 48.5% 500 / 1030
src/irgenerator/GenStatements.cpp 92.9 92.9% 104 / 112 75.0% 9 / 12 54.1% 106 / 196
src/irgenerator/GenTargetDependent.cpp 45.5 45.5% 20 / 44 100.0% 2 / 2 18.4% 29 / 158
src/irgenerator/GenTopLevelDefinitions.cpp 97.3 97.3% 356 / 366 100.0% 14 / 14 57.2% 452 / 790
src/irgenerator/GenValues.cpp 96.0 96.0% 552 / 575 100.0% 13 / 13 56.2% 703 / 1250
src/irgenerator/GenVTable.cpp 100.0 100.0% 93 / 93 100.0% 4 / 4 54.1% 92 / 170
src/irgenerator/IRGenerator.cpp 96.3 96.3% 334 / 347 100.0% 34 / 34 60.7% 396 / 652
src/irgenerator/IRGenerator.h 100.0 100.0% 3 / 3 -% 0 / 0 51.8% 29 / 56
src/irgenerator/LLVMExprResult.h 100.0 100.0% 1 / 1 100.0% 1 / 1 75.0% 3 / 4
src/irgenerator/NameMangling.cpp 93.4 93.4% 156 / 167 100.0% 13 / 13 61.1% 154 / 252
src/irgenerator/OpRuleConversionManager.cpp 64.2 64.2% 750 / 1168 93.2% 124 / 133 30.6% 1457 / 4764
src/irgenerator/OpRuleConversionManager.h 100.0 100.0% 2 / 2 100.0% 1 / 1 -% 0 / 0
src/irgenerator/StdFunctionManager.cpp 90.4 90.4% 103 / 114 90.0% 18 / 20 48.5% 94 / 194
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 60.0% 6 / 10
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% 75 / 77 100.0% 15 / 15 61.5% 107 / 174
src/model/Function.h 100.0 100.0% 9 / 9 100.0% 2 / 2 55.0% 22 / 40
src/model/GenericType.cpp 94.4 94.4% 17 / 18 100.0% 2 / 2 80.0% 16 / 20
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 84.7 84.7% 448 / 529 93.0% 40 / 43 45.9% 465 / 1014
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 97.1 97.1% 269 / 277 96.5% 83 / 86 61.3% 228 / 372
src/symboltablebuilder/QualType.h 100.0 100.0% 5 / 5 100.0% 5 / 5 -% 0 / 0
src/symboltablebuilder/Scope.cpp 95.0 95.0% 189 / 199 100.0% 22 / 22 64.4% 261 / 405
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 47.5% 38 / 80
src/symboltablebuilder/SymbolTableEntry.h 100.0 100.0% 3 / 3 100.0% 2 / 2 50.0% 1 / 2
src/symboltablebuilder/Type.cpp 97.8 97.8% 225 / 230 100.0% 44 / 44 59.1% 266 / 450
src/symboltablebuilder/Type.h -% 0 / 0 -% 0 / 0 -% 0 / 0
src/symboltablebuilder/TypeChain.cpp 94.9 94.9% 112 / 118 100.0% 4 / 4 73.7% 70 / 95
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 97.7 97.7% 252 / 258 100.0% 20 / 20 64.2% 285 / 444
src/typechecker/InterfaceManager.cpp 92.9 92.9% 118 / 127 100.0% 12 / 12 54.4% 117 / 215
src/typechecker/OpRuleManager.cpp 94.6 94.6% 401 / 424 100.0% 51 / 51 60.4% 674 / 1116
src/typechecker/StructManager.cpp 97.4 97.4% 150 / 154 100.0% 12 / 12 57.4% 166 / 289
src/typechecker/TypeCheckBuiltinFunctions.cpp 92.1 92.1% 93 / 101 100.0% 8 / 8 51.7% 178 / 344
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 98.8 98.8% 169 / 171 100.0% 12 / 12 53.8% 238 / 442
src/typechecker/TypeCheckerExpressions.cpp 97.5 97.5% 397 / 407 100.0% 16 / 16 55.6% 676 / 1215
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% 121 / 121 100.0% 4 / 4 67.0% 146 / 218
src/typechecker/TypeCheckerTopLevelDefinitionsPrepare.cpp 94.2 94.2% 391 / 415 100.0% 14 / 14 56.2% 562 / 1000
src/typechecker/TypeCheckerValues.cpp 95.4 95.4% 396 / 415 92.3% 12 / 13 52.7% 632 / 1199
src/typechecker/TypeCheckMeta.cpp 91.2 91.2% 228 / 250 100.0% 7 / 7 51.6% 372 / 721
src/typechecker/TypeMatcher.cpp 88.4 88.4% 84 / 95 100.0% 4 / 4 56.4% 106 / 188
src/util/BlockAllocator.h 84.6 84.6% 33 / 39 97.8% 91 / 93 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.7 85.7% 42 / 49 75.0% 3 / 4 51.8% 43 / 83
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.1 93.1% 94 / 101 91.8% 156 / 170 46.9% 184 / 392
src/visualizer/CSTVisualizer.cpp 97.0 97.0% 32 / 33 100.0% 3 / 3 53.2% 67 / 126
src/visualizer/CSTVisualizer.h 92.4 92.4% 85 / 92 92.3% 84 / 91 46.2% 169 / 366
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% 280 / 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