OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
This report summarizes scanner evidence for OpenMathLib/OpenBLAS, a C project with 7,616 GitHub stars. SynthScan examined 2,679,387 lines of code across 7073 source files, recording 11875 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 4.3 (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.
Can maintainers explain intent, assumptions, and trade-offs? 11835 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 45 finding(s).
Which changes need focused human review? 11875 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 11875 distinct pattern matches across 7 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 | common_b.h | 41 | #if BGEMM_DEFAULT_UNROLL_M == BGEMM_DEFAULT_UNROLL_N | COMMENT |
| LOW | common_b.h | 61 | #define BGEMM_ITCOPY gotoblas->bgemm_itcopy | COMMENT |
| LOW | common_b.h | 81 | #define BGEMM_RC bgemm_nt | COMMENT |
| LOW | common_x86.h | 41 | COMMENT | |
| LOW | common_x86.h | 201 | COMMENT | |
| LOW | common_x86.h | 221 | #define BARCELONA_OPTIMIZATION | COMMENT |
| LOW | common_x86.h | 241 | #define HALT hlt | COMMENT |
| LOW | common_x86.h | 281 | #define STACK_TOUCHING | COMMENT |
| LOW | common_x86.h | 301 | #ifdef OS_DARWIN | COMMENT |
| LOW | common_x86.h | 381 | COMMENT | |
| LOW | common_x86.h | 401 | #define FSTU fsts | COMMENT |
| LOW | common_x86.h | 421 | #ifndef ALIGN_2 | COMMENT |
| LOW | common_x86.h | 441 | // Because Clang didn't support ffreep, we directly use the opcode. | COMMENT |
| LOW | common_z.h | 41 | #define COMMON_Z_H | COMMENT |
| LOW | common_z.h | 61 | #define ZSUM_K zsum_k | COMMENT |
| LOW | common_z.h | 81 | #define ZHEMV_U zhemv_U | COMMENT |
| LOW | common_z.h | 101 | #define ZGEMM_ITCOPY zgemm_itcopy | COMMENT |
| LOW | common_z.h | 121 | #define ZTRSM_OUTNCOPY ztrsm_outncopy | COMMENT |
| LOW | common_z.h | 141 | #define ZTRSM_ILNUCOPY ztrsm_olnucopy | COMMENT |
| LOW | common_z.h | 161 | #define ZTRSM_ILTUCOPY ztrsm_iltucopy | COMMENT |
| LOW | common_z.h | 181 | COMMENT | |
| LOW | common_z.h | 201 | #define ZSYMM_OLTCOPY zsymm_oltcopy | COMMENT |
| LOW | common_z.h | 221 | #define ZGEMM3M_ONCOPYR zgemm3m_oncopyr | COMMENT |
| LOW | common_z.h | 241 | #define ZSYMM3M_OLCOPYB zsymm3m_olcopyb | COMMENT |
| LOW | common_z.h | 261 | COMMENT | |
| LOW | common_z.h | 281 | #define ZIMATCOPY_K_RT zimatcopy_k_rt | COMMENT |
| LOW | common_z.h | 301 | #define ZASUM_K gotoblas -> zasum_k | COMMENT |
| LOW | common_z.h | 321 | COMMENT | |
| LOW | common_z.h | 341 | #define ZGEMM_ONCOPY gotoblas -> zgemm_oncopy | COMMENT |
| LOW | common_z.h | 361 | #define ZTRSM_ILNUCOPY gotoblas -> ztrsm_ilnucopy | COMMENT |
| LOW | common_z.h | 381 | COMMENT | |
| LOW | common_z.h | 401 | #define ZTRMM_GEMM_KERNEL_B gotoblas -> ztrmm_gemm_kernel_b | COMMENT |
| LOW | common_z.h | 421 | #define ZSYMM_IUTCOPY gotoblas -> zsymm_iutcopy | COMMENT |
| LOW | common_z.h | 441 | #define ZGEMM3M_ITCOPYB gotoblas -> zgemm3m_itcopyb | COMMENT |
| LOW | common_z.h | 461 | #define ZHEMM3M_ILCOPYR gotoblas -> zhemm3m_ilcopyr | COMMENT |
| LOW | common_z.h | 481 | #define ZOMATCOPY_K_RN gotoblas -> zomatcopy_k_rn | COMMENT |
| LOW | common_z.h | 501 | COMMENT | |
| LOW | common_z.h | 521 | #define ZGEMM_SMALL_KERNEL_CR FUNC_OFFSET(zgemm_small_kernel_cr) | COMMENT |
| LOW | common_z.h | 541 | #define ZGEMM_SMALL_KERNEL_B0_CR FUNC_OFFSET(zgemm_small_kernel_b0_cr) | COMMENT |
| LOW | common_z.h | 561 | COMMENT | |
| LOW | common_z.h | 581 | #define ZSYRK_KERNEL_U zsyrk_kernel_U | COMMENT |
| LOW | common_z.h | 601 | #define ZGEMMT_LNT zgemmt_LNT | COMMENT |
| LOW | common_z.h | 621 | #define ZGEMMT_KERNEL_LNC zgemmt_kernel_LNC | COMMENT |
| LOW | common_z.h | 641 | #define ZSYR2K_LC zsyr2k_LT | COMMENT |
| LOW | common_z.h | 661 | #define ZTRMM_LCLN ztrmm_LCLN | COMMENT |
| LOW | common_z.h | 681 | #define ZTRSM_LNLU ztrsm_LNLU | COMMENT |
| LOW | common_z.h | 701 | #define ZTRSM_RTLU ztrsm_RTLU | COMMENT |
| LOW | common_z.h | 721 | #define ZGEMM_THREAD_NR zgemm_thread_nr | COMMENT |
| LOW | common_z.h | 741 | #define ZSYRK_THREAD_LN zsyrk_thread_LN | COMMENT |
| LOW | common_z.h | 761 | #define ZGEMM3M_NT zgemm3m_nt | COMMENT |
| LOW | common_z.h | 781 | #define ZGEMM3M_THREAD_TC zgemm3m_thread_tc | COMMENT |
| LOW | common_z.h | 801 | #define ZHEMM3M_LU zhemm3m_LU | COMMENT |
| LOW | cpuid_x86.c | 41 | #include <string.h> | COMMENT |
| LOW | common_sparc.h | 81 | #endif | COMMENT |
| LOW | common_sparc.h | 101 | #endif | COMMENT |
| LOW | common_sparc.h | 121 | #define FMUL fmuld | COMMENT |
| LOW | common_sparc.h | 181 | .word ((2 << 30) | ((rd) << 25) | ( 0x36 << 19) | ( 0x7e << 5)) | COMMENT |
| LOW | common_sparc.h | 221 | COMMENT | |
| LOW | common_sparc.h | 241 | COMMENT | |
| LOW | common_power.h | 41 | COMMENT | |
| 11753 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lapack-netlib/CMakeLists.txt | 157 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 171 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 190 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 201 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 220 | # -------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lapack-netlib/CMakeLists.txt | 262 | # -------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lapack-netlib/CMakeLists.txt | 270 | # -------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lapack-netlib/CMakeLists.txt | 280 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 355 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 390 | #------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 400 | #------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 449 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 479 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/CMakeLists.txt | 600 | # -------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/BLAS/SRC/CMakeLists.txt | 28 | #--------------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/BLAS/SRC/CMakeLists.txt | 30 | #--------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lapack-netlib/BLAS/SRC/CMakeLists.txt | 47 | #--------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lapack-netlib/BLAS/SRC/CMakeLists.txt | 49 | #--------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lapack-netlib/BLAS/SRC/CMakeLists.txt | 52 | #--------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | lapack-netlib/BLAS/SRC/CMakeLists.txt | 54 | #--------------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/BLAS/SRC/CMakeLists.txt | 71 | #--------------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/BLAS/SRC/CMakeLists.txt | 73 | #--------------------------------------------------------- | COMMENT |
| MEDIUM | lapack-netlib/TESTING/CMakeLists.txt | 176 | # ============================================================================== | COMMENT |
| MEDIUM | lapack-netlib/CBLAS/CMakeLists.txt | 38 | # -------------------------------------------------- | COMMENT |
| MEDIUM | kernel/riscv64/generate_kernel.py | 6 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | kernel/riscv64/generate_kernel.py | 48 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | kernel/riscv64/generate_kernel.py | 75 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | kernel/riscv64/generate_kernel.py | 170 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | kernel/riscv64/generate_kernel.py | 329 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | kernel/riscv64/generate_kernel.py | 449 | #----------------------------------------------------------------------- | STRING |
| MEDIUM | kernel/riscv64/generate_kernel.py | 537 | #----------------------------------------------------------------------- | STRING |
| MEDIUM | kernel/riscv64/generate_kernel.py | 568 | #----------------------------------------------------------------------- | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 22 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 42 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 61 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 82 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 110 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 143 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 166 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 190 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 216 | CODE | |
| LOW | benchmark/pybench/benchmarks/bench_blas.py | 250 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/pybench/openblas_wrap/generate_f2pymod.py | 69 | CODE | |
| LOW | benchmark/pybench/openblas_wrap/generate_f2pymod.py | 141 | CODE | |
| LOW | benchmark/pybench/openblas_wrap/generate_f2pymod.py | 225 | CODE | |
| LOW | lapack-netlib/lapack_testing.py | 101 | CODE | |
| LOW | kernel/riscv64/generate_kernel.py | 76 | CODE | |
| LOW | kernel/riscv64/generate_kernel.py | 171 | CODE | |
| LOW | kernel/riscv64/generate_kernel.py | 330 | CODE | |
| LOW | kernel/riscv64/generate_kernel.py | 450 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/scripts/NUMPY/dgesv.py | 6 | CODE | |
| LOW | benchmark/scripts/NUMPY/daxpy.py | 6 | CODE | |
| LOW | benchmark/scripts/SCIPY/dsyrk.py | 6 | CODE | |
| LOW | benchmark/scripts/SCIPY/ssyrk.py | 6 | CODE | |
| LOW | lapack-netlib/lapack_testing.py | 8 | CODE | |
| LOW | lapack-netlib/lapack_testing.py | 8 | CODE | |
| LOW | lapack-netlib/lapack_testing.py | 9 | CODE | |
| LOW | kernel/riscv64/generate_kernel.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/pybench/openblas_wrap/generate_f2pymod.py | 110 | def find_and_remove_repl_patterns(astr): | CODE |
| LOW | kernel/riscv64/generate_kernel.py | 76 | def generate_gemm_kernel_inner_real( settings, dest, M, N, vlen, a_regs ): | CODE |
| LOW | kernel/riscv64/generate_kernel.py | 171 | def generate_gemm_kernel_inner_complex( settings, dest, M, N, vlen, a_regs ): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lapack-netlib/lapack_testing.py | 100 | # Define a function to open the executable (different filenames on unix and Windows) | COMMENT |