A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
This report presents the forensic synthetic code analysis of livewire/livewire, a PHP project with 23,544 GitHub stars. SynthScan v2.0 examined 133,553 lines of code across 1055 source files, recording 378 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 3.5 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 378 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | legacy_tests/Unit/TestCase.php | 67 | protected function resolveApplicationHttpKernel($app) | CODE |
| LOW | legacy_tests/Browser/TestCase.php | 42 | function registerComponentForNextTest($components) | CODE |
| LOW | legacy_tests/Browser/TestCase.php | 49 | function wipeRuntimeComponentRegistration() | CODE |
| LOW | legacy_tests/Browser/TestCase.php | 216 | protected function resolveApplicationHttpKernel($app) | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 237 | public function downloadWithContentTypeHeader($contentType = null) | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 247 | public function downloadAnUntitledFileWithContentTypeHeader($contentType = 'text/html') | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 269 | public function downloadFromResponseWithContentTypeHeader() | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 283 | public function downloadQuotedContentDispositionFilename() | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 293 | public function downloadQuotedContentDispositionFilenameFromResponse() | CODE |
| LOW | js/debounce.js | 41 | export function callAndClearComponentDebounces(component, callback) { | CODE |
| LOW | js/fragment.js | 133 | export function findMatchingEndMarkerNode(startMarkerNode, metadata) { | CODE |
| LOW | js/fragment.js | 151 | export function extractInnerHtmlFromFragmentHtml(fragmentHtml) { | CODE |
| LOW | js/fragment.js | 163 | export function extractFragmentMetadataFromHtml(fragmentHtml) { | CODE |
| LOW | js/fragment.js | 175 | export function extractFragmentMetadataFromMarkerNode(startMarkerNode) { | CODE |
| LOW | js/directives.js | 5 | export function matchesForLivewireDirective(attributeName) { | CODE |
| LOW | js/directives.js | 47 | export function customDirectiveHasBeenRegistered(name) { | CODE |
| LOW | js/lifecycle.js | 119 | function ensureLivewireScriptIsntMisplaced() { | CODE |
| LOW | js/directives/wire-for.js | 38 | function contextualizeForExpression(expression, el) { | CODE |
| LOW⚡ | js/directives/wire-poll.js | 100 | function theDirectiveIsOffTheElement(el) { | CODE |
| LOW⚡ | js/directives/wire-poll.js | 104 | function theDirectiveIsMissingKeepAlive(directive) { | CODE |
| LOW⚡ | js/directives/wire-poll.js | 112 | function theElementIsNotInTheViewport(el) { | CODE |
| LOW | js/directives/wire-model.js | 190 | function componentIsMissingProperty(component, property) { | CODE |
| LOW | js/directives/shared.js | 2 | export function toggleBooleanStateDirective(el, directive, isTruthy, cachedDisplay = null) { | CODE |
| LOW | js/directives/wire-loading.js | 73 | function whenTargetsArePartOfRequest(component, el, targets, inverted, [ startLoading, endLoading ]) { | CODE |
| LOW | js/directives/wire-loading.js | 125 | function whenTargetsArePartOfFileUpload(component, targets, [ startLoading, endLoading ]) { | CODE |
| LOW | js/plugins/navigate/scroll.js | 2 | export function storeScrollInformationInHtmlBeforeNavigatingAway() { | CODE |
| LOW | js/plugins/navigate/scroll.js | 12 | export function restoreScrollPositionOrScrollToTop() { | CODE |
| LOW | js/plugins/navigate/persist.js | 5 | export function storePersistantElementsForLater(callback) { | CODE |
| LOW | js/plugins/navigate/persist.js | 19 | export function putPersistantElementsBack(callback) { | CODE |
| LOW | js/plugins/navigate/page.js | 11 | export function swapCurrentPageWithNewHtml(html, andThen) { | CODE |
| LOW | js/plugins/navigate/page.js | 44 | function prepNewBodyScriptTagsToRun(newBody, oldBodyScriptTagHashes) { | CODE |
| LOW | js/plugins/navigate/page.js | 163 | async function injectScriptTagAndWaitForItToFullyLoad(script) { | CODE |
| LOW | js/plugins/navigate/page.js | 182 | function ifTheQueryStringChangedSinceLastRequest(el, currentHeadChildren) { | CODE |
| LOW⚡ | js/plugins/navigate/links.js | 78 | export function extractDestinationFromLink(linkEl) { | CODE |
| LOW⚡ | js/plugins/navigate/links.js | 82 | export function createUrlObjectFromString(urlString) { | CODE |
| LOW⚡ | js/plugins/navigate/links.js | 86 | export function linkShouldBeHandledNatively(linkEl, destination = extractDestinationFromLink(linkEl)) { | CODE |
| LOW | js/plugins/navigate/links.js | 99 | export function getUriStringFromUrlObject(urlObject) { | CODE |
| LOW | js/plugins/navigate/index.js | 217 | function fetchHtmlOrUsePrefetchedHtml(fromDestination, callback, errorCallback) { | CODE |
| LOW | js/plugins/navigate/index.js | 223 | function preventAlpineFromPickingUpDomChanges(Alpine, callback) { | CODE |
| LOW | js/plugins/navigate/index.js | 235 | function fireEventForOtherLibrariesToHookInto(name, detail) { | CODE |
| LOW⚡ | js/plugins/navigate/index.js | 247 | function nowInitializeAlpineOnTheNewPage(Alpine) { | CODE |
| LOW⚡ | js/plugins/navigate/index.js | 253 | function autofocusElementsWithTheAutofocusAttribute() { | CODE |
| LOW⚡ | js/plugins/navigate/index.js | 257 | function cleanupAlpineElementsOnThePageThatArentInsideAPersistedElement() { | CODE |
| LOW | js/plugins/navigate/teleport.js | 11 | export function removeAnyLeftOverStaleTeleportTargets(body) { | CODE |
| LOW⚡ | js/plugins/navigate/history.js | 67 | export function updateCurrentPageHtmlInHistoryStateForLaterBackButtonClicks() { | CODE |
| LOW⚡ | js/plugins/navigate/history.js | 76 | export function updateCurrentPageHtmlInSnapshotCacheForLaterBackButtonClicks(key, url) { | CODE |
| LOW⚡ | js/plugins/navigate/history.js | 82 | export function whenTheBackOrForwardButtonIsClicked( | CODE |
| LOW | js/plugins/navigate/history.js | 122 | export function updateUrlAndStoreLatestHtmlForFutureBackButtons( | CODE |
| LOW | js/plugins/navigate/prefetch.js | 30 | export function storeThePrefetchedHtmlForWhenALinkIsClicked(html, destination, finalDestination) { | CODE |
| LOW | js/plugins/navigate/bar.js | 32 | export function removeAnyLeftOverStaleProgressBars() { | CODE |
| LOW | js/features/supportQueryString.js | 84 | function normalizeQueryStringEntry(key, value) { | CODE |
| LOW | js/features/supportNavigate.js | 19 | export function shouldRedirectUsingNavigateOr(effects, url, or) { | CODE |
| LOW | js/features/supportScriptsAndAssets.js | 62 | function onlyIfScriptHasntBeenRunAlreadyForThisComponent(component, key, callback) { | CODE |
| LOW | js/features/supportScriptsAndAssets.js | 88 | async function onlyIfAssetsHaventBeenLoadedAlreadyOnThisPage(key, callback) { | CODE |
| LOW | js/request/index.js | 74 | export function interceptComponentMessage(component, actionNameOrCallback, maybeCallback) { | CODE |
| LOW | js/request/index.js | 89 | export function interceptComponentRequest(component, actionNameOrCallback, maybeCallback) { | CODE |
| LOW | js/request/index.js | 178 | export function createOrAddToOutstandingMessage(action) { | CODE |
| LOW | js/request/index.js | 569 | async function interceptStreamAndReturnFinalResponse(response, callback) { | CODE |
| LOW | js/request/index.js | 659 | function createUrlObjectFromString(urlString) { | CODE |
| LOW | js/request/legacy.js | 3 | export function registerLegacyEventSupport(interceptRequest, interceptMessage) { | CODE |
| 263 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/worktree.sh | 4 | # ── Resolve the repo root from this script's location ──────────────────────── | COMMENT |
| MEDIUM | scripts/worktree.sh | 7 | # ── Usage ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/worktree.sh | 26 | # ── Check if it already exists ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/worktree.sh | 34 | # ── Fetch & create ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/worktree.sh | 41 | # ── Install deps ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/worktree.sh | 57 | # ── Done ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/cleanup-worktree.sh | 4 | # ── Resolve the repo root from this script's location ──────────────────────── | COMMENT |
| MEDIUM | scripts/cleanup-worktree.sh | 7 | # ── Usage ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/cleanup-worktree.sh | 23 | # ── Validate ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/cleanup-worktree.sh | 29 | # ── Remove ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/cleanup-worktree.sh | 33 | # ── Prune any stale worktree references ────────────────────────────────────── | COMMENT |
| MEDIUM | …eatures/SupportFileUploads/UploadActionBrowserTest.php | 325 | // ─── Real-input helpers ───────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/summarize-activity/SKILL.md | 15 | ## Step 1: Parse timeframe | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 33 | ## Step 2: Fetch activity in parallel | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 88 | ## Step 3: Fetch comment threads for active items | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 118 | ## Step 4: Filter by timeframe | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 125 | ## Step 5: Analyze and write report | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 15 | ## Step 1: Pick a PR | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 23 | ## Step 2: Check if already reviewed | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 33 | ## Step 3: Fetch PR data | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 44 | ## Step 4: Checkout locally and merge main | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 53 | ## Step 5: Read and classify | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 63 | ## Step 6: Challenge the contributor's framing | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 72 | ## Step 7: Evaluate | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 112 | ## Step 8: Run relevant tests only | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 145 | ## Step 9: Make fixes directly | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 166 | ## Step 10: Push to PR branch | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 199 | ## Step 11: Post verdict comment | COMMENT |
| LOW | docs/uploads.md | 435 | ### Step 1: Configure an S3 disk | COMMENT |
| LOW | docs/uploads.md | 485 | ### Step 2: Store uploaded files in S3 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | close.bash | 21 | # for pid in ${vscode_renderer_pids}; do | COMMENT |
| LOW | legacy_tests/Browser/TestCase.php | 101 | // ->filter(function ($class) { | COMMENT |
| LOW | legacy_tests/Browser/TestCase.php | 121 | // \LegacyTests\Browser\SyncHistory\ComponentWithoutQueryString::class | COMMENT |
| LOW | legacy_tests/Browser/QueryString/Test.php | 161 | COMMENT | |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 101 | // succeed(({ effects }) => { | COMMENT |
| LOW | legacy_tests/Browser/DataBinding/InputSelect/Test.php | 81 | // ->assertSeeIn('@output', '3') | COMMENT |
| LOW | js/plugins/history/index.js | 81 | // The new strategy needs to be something like: | COMMENT |
| LOW | js/features/supportFileUploads/action.js | 1 | import { getUploadManager } from './manager' | COMMENT |
| LOW | js/request/interactions.js | 61 | COMMENT | |
| LOW | docs/javascript.md | 781 | COMMENT | |
| LOW | scripts/laravel.php | 61 | // Illuminate\Broadcasting\BroadcastServiceProvider::class, | COMMENT |
| LOW | src/Features/SupportCompiledWireKeys/BrowserTest.php | 501 | // https://github.com/livewire/livewire/discussions/8877 | COMMENT |
| LOW | src/Features/SupportReleaseTokens/UnitTest.php | 61 | ComponentWithReleaseToken::$releaseToken = 'bob'; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ….obsidian/plugins/obsidian-languagetool-plugin/main.js | 1 | "use strict";var e=require("obsidian"),t=require("path"),n=require("@codemirror/view"),r=require("@codemirror/state"),i= | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …y_tests/Browser/DataBinding/InputSelect/view.blade.php | 24 | <select wire:model.live="placeholder" dusk="placeholder.input"> | CODE |
| LOW | docs/wire-model.md | 225 | As you can see, there is no "placeholder" attribute for a select menu like there is for text inputs. Instead, you have t | CODE |
| LOW | src/Features/SupportValidation/UnitTest.php | 1049 | public $emails = ['foo@bar.com', 'invalid-email']; | CODE |
| LOW | src/Features/SupportLazyLoading/BrowserTest.php | 393 | return view('placeholder', $params); | CODE |
| LOW | src/Features/SupportJsSynthesizers/BrowserTest.php | 353 | $this->address = new AddressDto('123 Main St', 'Anytown'); | CODE |
| LOW | src/Features/SupportModels/BrowserTest.php | 104 | <span dusk="placeholder">{{ $placeholder }}</span> | CODE |
| LOW | src/Features/SupportCSP/BrowserTest.php | 162 | ->type('@name', 'John Doe') | CODE |
| LOW | src/Features/SupportCSP/BrowserTest.php | 373 | ->type('@name', 'John Doe') | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/.obsidian/plugins/obsidian-dynamic-toc/main.js | 2 | `)}function J(i,e){let t=i.map(a=>a.level).reduce((a,d)=>Math.min(a,d)),n=i.filter(a=>a.level===t),s=e.delimiter?e.delim | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | js/directives/wire-loading.js | 172 | // If the property is nested, like `foo.bar`, we need to check if the root `foo` is the target. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/bump-alpine.js | 30 | console.log(`\nDone. Alpine updated to ^${latest}. Don't forget to commit package.json and package-lock.json.`) | CODE |