Time zone database and code
This report summarizes scanner evidence for eggert/tz, a C project with 1,926 GitHub stars. SynthScan examined 15,320 lines of code across 14 source files, recording 57 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 3.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.
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? 57 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? 57 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 57 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 | zdump.c | 21 | #ifndef HAVE_LOCALTIME_RZ | COMMENT |
| LOW | localtime.c | 21 | COMMENT | |
| LOW | localtime.c | 41 | #endif | COMMENT |
| LOW | localtime.c | 61 | COMMENT | |
| LOW | localtime.c | 81 | # endif | COMMENT |
| LOW | localtime.c | 201 | # define IINNTT_MAX LONG_MAX | COMMENT |
| LOW | localtime.c | 221 | # define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC | COMMENT |
| LOW | localtime.c | 261 | to support the offtime or mktime variant. */ | COMMENT |
| LOW | localtime.c | 281 | # ifdef TM_GMTOFF | COMMENT |
| LOW | localtime.c | 301 | COMMENT | |
| LOW | localtime.c | 321 | # define O_PATH 0 | COMMENT |
| LOW | localtime.c | 341 | # if defined __GLIBC__ && 2 < __GLIBC__ + (19 <= __GLIBC_MINOR__) | COMMENT |
| LOW | private.h | 61 | # ifndef _FILE_OFFSET_BITS | COMMENT |
| LOW | private.h | 101 | /* This string was in the Factory zone through version 2016f. */ | COMMENT |
| LOW | private.h | 121 | # define HAVE__GENERIC (201112 <= __STDC_VERSION__) | COMMENT |
| LOW | private.h | 141 | #ifndef HAVE_INCOMPATIBLE_CTIME_R | COMMENT |
| LOW | private.h | 161 | #ifndef HAVE_STRDUP | COMMENT |
| LOW | private.h | 181 | # endif | COMMENT |
| LOW | private.h | 241 | COMMENT | |
| LOW | private.h | 261 | #ifndef ENOTCAPABLE | COMMENT |
| LOW | private.h | 301 | # endif | COMMENT |
| LOW | private.h | 321 | #endif | COMMENT |
| LOW | private.h | 341 | #endif | COMMENT |
| LOW | private.h | 381 | # ifndef HAVE_INTTYPES_H | COMMENT |
| LOW | private.h | 401 | # ifndef INT_FAST64_MAX | COMMENT |
| LOW | private.h | 421 | COMMENT | |
| LOW | private.h | 441 | # endif | COMMENT |
| LOW | private.h | 461 | # define PRIdMAX "ld" | COMMENT |
| LOW | private.h | 481 | # endif | COMMENT |
| LOW | private.h | 521 | # endif | COMMENT |
| LOW | private.h | 541 | # define ckd_sub(r, a, b) __builtin_sub_overflow(a, b, r) | COMMENT |
| LOW | private.h | 561 | #if HAVE___HAS_C_ATTRIBUTE | COMMENT |
| LOW | private.h | 581 | # define ATTRIBUTE_FALLTHROUGH __attribute__((fallthrough)) | COMMENT |
| LOW | private.h | 601 | # if __has_c_attribute(noreturn) | COMMENT |
| LOW | private.h | 621 | # define ATTRIBUTE_REPRODUCIBLE /* empty */ | COMMENT |
| LOW | private.h | 641 | # define ATTRIBUTE_PURE ATTRIBUTE_REPRODUCIBLE | COMMENT |
| LOW | private.h | 661 | #define ATTRIBUTE_PURE_114833_HACK ATTRIBUTE_PURE_114833 | COMMENT |
| LOW | private.h | 701 | */ | COMMENT |
| LOW | private.h | 721 | # define difftime tz_difftime | COMMENT |
| LOW | private.h | 741 | # define posix2time tz_posix2time | COMMENT |
| LOW | private.h | 761 | # define tzalloc tz_tzalloc | COMMENT |
| LOW | private.h | 781 | # undef daylight | COMMENT |
| LOW | private.h | 821 | || defined __GLIBC__ || defined __tm_zone /* musl */ \ | COMMENT |
| LOW | private.h | 841 | # else | COMMENT |
| LOW | private.h | 881 | ** declarations if time_tz is defined. | COMMENT |
| LOW | private.h | 921 | # define TM_GMTOFF tm_gmtoff | COMMENT |
| LOW | private.h | 941 | time_t mktime_z(timezone_t restrict, struct tm *restrict); | COMMENT |
| LOW | private.h | 1061 | # ifndef timeoff | COMMENT |
| LOW | private.h | 1081 | # ifndef unreachable | COMMENT |
| LOW | strftime.c | 81 | && (/* OpenBSD 5.5 (2014-05-01) and later has 64-bit time_t. */ \ | COMMENT |
| LOW | zic.c | 21 | #ifndef O_BINARY | COMMENT |
| LOW | zic.c | 41 | COMMENT | |
| LOW | zic.c | 61 | # include <sys/random.h> | COMMENT |
| LOW | zic.c | 101 | static mode_t creat_perms = CREAT_PERMS; | COMMENT |
| LOW | zic.c | 161 | #if __STDC_VERSION__ < 201112 || defined __SUNPRO_C | COMMENT |
| LOW | zic.c | 761 | (TYPE_SIGNED(mode_t) \ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | workman.sh | 4 | # This file is in the public domain, so clarified as of | COMMENT |