A massively spiffy yet delicately unobtrusive compression library.
This report summarizes scanner evidence for madler/zlib, a C project with 7,128 GitHub stars. SynthScan examined 53,419 lines of code across 137 source files, recording 149 pattern matches distributed across 5 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? 129 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 20 finding(s).
Which changes need focused human review? 149 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 149 distinct pattern matches across 5 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 | zutil.h | 21 | COMMENT | |
| LOW | zutil.h | 41 | extern const char inflate9_copyright[]; | COMMENT |
| LOW | zutil.h | 81 | # define DEF_MEM_LEVEL 8 | COMMENT |
| LOW | zutil.h | 101 | # define OS_CODE 0x00 | COMMENT |
| LOW | zutil.h | 121 | #if defined(VAXC) || defined(VMS) | COMMENT |
| LOW | zutil.h | 141 | #ifdef OS2 | COMMENT |
| LOW | zutil.h | 161 | # define OS_CODE 16 | COMMENT |
| LOW | zutil.h | 181 | ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t); | COMMENT |
| LOW | zutil.h | 201 | /* Use our own functions for small and medium model with MSC <= 5.0. | COMMENT |
| LOW | zutil.h | 221 | void ZLIB_INTERNAL zmemcpy(void FAR *, const void FAR *, z_size_t); | COMMENT |
| LOW | crc32.c | 21 | */ | COMMENT |
| LOW | crc32.c | 81 | #ifdef Z_TESTW | COMMENT |
| LOW | crc32.c | 681 | z_word_t word5; | COMMENT |
| LOW | crc32.c | 741 | #if N > 5 | COMMENT |
| LOW | crc32.c | 801 | z_word_t crc4, word4; | COMMENT |
| LOW | crc32.c | 861 | #if N > 4 | COMMENT |
| LOW | zutil.c | 61 | #endif | COMMENT |
| LOW | zutil.c | 81 | #endif | COMMENT |
| LOW | zutil.c | 101 | # endif | COMMENT |
| LOW | gzguts.h | 1 | /* gzguts.h -- zlib internal header definitions for gz* operations | COMMENT |
| LOW | gzguts.h | 21 | # ifndef WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | gzguts.h | 41 | # define _POSIX_C_SOURCE 200112L | COMMENT |
| LOW | gzguts.h | 61 | COMMENT | |
| LOW | gzguts.h | 81 | # if !defined(NO_vsnprintf) && \ | COMMENT |
| LOW | gzguts.h | 121 | #ifndef STDC | COMMENT |
| LOW | gzguts.h | 141 | # define BLOCKED(e) ((e) == EAGAIN || (e) == EWOULDBLOCK) | COMMENT |
| LOW | gzguts.h | 161 | /* default memLevel */ | COMMENT |
| LOW | zlib.h | 181 | #define Z_OK 0 | COMMENT |
| LOW | zlib.h | 201 | #define Z_HUFFMAN_ONLY 2 | COMMENT |
| LOW | zlib.h | 1981 | ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int); | COMMENT |
| LOW | gzlib.c | 1 | /* gzlib.c -- zlib functions common to reading and writing gzip files | COMMENT |
| LOW | inftrees.c | 1 | /* inftrees.c -- generate Huffman trees for efficient decoding | COMMENT |
| LOW | zconf.h | 21 | # define _dist_code z__dist_code | COMMENT |
| LOW | zconf.h | 41 | # define crc32 z_crc32 | COMMENT |
| LOW | zconf.h | 61 | # define deflateReset z_deflateReset | COMMENT |
| LOW | zconf.h | 81 | # define gzerror z_gzerror | COMMENT |
| LOW | zconf.h | 101 | # define gzseek64 z_gzseek64 | COMMENT |
| LOW | zconf.h | 121 | # define inflateInit2_ z_inflateInit2_ | COMMENT |
| LOW | zconf.h | 141 | # define uncompress2_z z_uncompress2_z | COMMENT |
| LOW | zconf.h | 161 | # define gz_headerp z_gz_headerp | COMMENT |
| LOW | zconf.h | 181 | #endif | COMMENT |
| LOW | zconf.h | 201 | /* | COMMENT |
| LOW | zconf.h | 221 | #endif | COMMENT |
| LOW | zconf.h | 241 | # define const /* note: need a more gentle solution here */ | COMMENT |
| LOW | zconf.h | 261 | # if defined(NO_SIZE_T) | COMMENT |
| LOW | zconf.h | 321 | /* MSC small or medium model */ | COMMENT |
| LOW | zconf.h | 341 | /* If building or using zlib as a DLL, define ZLIB_DLL. | COMMENT |
| LOW | zconf.h | 361 | # ifndef WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | zconf.h | 381 | # else | COMMENT |
| LOW | zconf.h | 421 | typedef void FAR *voidpf; | COMMENT |
| LOW | zconf.h | 441 | typedef Z_U4 z_crc_t; | COMMENT |
| LOW | zconf.h | 461 | # ifndef Z_SOLO | COMMENT |
| LOW | zconf.h | 481 | COMMENT | |
| LOW | zconf.h | 501 | # define Z_LFS64 | COMMENT |
| LOW | zconf.h | 521 | COMMENT | |
| LOW | zconf.h | 541 | #pragma map(inflateInit2_,"ININ2") | COMMENT |
| LOW | test/minigzip.c | 21 | COMMENT | |
| LOW | test/minigzip.c | 41 | #endif | COMMENT |
| LOW | test/minigzip.c | 61 | # define unlink remove | COMMENT |
| LOW | os400/make.sh | 1 | #!/bin/sh | COMMENT |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | CMakeLists.txt | 10 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 12 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 18 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | CMakeLists.txt | 20 | # ============================================================================ | COMMENT |
| MEDIUM | CMakeLists.txt | 202 | # ============================================================================ | COMMENT |
| MEDIUM | CMakeLists.txt | 204 | # ============================================================================ | COMMENT |
| MEDIUM | CMakeLists.txt | 417 | # ============================================================================ | COMMENT |
| MEDIUM | CMakeLists.txt | 419 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | contrib/minizip/CMakeLists.txt | 10 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | contrib/minizip/CMakeLists.txt | 12 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | contrib/minizip/CMakeLists.txt | 18 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | contrib/minizip/CMakeLists.txt | 20 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | contrib/minizip/CMakeLists.txt | 28 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | contrib/minizip/CMakeLists.txt | 30 | # ============================================================================ | COMMENT |
| MEDIUM | contrib/zlib1-dll/CMakeLists.txt | 10 | # ============================================================================ | COMMENT |
| MEDIUM | contrib/zlib1-dll/CMakeLists.txt | 12 | # ============================================================================ | COMMENT |
| MEDIUM | contrib/zlib1-dll/CMakeLists.txt | 134 | # ============================================================================ | COMMENT |
| MEDIUM | contrib/zlib1-dll/CMakeLists.txt | 136 | # ============================================================================ | COMMENT |
| MEDIUM | contrib/testzlib/CMakeLists.txt | 10 | # ============================================================================ | COMMENT |
| MEDIUM | contrib/testzlib/CMakeLists.txt | 12 | # ============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | contrib/dotzlib/DotZLib/GZipStream.cs | 263 | /// <remarks>In this implementation, this method does nothing. This is because excessive | COMMENT |
| HIGH | contrib/dotzlib/DotZLib/GZipStream.cs | 273 | /// <remarks>In this implementation this property is not supported</remarks> | COMMENT |
| HIGH | contrib/dotzlib/DotZLib/GZipStream.cs | 290 | /// <remarks>In this implementation this property is not supported</remarks> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | os400/make.sh | 164 | # Create the OS/400 library if it does not exist. | COMMENT |
| MEDIUM | os400/make.sh | 172 | # Create the DOCS source file if it does not exist. | COMMENT |
| MEDIUM | os400/make.sh | 195 | # Create the OS/400 source program file for the C header files. | COMMENT |
| MEDIUM | os400/make.sh | 206 | # Create the IFS directory for the C header files. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | os400/make.sh | 66 | # Set LINK to "YES" if the module has been compiled. | COMMENT |