Odin Programming Language
This report summarizes scanner evidence for odin-lang/Odin, a Odin project with 12,233 GitHub stars. SynthScan examined 233,473 lines of code across 368 source files, recording 337 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 280 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 55 finding(s).
Which changes need focused human review? 337 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 337 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/rexcode/isa/mos65816/tools/verify_against_ca65.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | core/rexcode/isa/mos65816/tools/verify_against_ca65.sh | 41 | echo "ca65 failed — see errors above" | COMMENT |
| LOW | core/rexcode/isa/arm32/tools/llvm_per_line.sh | 1 | #!/bin/bash | COMMENT |
| LOW | core/rexcode/isa/mips/tools/llvm_per_line.sh | 1 | #!/bin/bash | COMMENT |
| LOW | core/rexcode/isa/rsp/tools/armips_lwv_patch.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | core/rexcode/isa/rsp/tools/verify_against_armips.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | core/rexcode/isa/ppc_vle/tools/verify_against_vle_as.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | core/rexcode/isa/riscv/tools/llvm_per_line.sh | 1 | #!/bin/bash | COMMENT |
| LOW | core/rexcode/isa/arm64/tools/llvm_per_line.sh | 1 | #!/bin/bash | COMMENT |
| LOW | core/rexcode/isa/mos6502/tools/verify_against_xa.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | core/sys/android/_gen/table.py | 281 | # "enums": {enum name: {member: value}} in the field's own units, or {enum name: (members, shift)}: the | COMMENT |
| LOW | tests/core/sys/posix/structs/structs.c | 1 | #include <stddef.h> | COMMENT |
| LOW | tests/core/sys/posix/structs/structs.c | 21 | #include <sys/resource.h> | COMMENT |
| LOW | tests/core/sys/windows/win32gen/win32gen.cpp | 1 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers | COMMENT |
| LOW | tests/abi/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/abi/cross.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/issues/run.sh | 21 | # By default, it uses clang. export ODIN_TESTS_NO_CLANG=1 to disable these tests. | COMMENT |
| LOW | tests/issues/run.sh | 321 | fi | COMMENT |
| LOW | …sts/issues/test_issue_6809_6816/test_issue_6809_6816.c | 1 | #include <stdint.h> | COMMENT |
| LOW | .github/workflows/stale.yml | 21 | # I am marking this issue as stale as it has not received any engagement from the community or maintainers 12 | COMMENT |
| LOW | .github/workflows/ci.yml | 441 | build_linux_riscv64: | COMMENT |
| LOW | base/runtime/odin_debugger.py | 1 | # Pretty printers for Odin types in gdb and lldb | COMMENT |
| LOW | src/llvm_backend.cpp | 1 | #define MULTITHREAD_OBJECT_GENERATION 1 | COMMENT |
| LOW | src/llvm_backend.cpp | 21 | #include "llvm_backend.hpp" | COMMENT |
| LOW | src/llvm_backend.cpp | 2921 | LLVMPassBuilderOptionsRef pb_options = LLVMCreatePassBuilderOptions(); | COMMENT |
| LOW | src/common.cpp | 1 | #if defined(GB_SYSTEM_UNIX) | COMMENT |
| LOW | src/common.cpp | 21 | #define GB_WINDOWS_H_INCLUDED | COMMENT |
| LOW | src/common.cpp | 81 | void restore_old_codepage() {} | COMMENT |
| LOW | src/common.cpp | 1161 | #pragma warning(pop) | COMMENT |
| LOW | src/libtommath.cpp | 1 | // NOTE: the default is 32 digits (256 bytes), but nearly every constant fits in 64 bits and digits | COMMENT |
| LOW | src/libtommath.cpp | 21 | #include "libtommath/mp_cutoffs.c" | COMMENT |
| LOW | src/libtommath.cpp | 41 | #include "libtommath/mp_get_i64.c" | COMMENT |
| LOW | src/libtommath.cpp | 61 | #include "libtommath/mp_lcm.c" | COMMENT |
| LOW | src/libtommath.cpp | 81 | // #include "libtommath/mp_prime_miller_rabin.c" | COMMENT |
| LOW | src/libtommath.cpp | 101 | #include "libtommath/mp_sbin_size.c" | COMMENT |
| LOW | src/libtommath.cpp | 121 | #include "libtommath/mp_ubin_size.c" | COMMENT |
| LOW | src/libtommath.cpp | 141 | #include "libtommath/s_mp_mul_balance.c" | COMMENT |
| LOW | src/types.cpp | 5461 | COMMENT | |
| LOW | src/types.cpp | 5481 | // case Type_Slice: | COMMENT |
| LOW | src/types.cpp | 5501 | // break; | COMMENT |
| LOW | src/llvm_abi.cpp | 221 | } | COMMENT |
| LOW | src/llvm_abi.cpp | 541 | // take the indirect path below, ergo the vector check has to be first. | COMMENT |
| LOW | src/bug_report.cpp | 1 | /* | COMMENT |
| LOW | src/check_decl.cpp | 201 | // | COMMENT |
| LOW | src/exact_value.cpp | 661 | // GB_PANIC("Expected an integer or float type for 'exact_value_make_imag'"); | COMMENT |
| LOW | src/exact_value.cpp | 681 | // switch (v.kind) { | COMMENT |
| LOW | src/linker.cpp | 801 | // object | COMMENT |
| LOW | src/linker.cpp | 881 | // These are not always typically inside /lib, /lib64, or /usr versions | COMMENT |
| LOW | src/linker.cpp | 1021 | // | COMMENT |
| LOW | src/check_expr.cpp | 3921 | Type *src = core_type(x); | COMMENT |
| LOW | src/check_expr.cpp | 8421 | // } | COMMENT |
| LOW | src/check_expr.cpp | 13001 | } | COMMENT |
| LOW | src/build_cpuid.cpp | 1 | #if !defined(GB_COMPILER_MSVC) | COMMENT |
| LOW | src/semantics_writer.cpp | 1 | // `-export-semantics`: what each identifier of the exported files refers to, for editors and other tools | COMMENT |
| LOW | src/check_atomics.cpp | 1 | // NOTE(bill, 2026-10-08): Atomic memory ordering analysis | COMMENT |
| LOW | src/check_atomics.cpp | 21 | // - An `atomic_signal_fence` where an `atomic_thread_fence` would pair, as it only orders within its own thread | COMMENT |
| LOW | src/check_atomics.cpp | 41 | // | COMMENT |
| LOW | src/llvm_backend_general.cpp | 941 | COMMENT | |
| LOW | src/llvm_backend_general.cpp | 981 | // a [0]T element has no components, nor does its soa struct have a field to get a ptr to; | COMMENT |
| LOW | src/llvm_backend_general.cpp | 2821 | // if (type_size_of(t) == 0) { | COMMENT |
| 185 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | core/rexcode/isa/mos65816/tools/verify_against_ca65.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/mos65816/tools/verify_against_ca65.sh | 6 | # ============================================================================= | COMMENT |
| MEDIUM | core/rexcode/isa/rsp/tools/armips_lwv_patch.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM | core/rexcode/isa/rsp/tools/armips_lwv_patch.sh | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/rsp/tools/verify_against_armips.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/rsp/tools/verify_against_armips.sh | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/ppc_vle/tools/verify_against_vle_as.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/ppc_vle/tools/verify_against_vle_as.sh | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/mos6502/tools/verify_against_xa.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/mos6502/tools/verify_against_xa.sh | 6 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 26 | # ================================================ | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 35 | # ================================================ | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 41 | # ================================================ | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 1341 | # ================================================ | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 1349 | # ================================================ | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 1355 | # ================================================ | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 1361 | # ================================================ | COMMENT |
| MEDIUM⚡ | tests/core/assets/UCD/PropList.txt | 1369 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 10 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 70 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 85 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 118 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 239 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 420 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 431 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 439 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 873 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 901 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1172 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1221 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1254 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1264 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1287 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1390 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1406 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1420 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1459 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1471 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1480 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1492 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1521 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1539 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1632 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1641 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1652 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1912 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1924 | # ================================================ | COMMENT |
| MEDIUM | tests/core/assets/UCD/PropList.txt | 1930 | # ================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | core/rexcode/isa/mos65816/tools/verify_against_ca65.sh | 5 | # W65C816 verification harness — assembles via ca65, compares bytes | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/rsp/tools/verify_against_armips.sh | 5 | # N64 RSP verification harness — assembles via `armips`, compares bytes | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/ppc_vle/tools/verify_against_vle_as.sh | 5 | # PowerPC VLE verification harness — assemble + objdump (binutils VLE) | COMMENT |
| MEDIUM⚡ | core/rexcode/isa/mos6502/tools/verify_against_xa.sh | 5 | # MOS 6502 verification harness — disassembles via `da65` (cc65) | COMMENT |
| MEDIUM | src/check_stmt.cpp | 1563 | // TODO(bill): Make robust | COMMENT |
| MEDIUM | src/check_decl.cpp | 1459 | error(e->token, "#force_inline cannot be used in conjunction with the attribute 'optimization_mode' with neither \"no | CODE |
| MEDIUM | src/microsoft_craziness.h | 606 | //? This may not be robust enough using `um\x64` and `ucrt\x64` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/sys/android/_gen/generate.py | 354 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 655 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 843 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 901 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1086 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1249 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1312 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1434 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1533 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1708 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1851 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 1902 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 2032 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 509 | CODE | |
| LOW | core/sys/android/_gen/generate.py | 559 | CODE | |
| LOW | ci/nightly.py | 34 | CODE | |
| LOW | tests/core/download_assets.py | 650 | CODE | |
| LOW | base/runtime/odin_debugger.py | 175 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ci/nightly.py | 21 | except: | CODE |
| HIGH | tests/core/download_assets.py | 711 | except FileExistsError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/rexcode/isa/arm32/tools/llvm_per_line.sh | 12 | # Usage: | COMMENT |
| LOW | core/rexcode/isa/mips/tools/llvm_per_line.sh | 12 | # Usage: | COMMENT |
| LOW | core/rexcode/isa/riscv/tools/llvm_per_line.sh | 12 | # Usage: | COMMENT |
| LOW | core/rexcode/isa/arm64/tools/llvm_per_line.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/nightly.yml | 84 | # Creating a tarball so executable permissions are retained, see https://github.com/actions/upload-artifact/is | COMMENT |
| MEDIUM | .github/workflows/nightly.yml | 131 | # Creating a tarball so executable permissions are retained, see https://github.com/actions/upload-artifact/is | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ci/nightly.py | 56 | print(f"Error: archive {source_archive} not found.") | CODE |
| MEDIUM | ci/nightly.py | 133 | print("Error: Expected artifact command to be given platform prefix and artifact path.\n") | CODE |
| LOW | base/runtime/odin_debugger.py | 208 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/core/math/big/generate_tests.py | 10 | CODE | |
| LOW | tests/core/math/big/generate_tests.py | 12 | CODE | |
| LOW | tests/core/math/big/generate_tests.py | 13 | CODE | |
| LOW | tests/core/math/big/generate_tests.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/issues/run.sh | 17 | # Otherwise, add it here in the appropriate block, and make sure to | COMMENT |
| LOW | src/libtommath/mp_sqrtmod_prime.c | 17 | Don't forget to change them here when you change them there! */ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ci/nightly.py | 34 | def create_and_upload_artifact_zip(platform: str, artifact: str) -> int: | CODE |
| LOW | tests/core/download_assets.py | 650 | def try_download_and_unpack_zip(base_path, suite, debug): | CODE |