GCC Code Coverage Report


Directory: ./
Date: 2023-04-27 00:55:30
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Exec Total Coverage
Lines: 4996 18545 26.9%
Functions: 3035 6055 50.1%
Branches: 5921 21361 27.7%

File Lines Functions Branches
benchmarks/bench.h 0.0 0.0% 0 / 48 0.0% 0 / 19 0.0% 0 / 50
benchmarks/bench_hash.cpp 0.0 0.0% 0 / 31 0.0% 0 / 12 0.0% 0 / 68
src/ast/constant.h 91.3 91.3% 21 / 23 63.6% 28 / 44 39.4% 26 / 66
src/ast/magic.h 100.0 100.0% 14 / 14 78.9% 15 / 19 40.0% 4 / 10
src/ast/nodes.cpp 64.6 64.6% 31 / 48 78.6% 11 / 14 49.3% 447 / 906
src/ast/nodes.h 82.0 82.0% 41 / 50 96.0% 120 / 125 65.8% 25 / 38
src/ast/ops/attribute.cpp 91.3 91.3% 42 / 46 100.0% 10 / 10 91.2% 31 / 34
src/ast/ops/circle.cpp 21.4 21.4% 55 / 257 25.8% 24 / 93 14.2% 64 / 452
src/ast/ops/context.cpp 68.2 68.2% 15 / 22 11.4% 9 / 79 50.0% 4 / 8
src/ast/ops/equality.cpp 67.6 67.6% 119 / 176 86.0% 104 / 121 55.6% 203 / 365
src/ast/ops/print.cpp 88.8 88.8% 604 / 680 88.3% 106 / 120 79.9% 517 / 647
src/ast/values/exception.h 100.0 100.0% 0 / 0 100.0% 1 / 1 -% 0 / 0
src/ast/values/generator.cpp 0.0 0.0% 0 / 1 0.0% 0 / 1 -% 0 / 0
src/ast/values/native.h 100.0 100.0% 0 / 0 0.0% 0 / 1 -% 0 / 0
src/ast/values/object.h 100.0 100.0% 0 / 0 0.0% 0 / 1 -% 0 / 0
src/ast/visitor.h 71.7 71.7% 33 / 46 45.1% 324 / 718 85.9% 85 / 99
src/builtin/operators.cpp 98.4 98.4% 242 / 246 100.0% 14 / 14 98.3% 685 / 697
src/builtin/operators.inc 100.0 100.0% 3 / 3 4.1% 18 / 436 -% 0 / 0
src/cli/cli.cpp 83.0 83.0% 44 / 53 50.0% 1 / 2 80.4% 45 / 56
src/cli/command.h 83.3 83.3% 5 / 6 66.7% 4 / 6 50.0% 2 / 4
src/cli/commands/codegen.cpp 14.3 14.3% 4 / 28 50.0% 1 / 2 2.1% 1 / 47
src/cli/commands/codegen.h 100.0 100.0% 0 / 0 100.0% 1 / 1 -% 0 / 0
src/cli/commands/debug.h 66.7 66.7% 2 / 3 66.7% 2 / 3 -% 0 / 0
src/cli/commands/doc.h 66.7 66.7% 2 / 3 66.7% 2 / 3 -% 0 / 0
src/cli/commands/format.cpp 30.0 30.0% 27 / 90 14.3% 1 / 7 12.8% 24 / 188
src/cli/commands/format.h 100.0 100.0% 0 / 0 100.0% 1 / 1 -% 0 / 0
src/cli/commands/install.h 66.7 66.7% 2 / 3 66.7% 2 / 3 -% 0 / 0
src/cli/commands/internal.cpp 63.0 63.0% 63 / 100 40.0% 2 / 5 51.8% 100 / 193
src/cli/commands/internal.h 100.0 100.0% 17 / 17 100.0% 2 / 2 100.0% 14 / 14
src/cli/commands/linter.h 66.7 66.7% 2 / 3 66.7% 2 / 3 -% 0 / 0
src/cli/commands/profile.h 66.7 66.7% 2 / 3 66.7% 2 / 3 -% 0 / 0
src/cli/commands/tests.h 66.7 66.7% 2 / 3 66.7% 2 / 3 -% 0 / 0
src/codegen/cpp/cpp_gen.cpp 100.0 100.0% 0 / 0 0.0% 0 / 72 -% 0 / 0
src/codegen/cpp/cpp_gen.h 100.0 100.0% 0 / 0 0.0% 0 / 1 -% 0 / 0
src/codegen/llvm/llvm_gen.cpp 49.0 49.0% 121 / 247 26.4% 24 / 91 31.3% 113 / 361
src/codegen/llvm/llvm_gen.h 100.0 100.0% 5 / 5 100.0% 2 / 2 100.0% 2 / 2
src/dependencies/fmt.h 100.0 100.0% 4 / 4 50.0% 5 / 10 50.0% 3 / 6
src/dependencies/xx_hash.cpp 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/dtypes.h 100.0 100.0% 1 / 1 100.0% 1 / 1 -% 0 / 0
src/lexer/buffer.cpp 15.0 15.0% 6 / 40 50.0% 5 / 10 8.5% 4 / 47
src/lexer/buffer.h 50.0 50.0% 22 / 44 60.0% 12 / 20 45.0% 9 / 20
src/lexer/lexer.cpp 89.3 89.3% 150 / 168 85.7% 6 / 7 74.2% 173 / 233
src/lexer/lexer.h 78.1 78.1% 25 / 32 85.2% 23 / 27 35.9% 23 / 64
src/lexer/token.cpp 65.2 65.2% 30 / 46 71.4% 5 / 7 61.6% 175 / 284
src/lexer/token.h 100.0 100.0% 6 / 6 100.0% 20 / 20 83.3% 10 / 12
src/lexer/unlex.cpp 86.3 86.3% 63 / 73 66.7% 2 / 3 93.0% 66 / 71
src/logging/_logging.h 84.6 84.6% 22 / 26 73.1% 19 / 26 52.6% 20 / 38
src/logging/exceptions.h 0.0 0.0% 0 / 4 0.0% 0 / 2 0.0% 0 / 2
src/logging/logging.cpp 79.1 79.1% 68 / 86 66.7% 12 / 18 57.1% 52 / 91
src/parser/format_spec.cpp 77.6 77.6% 97 / 125 60.0% 6 / 10 56.7% 80 / 141
src/parser/parser.cpp 90.8 90.8% 1112 / 1225 89.7% 287 / 320 78.4% 1361 / 1737
src/parser/parser.h 94.7 94.7% 36 / 38 100.0% 17 / 17 75.0% 18 / 24
src/parser/parser_ext.cpp 100.0 100.0% 8 / 8 100.0% 4 / 4 80.0% 8 / 10
src/parser/parsing_error.cpp 62.6 62.6% 62 / 99 64.3% 9 / 14 53.4% 62 / 116
src/parser/parsing_error.h 91.7 91.7% 11 / 12 75.0% 6 / 8 50.0% 8 / 16
src/plugin/example.cpp 0.0 0.0% 0 / 2 0.0% 0 / 74 0.0% 0 / 2
src/plugin/example.h 100.0 100.0% 0 / 0 0.0% 0 / 2 -% 0 / 0
src/plugin/plugin.h 100.0 100.0% 0 / 0 0.0% 0 / 1 -% 0 / 0
src/printer/error_printer.cpp 89.3 89.3% 25 / 28 90.9% 10 / 11 90.9% 30 / 33
src/printer/error_printer.h 100.0 100.0% 2 / 2 66.7% 2 / 3 -% 0 / 0
src/sema/bindings.cpp 100.0 100.0% 23 / 23 100.0% 2 / 2 100.0% 30 / 30
src/sema/bindings.h 97.6 97.6% 40 / 41 100.0% 11 / 11 52.8% 114 / 216
src/sema/builtin.cpp 90.0 90.0% 9 / 10 100.0% 19 / 19 60.9% 14 / 23
src/sema/errors.cpp 96.6 96.6% 57 / 59 75.0% 12 / 16 90.2% 92 / 102
src/sema/errors.h 95.5 95.5% 21 / 22 87.5% 14 / 16 75.0% 15 / 20
src/sema/sema.cpp 91.4 91.4% 648 / 709 83.3% 135 / 162 79.2% 555 / 701
src/sema/sema.h 100.0 100.0% 21 / 21 83.3% 15 / 18 72.0% 18 / 25
src/sema/sema_import.cpp 85.1 85.1% 97 / 114 82.4% 14 / 17 78.9% 86 / 109
src/stdlib/siphash.cpp 55.7 55.7% 34 / 61 100.0% 1 / 1 34.5% 10 / 29
src/tide/bezier.cpp 0.0 0.0% 0 / 31 0.0% 0 / 1 0.0% 0 / 12
src/tide/bezier.h 0.0 0.0% 0 / 4 0.0% 0 / 1 -% 0 / 0
src/tide/dependencies/glm/glm/detail/compute_common.hpp 0.0 0.0% 0 / 1 0.0% 0 / 1 0.0% 0 / 2
src/tide/dependencies/glm/glm/detail/func_common.inl 0.0 0.0% 0 / 1 0.0% 0 / 1 -% 0 / 0
src/tide/dependencies/glm/glm/detail/func_trigonometric.inl 0.0 0.0% 0 / 1 0.0% 0 / 1 -% 0 / 0
src/tide/dependencies/glm/glm/detail/type_mat4x4.hpp 100.0 100.0% 0 / 0 0.0% 0 / 1 -% 0 / 0
src/tide/dependencies/glm/glm/detail/type_mat4x4.inl 0.0 0.0% 0 / 19 0.0% 0 / 4 0.0% 0 / 84
src/tide/dependencies/glm/glm/detail/type_vec3.hpp 100.0 100.0% 0 / 0 0.0% 0 / 1 -% 0 / 0
src/tide/dependencies/glm/glm/detail/type_vec3.inl 0.0 0.0% 0 / 14 0.0% 0 / 4 0.0% 0 / 7
src/tide/dependencies/glm/glm/detail/type_vec4.hpp 100.0 100.0% 0 / 0 0.0% 0 / 1 -% 0 / 0
src/tide/dependencies/glm/glm/detail/type_vec4.inl 0.0 0.0% 0 / 35 0.0% 0 / 15 0.0% 0 / 22
src/tide/dependencies/glm/glm/ext/matrix_clip_space.inl 0.0 0.0% 0 / 10 0.0% 0 / 2 0.0% 0 / 2
src/tide/dependencies/glm/glm/ext/matrix_transform.inl 0.0 0.0% 0 / 8 0.0% 0 / 2 0.0% 0 / 26
src/tide/dependencies/glm/glm/gtx/transform.inl 0.0 0.0% 0 / 1 0.0% 0 / 1 0.0% 0 / 4
src/tide/dependencies/stb_image/stb_image.h 0.0 0.0% 0 / 3089 0.0% 0 / 207 0.0% 0 / 2984
src/tide/dependencies/tinyobjloader/tiny_obj_loader.h 0.0 0.0% 0 / 1306 0.0% 0 / 44 0.0% 0 / 1694
src/tide/dependencies/vkbootstrap/VkBootstrap.cpp 0.0 0.0% 0 / 1008 0.0% 0 / 202 0.0% 0 / 1028
src/tide/dependencies/vkbootstrap/VkBootstrap.h 0.0 0.0% 0 / 3 0.0% 0 / 64 0.0% 0 / 2
src/tide/dependencies/vma/vk_mem_alloc.h 0.0 0.0% 0 / 4785 0.0% 0 / 729 0.0% 0 / 4200
src/tide/engine/vk_engine.cpp 0.0 0.0% 0 / 696 0.0% 0 / 61 0.0% 0 / 890
src/tide/engine/vk_engine.h 0.0 0.0% 0 / 4 0.0% 0 / 2 0.0% 0 / 6
src/tide/engine/vk_initializers.cpp 0.0 0.0% 0 / 193 0.0% 0 / 23 0.0% 0 / 6
src/tide/engine/vk_mesh.cpp 0.0 0.0% 0 / 70 0.0% 0 / 2 0.0% 0 / 34
src/tide/engine/vk_textures.cpp 0.0 0.0% 0 / 59 0.0% 0 / 3 0.0% 0 / 34
src/tide/example.cpp 0.0 0.0% 0 / 130 0.0% 0 / 7 0.0% 0 / 264
src/tide/main.cpp 0.0 0.0% 0 / 58 0.0% 0 / 6 0.0% 0 / 74
src/tide/node.cpp 0.0 0.0% 0 / 513 0.0% 0 / 19 0.0% 0 / 407
src/tide/node.h 0.0 0.0% 0 / 19 0.0% 0 / 10 0.0% 0 / 10
src/utilities/allocator.cpp 100.0 100.0% 34 / 34 100.0% 4 / 4 96.6% 28 / 29
src/utilities/allocator.h 97.6 97.6% 41 / 42 91.9% 1089 / 1185 59.3% 32 / 54
src/utilities/guard.h 100.0 100.0% 3 / 3 100.0% 13 / 13 100.0% 2 / 2
src/utilities/metadata.cpp 100.0 100.0% 84 / 84 100.0% 9 / 9 100.0% 6 / 6
src/utilities/metadata.h 100.0 100.0% 0 / 0 100.0% 12 / 12 -% 0 / 0
src/utilities/names.cpp 95.8 95.8% 92 / 96 94.1% 16 / 17 89.7% 52 / 58
src/utilities/names.h 100.0 100.0% 28 / 28 100.0% 19 / 19 66.7% 4 / 6
src/utilities/object.cpp 80.8 80.8% 42 / 52 63.6% 7 / 11 68.6% 35 / 51
src/utilities/object.h 100.0 100.0% 24 / 24 90.6% 211 / 233 31.2% 5 / 16
src/utilities/optional.h 93.5 93.5% 29 / 31 94.7% 71 / 75 62.5% 15 / 24
src/utilities/pool.cpp 100.0 100.0% 53 / 53 100.0% 7 / 7 97.6% 41 / 42
src/utilities/stopwatch.h 100.0 100.0% 5 / 5 100.0% 3 / 3 50.0% 4 / 8
src/utilities/strings.cpp 95.0 95.0% 57 / 60 55.6% 5 / 9 80.3% 49 / 61
src/utilities/strings.h 100.0 100.0% 8 / 8 100.0% 6 / 6 66.7% 8 / 12
src/utilities/trie.h 53.6 53.6% 15 / 28 81.8% 9 / 11 33.3% 10 / 30
src/vm/garbage_collector.cpp 0.0 0.0% 0 / 30 0.0% 0 / 5 0.0% 0 / 18
src/vm/tree.cpp 49.4 49.4% 254 / 514 40.2% 39 / 97 31.3% 202 / 645
src/vm/tree.h 80.0 80.0% 8 / 10 62.5% 5 / 8 -% 0 / 0