🚀 PHP Extension for creating and reader XLSX files.
This report summarizes scanner evidence for viest/php-ext-xlswriter, a C project with 2,372 GitHub stars. SynthScan examined 113,685 lines of code across 370 source files, recording 65 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 0.6 (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? 65 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? 65 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 65 distinct pattern matches across 1 syntactic category. 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 | .appveyor.yml | 41 | # VC mapping follows windows.php.net's official builds: | COMMENT |
| LOW | include/common.h | 21 | # define PHP_VTIFUL_API | COMMENT |
| LOW | include/xlswriter.h | 21 | #include "ext/date/php_date.h" | COMMENT |
| LOW | include/xlswriter.h | 281 | #define SHEET_CURRENT_LINE(obj_p) obj_p->write_line | COMMENT |
| LOW | include/excel.h | 21 | #define V_XLS_PAT "path" | COMMENT |
| LOW | include/minizip/unzip.h | 41 | */ | COMMENT |
| LOW | include/minizip/unzip.h | 61 | COMMENT | |
| LOW | include/minizip/ioapi.h | 21 | #ifndef _ZLIBIOAPI64_H | COMMENT |
| LOW | include/minizip/ioapi.h | 41 | COMMENT | |
| LOW | include/minizip/ioapi.h | 61 | #define ftello64 _ftelli64 | COMMENT |
| LOW | include/minizip/ioapi.h | 81 | #ifdef HAVE_MINIZIP64_CONF_H | COMMENT |
| LOW | include/minizip/ioapi.h | 101 | #endif | COMMENT |
| LOW | include/minizip/ioapi.h | 201 | #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(filestream))) | COMMENT |
| LOW | library/libxlsx/test/reader/xlsx_test_paths.h | 1 | #ifndef LXLSX_TEST_PATHS_H | COMMENT |
| LOW | library/libxlsx/test/writer/ctest.h | 81 | #define CTEST_IMPL_TNAME(sname, tname) CTEST_IMPL_NAME(sname##_##tname) | COMMENT |
| LOW | library/libxlsx/test/writer/ctest.h | 201 | COMMENT | |
| LOW | library/libxlsx/test/writer/ctest.h | 241 | #define ASSERT_FLT_FAR(v1, v2) assert_dbl_compare("!=", v1, v2, -CTEST_FLT_EPSILON, __FILE__, __LINE__) | COMMENT |
| LOW | library/libxlsx/test/writer/ctest.h | 261 | static size_t ctest_errorsize; | COMMENT |
| LOW | library/libxlsx/include/libxlsx.h | 21 | #include "libxlsx/format.h" | COMMENT |
| LOW | library/libxlsx/include/libxlsx/workbook.h | 41 | */ | COMMENT |
| LOW | library/libxlsx/include/libxlsx/reader.h | 1 | #ifndef LXLSX_READER_H | COMMENT |
| LOW | library/libxlsx/include/libxlsx/worksheet.h | 41 | * @endcode | COMMENT |
| LOW | library/libxlsx/include/libxlsx/worksheet.h | 61 | COMMENT | |
| LOW | library/libxlsx/include/libxlsx/packager.h | 21 | #include "third_party/zip.h" | COMMENT |
| LOW | library/libxlsx/include/libxlsx/common.h | 21 | #include <stdio.h> | COMMENT |
| LOW | library/libxlsx/include/libxlsx/common.h | 221 | #define LXLSX_UINT32_T_LENGTH sizeof("4294967296") | COMMENT |
| LOW | library/libxlsx/include/libxlsx/third_party/zip.h | 41 | #ifndef _WIN32 | COMMENT |
| LOW | library/libxlsx/include/libxlsx/third_party/zip.h | 61 | COMMENT | |
| LOW | library/libxlsx/include/libxlsx/third_party/zip.h | 81 | #else | COMMENT |
| LOW | library/libxlsx/include/libxlsx/third_party/ioapi.h | 21 | COMMENT | |
| LOW | library/libxlsx/include/libxlsx/third_party/ioapi.h | 41 | #ifndef _LARGEFILE64_SOURCE | COMMENT |
| LOW | library/libxlsx/include/libxlsx/third_party/ioapi.h | 61 | #define ftello64 ftello | COMMENT |
| LOW | library/libxlsx/include/libxlsx/third_party/ioapi.h | 81 | #include <stdint.h> | COMMENT |
| LOW | library/libxlsx/include/libxlsx/third_party/ioapi.h | 101 | COMMENT | |
| LOW | library/libxlsx/include/libxlsx/third_party/ioapi.h | 121 | #define ZLIB_FILEFUNC_SEEK_END (2) | COMMENT |
| LOW | library/libxlsx/internal/platform.h | 21 | # define lxlsx_reader_set_binary(fd) 0 | COMMENT |
| LOW | library/libxlsx/internal/platform.h | 41 | * edit paths use this for file-size and offset queries. */ | COMMENT |
| LOW | library/libxlsx/internal/xlsx_private.h | 1 | #ifndef LXLSX_PRIVATE_H | COMMENT |
| LOW | library/libxlsx/third_party/minizip/unzip.c | 61 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/unzip.c | 81 | #ifdef NO_ERRNO_H | COMMENT |
| LOW | library/libxlsx/third_party/minizip/unzip.c | 101 | #ifndef UNZ_BUFSIZE | COMMENT |
| LOW | library/libxlsx/third_party/minizip/zip.c | 21 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/zip.c | 41 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/zip.c | 61 | # define ALLOC(size) (malloc(size)) | COMMENT |
| LOW | library/libxlsx/third_party/minizip/zip.c | 81 | #endif | COMMENT |
| LOW | library/libxlsx/third_party/minizip/zip.h | 41 | #ifndef _WIN32 | COMMENT |
| LOW | library/libxlsx/third_party/minizip/zip.h | 61 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/zip.h | 81 | #else | COMMENT |
| LOW | library/libxlsx/third_party/minizip/unzip.h | 41 | */ | COMMENT |
| LOW | library/libxlsx/third_party/minizip/unzip.h | 61 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/ioapi.h | 21 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/ioapi.h | 41 | #ifndef _LARGEFILE64_SOURCE | COMMENT |
| LOW | library/libxlsx/third_party/minizip/ioapi.h | 61 | #define ftello64 ftello | COMMENT |
| LOW | library/libxlsx/third_party/minizip/ioapi.h | 81 | #include <stdint.h> | COMMENT |
| LOW | library/libxlsx/third_party/minizip/ioapi.h | 101 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/ioapi.h | 121 | #define ZLIB_FILEFUNC_SEEK_END (2) | COMMENT |
| LOW | library/libxlsx/third_party/minizip/iowin32.c | 21 | #define INVALID_HANDLE_VALUE (0xFFFFFFFF) | COMMENT |
| LOW | library/libxlsx/third_party/minizip/minizip.c | 21 | #define __USE_LARGEFILE64 | COMMENT |
| LOW | library/libxlsx/third_party/minizip/minizip.c | 41 | COMMENT | |
| LOW | library/libxlsx/third_party/minizip/miniunz.c | 21 | #endif | COMMENT |
| 5 more matches not shown… | ||||