GCC Code Coverage Report


Directory: ../
Date: 2025-03-22 00:57:09
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 12290 13799 89.1%
Functions: 2010 2229 90.2%
Branches: 16741 33914 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.2 97.2% 1078 / 1109 100.0% 102 / 102 60.3% 1511 / 2505
src/ast/ASTBuilder.h 100.0 100.0% 17 / 17 100.0% 101 / 101 50.2% 427 / 850
src/ast/ASTNodes.cpp 69.7 69.7% 223 / 320 100.0% 64 / 64 45.8% 229 / 500
src/ast/ASTNodes.h 92.5 92.5% 358 / 387 92.1% 314 / 341 61.4% 447 / 728
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 79.0 79.0% 166 / 210 79.2% 19 / 24 41.8% 229 / 548
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% 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 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 44.1% 215 / 488
src/irgenerator/DebugInfoGenerator.h 100.0 100.0% 1 / 1 100.0% 1 / 1 50.0% 1 / 2
src/irgenerator/GenBuiltinFunctions.cpp 94.5 94.5% 103 / 109 100.0% 7 / 7 51.0% 157 / 308
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 87.2 87.2% 354 / 406 95.2% 20 / 21 47.3% 464 / 982
src/irgenerator/GenStatements.cpp 92.7 92.7% 102 / 110 75.0% 9 / 12 54.2% 103 / 190
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% 355 / 365 100.0% 14 / 14 57.0% 448 / 786
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% 92 / 92 100.0% 4 / 4 54.2% 90 / 166
src/irgenerator/IRGenerator.cpp 96.2 96.2% 326 / 339 100.0% 33 / 33 60.9% 391 / 642
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.2 93.2% 151 / 162 100.0% 13 / 13 60.6% 151 / 249
src/irgenerator/OpRuleConversionManager.cpp 64.0 64.0% 747 / 1168 93.2% 124 / 133 30.3% 1443 / 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 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 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 85.3 85.3% 446 / 523 95.1% 39 / 41 45.8% 469 / 1024
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.8 96.8% 268 / 277 96.5% 83 / 86 60.8% 226 / 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 98.1 98.1% 252 / 257 100.0% 20 / 20 63.1% 280 / 444
src/typechecker/InterfaceManager.cpp 92.9 92.9% 118 / 127 100.0% 12 / 12 54.4% 117 / 215
src/typechecker/OpRuleManager.cpp 94.3 94.3% 400 / 424 100.0% 51 / 51 59.6% 665 / 1116
src/typechecker/StructManager.cpp 97.4 97.4% 150 / 154 100.0% 12 / 12 57.4% 166 / 289
src/typechecker/TypeCheckBuiltinFunctions.cpp 91.5 91.5% 86 / 94 100.0% 7 / 7 51.2% 169 / 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 98.8 98.8% 169 / 171 100.0% 12 / 12 53.8% 238 / 442
src/typechecker/TypeCheckerExpressions.cpp 97.5 97.5% 395 / 405 100.0% 16 / 16 56.1% 690 / 1231
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% 390 / 414 100.0% 14 / 14 55.9% 546 / 976
src/typechecker/TypeCheckerValues.cpp 95.4 95.4% 396 / 415 92.3% 12 / 13 52.7% 632 / 1199
src/typechecker/TypeCheckMeta.cpp 91.3 91.3% 230 / 252 100.0% 7 / 7 51.7% 375 / 725
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% 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.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.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% 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