An open source library for face detection in images. The face detection speed can reach 1000FPS.
This report summarizes scanner evidence for ShiqiYu/libfacedetection, a C++ project with 12,811 GitHub stars. SynthScan examined 29,402 lines of code across 102 source files, recording 77 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 2.1 (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? 77 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 77 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 77 distinct pattern matches across 2 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 | highway/benchmark/hw_image_benchmark.cpp | 1 | #include "facedetect_hw.h" | COMMENT |
| LOW | highway/benchmark/hw_resolution_benchmark.cpp | 1 | #include "facedetect_hw.h" | COMMENT |
| LOW | highway/externals/doctest.h | 1 | // ============================================================= | COMMENT |
| LOW | highway/externals/doctest.h | 21 | // which uses the Boost Software License - Version 1.0 | COMMENT |
| LOW | highway/externals/doctest.h | 41 | COMMENT | |
| LOW | highway/externals/doctest.h | 61 | COMMENT | |
| LOW | highway/externals/doctest.h | 81 | #ifdef _MSC_VER | COMMENT |
| LOW | highway/externals/doctest.h | 101 | #endif // GCC | COMMENT |
| LOW | highway/externals/doctest.h | 121 | // == COMPILER WARNINGS HELPERS ==================================================================== | COMMENT |
| LOW | highway/externals/doctest.h | 141 | COMMENT | |
| LOW | highway/externals/doctest.h | 161 | #define DOCTEST_MSVC_SUPPRESS_WARNING_PUSH | COMMENT |
| LOW | highway/externals/doctest.h | 321 | #ifndef DOCTEST_PARTS_PUBLIC_PLATFORM | COMMENT |
| LOW | highway/externals/doctest.h | 341 | COMMENT | |
| LOW | highway/externals/doctest.h | 361 | // MSVC++ 8.0 _MSC_VER == 1400 (Visual Studio 2005) | COMMENT |
| LOW | highway/externals/doctest.h | 381 | COMMENT | |
| LOW | highway/externals/doctest.h | 401 | COMMENT | |
| LOW | highway/externals/doctest.h | 421 | #define DOCTEST_INTERFACE DOCTEST_SYMBOL_EXPORT | COMMENT |
| LOW | highway/externals/doctest.h | 441 | #if DOCTEST_MSVC | COMMENT |
| LOW | highway/externals/doctest.h | 461 | #ifndef DOCTEST_NORETURN | COMMENT |
| LOW | highway/externals/doctest.h | 481 | #else // DOCTEST_MSVC | COMMENT |
| LOW | highway/externals/doctest.h | 501 | COMMENT | |
| LOW | highway/externals/doctest.h | 521 | #endif // _LIBCPP_VERSION | COMMENT |
| LOW | highway/externals/doctest.h | 561 | #else | COMMENT |
| LOW | highway/externals/doctest.h | 601 | // should probably take a look at https://github.com/scottt/debugbreak | COMMENT |
| LOW | highway/externals/doctest.h | 621 | #define DOCTEST_BREAK_INTO_DEBUGGER() /* NOLINTNEXTLINE(hicpp-no-assembler) */ \ | COMMENT |
| LOW | highway/externals/doctest.h | 881 | // - if small - acts as a null terminator if strlen() is 23 (24 including the null terminator) | COMMENT |
| LOW | highway/externals/doctest.h | 2901 | #define DOCTEST_FUNC_SCOPE_END () | COMMENT |
| LOW | highway/externals/doctest.h | 3221 | doctest::assertType::assert_type, __FILE__, __LINE__, #__VA_ARGS__, __VA_ARGS__ \ | COMMENT |
| LOW | highway/externals/doctest.h | 3241 | #define DOCTEST_CHECK_FALSE_MESSAGE(cond, ...) DOCTEST_FUNC_SCOPE_BEGIN { DOCTEST_INFO(__VA_ARGS__); DOCTEST_ASSERT_IMPL | COMMENT |
| LOW | highway/externals/doctest.h | 3321 | #define DOCTEST_CHECK_THROWS(...) DOCTEST_ASSERT_THROWS_WITH((__VA_ARGS__), #__VA_ARGS__, DT_CHECK_THROWS, "") | COMMENT |
| LOW | highway/externals/doctest.h | 3341 | #define DOCTEST_CHECK_THROWS_MESSAGE(expr, ...) DOCTEST_FUNC_SCOPE_BEGIN { DOCTEST_INFO(__VA_ARGS__); DOCTEST_CHECK_THRO | COMMENT |
| LOW | highway/externals/doctest.h | 3401 | COMMENT | |
| LOW | highway/externals/doctest.h | 3421 | #define DOCTEST_REGISTER_EXCEPTION_TRANSLATOR(signature) \ | COMMENT |
| LOW | highway/externals/doctest.h | 3441 | #define DOCTEST_REQUIRE(...) [&] { return __VA_ARGS__; }() | COMMENT |
| LOW | highway/externals/doctest.h | 3461 | DOCTEST_RELATIONAL_OP(eq, ==) | COMMENT |
| LOW | highway/externals/doctest.h | 3481 | #define DOCTEST_REQUIRE_GT(...) [&] { return doctest::detail::gt(__VA_ARGS__); }() | COMMENT |
| LOW | highway/externals/doctest.h | 3501 | }() | COMMENT |
| LOW | highway/externals/doctest.h | 3521 | #define DOCTEST_REQUIRE_THROWS_AS(expr, ...) [&] { try { expr; } catch (__VA_ARGS__) { return true; } catch (...) { } re | COMMENT |
| LOW | highway/externals/doctest.h | 3541 | #define DOCTEST_WARN(...) DOCTEST_FUNC_EMPTY | COMMENT |
| LOW | highway/externals/doctest.h | 3561 | #define DOCTEST_WARN_GT(...) DOCTEST_FUNC_EMPTY | COMMENT |
| LOW | highway/externals/doctest.h | 3581 | #ifndef DOCTEST_CONFIG_NO_EXCEPTIONS | COMMENT |
| LOW | highway/externals/doctest.h | 3601 | #define DOCTEST_REQUIRE_THROWS_MESSAGE(expr, ...) DOCTEST_FUNC_EMPTY | COMMENT |
| LOW | highway/externals/doctest.h | 3641 | #undef DOCTEST_REQUIRE_EQ | COMMENT |
| LOW | highway/externals/doctest.h | 3661 | #define DOCTEST_REQUIRE_UNARY_FALSE DOCTEST_EXCEPTION_EMPTY_FUNC | COMMENT |
| LOW | highway/externals/doctest.h | 3681 | #define DOCTEST_WARN_THROWS_MESSAGE(expr, ...) DOCTEST_EXCEPTION_EMPTY_FUNC | COMMENT |
| LOW | highway/externals/doctest.h | 3701 | #define DOCTEST_FAST_CHECK_EQ DOCTEST_CHECK_EQ | COMMENT |
| LOW | highway/externals/doctest.h | 3721 | #define DOCTEST_FAST_REQUIRE_UNARY DOCTEST_REQUIRE_UNARY | COMMENT |
| LOW | highway/externals/doctest.h | 3741 | #define DOCTEST_AND_THEN(name) DOCTEST_SUBCASE(" And: " name) | COMMENT |
| LOW | highway/externals/doctest.h | 3761 | #define REGISTER_EXCEPTION_TRANSLATOR(signature) DOCTEST_REGISTER_EXCEPTION_TRANSLATOR(signature) | COMMENT |
| LOW | highway/externals/doctest.h | 3781 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) | COMMENT |
| LOW | highway/externals/doctest.h | 3801 | #define WARN_THROWS_WITH_MESSAGE(expr, with, ...) DOCTEST_WARN_THROWS_WITH_MESSAGE(expr, with, __VA_ARGS__) | COMMENT |
| LOW | highway/externals/doctest.h | 3821 | #define SCENARIO_METHOD(x, name) DOCTEST_SCENARIO_METHOD(x, name) | COMMENT |
| LOW | highway/externals/doctest.h | 3841 | #define WARN_LT(...) DOCTEST_WARN_LT(__VA_ARGS__) | COMMENT |
| LOW | highway/externals/doctest.h | 3861 | #define FAST_WARN_NE(...) DOCTEST_FAST_WARN_NE(__VA_ARGS__) | COMMENT |
| LOW | highway/externals/doctest.h | 3901 | COMMENT | |
| LOW | highway/externals/doctest.h | 3921 | #include <cstdlib> | COMMENT |
| LOW | highway/externals/doctest.h | 3941 | #define DOCTEST_DECLARE_STATIC_MUTEX(name) | COMMENT |
| LOW | highway/externals/doctest.h | 3961 | #endif // DOCTEST_PLATFORM_MAC | COMMENT |
| LOW | highway/externals/doctest.h | 3981 | #include <io.h> | COMMENT |
| LOW | highway/externals/doctest.h | 4001 | #if !defined(HAVE_UNISTD_H) && !defined(STDOUT_FILENO) | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rust/docs/rs-status.md | 3 | ## 2026-05-04 crate and public API scaffold | COMMENT |
| MEDIUM | rust/src/ffi.rs | 14 | /// input. The current scaffold writes a valid empty detection result. | COMMENT |