Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
This report presents the forensic synthetic code analysis of orchidsoftware/platform, a PHP project with 4,790 GitHub stars. SynthScan v2.0 examined 53,196 lines of code across 612 source files, recording 290 pattern matches distributed across 2 syntactic categories. The overall adjusted score of 6.0 places this repository in the Low AI signal 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 290 distinct pattern matches across 2 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 | resources/js/controllers/markdown_controller.js | 92 | function buildHeadingLineDecorations(doc) { | CODE |
| LOW | resources/js/controllers/markdown_controller.js | 119 | function buildMarkdownMarkerDecorations(view) { | CODE |
| LOW | tests/Unit/FiltersTest.php | 63 | public function testPatternWithoutChildValue(): void | CODE |
| LOW | tests/Unit/FiltersTest.php | 76 | public function testPatternWithNestedValue(): void | CODE |
| LOW | tests/Unit/TurboTest.php | 14 | public function testDoesntChangeResponseWhenNotTurboVisit(): void | CODE |
| LOW | tests/Unit/TurboTest.php | 29 | public function testHandlesRedirectResponses() | CODE |
| LOW | tests/Unit/PresenterTest.php | 58 | public function testPresenterResolvesViaAttribute(): void | CODE |
| LOW⚡ | tests/Unit/PresenterTest.php | 71 | public function testPresenterRuntimeOverride(): void | CODE |
| LOW⚡ | tests/Unit/PresenterTest.php | 79 | public function testPresenterRuntimeOverridePersistsOnSameInstance(): void | CODE |
| LOW⚡ | tests/Unit/PresenterTest.php | 89 | public function testPresenterSetDynamicallyWithoutAttribute(): void | CODE |
| LOW | tests/Unit/PresenterTest.php | 101 | public function testPresenterThrowsWhenNoneIsDefined(): void | CODE |
| LOW | tests/Unit/AttachmentTest.php | 60 | public function testAttachmentCustomEngineFile(): void | CODE |
| LOW | tests/Unit/AttachmentTest.php | 142 | public function testAttachmentUrlLinkNotFound(): void | CODE |
| LOW | tests/Unit/AttachmentTest.php | 170 | public function testDuplicateAttachmentUpload(): void | CODE |
| LOW | tests/Unit/AttachmentTest.php | 185 | public function testAttachmentUploadAllowingDuplicate(): void | CODE |
| LOW⚡ | tests/Unit/AttachmentTest.php | 200 | public function testUnknownMimeTypeAttachmentUpload(): void | CODE |
| LOW⚡ | tests/Unit/AttachmentTest.php | 208 | public function testUnknownExtensionAttachmentUpload(): void | CODE |
| LOW⚡ | tests/Unit/AttachmentTest.php | 216 | public function testAttachmentTitleAttribute(): void | CODE |
| LOW | tests/Unit/AttachmentTest.php | 267 | public function testIsPhysicalExistAttachment() | CODE |
| LOW | tests/Unit/DashboardTest.php | 34 | public function testIsModelCustomNotFound(): void | CODE |
| LOW | tests/Unit/ModelFiltersTest.php | 15 | public function testNotParamsFiltersApply(): void | CODE |
| LOW | tests/Unit/ModelFiltersTest.php | 25 | public function testOnlyOneParamsFiltersApply(): void | CODE |
| LOW | tests/Unit/ModelFiltersTest.php | 39 | public function testManyParamsFiltersApply(): void | CODE |
| LOW | tests/Unit/ModelFiltersTest.php | 54 | public function testManyParamsFiltersApplyWithHttpAndDefaultSort(): void | CODE |
| LOW | tests/Unit/ModelFiltersTest.php | 83 | public function testDefaultSortWithParams(): void | CODE |
| LOW | tests/Unit/ModelFiltersTest.php | 102 | public function testFiltersApplySomeSelection(): void | CODE |
| LOW | tests/Unit/LocaleTest.php | 19 | public function testTranslationsJsonValidation(): void | CODE |
| LOW | tests/Unit/LocaleTest.php | 29 | public function testUsageAllTranslateString(): void | CODE |
| LOW | tests/Unit/LocaleTest.php | 63 | protected function checkUsageTranslateStringInProject(string $string): bool | CODE |
| LOW | tests/Unit/PublishedResourceTest.php | 44 | public function testManifestFilesHaveVersion(): void | CODE |
| LOW | tests/Unit/PublishedResourceTest.php | 81 | public function testManifestEntriesHaveIntegrity(): void | CODE |
| LOW | tests/Unit/AlertTest.php | 46 | public function testShouldFlashLevelsAlert(string $level, string $css): void | CODE |
| LOW | tests/Unit/AlertTest.php | 58 | public function testShouldFlashLevelsToast(string $level, string $css): void | CODE |
| LOW⚡ | tests/Unit/AlertTest.php | 77 | public function testToastShouldBePersistent(): void | CODE |
| LOW⚡ | tests/Unit/AlertTest.php | 86 | public function testToastShouldBePersistentAlias(): void | CODE |
| LOW⚡ | tests/Unit/AlertTest.php | 95 | public function testToastShouldSetDelayAndBePersistent(): void | CODE |
| LOW | tests/Unit/FieldTest.php | 151 | public function testOldNameMatchesLaravelRequestOldPrefix() | CODE |
| LOW | tests/Unit/FieldTest.php | 166 | public function testOldNameMatchesLaravelRequestOldPrefixWithErrors() | CODE |
| LOW⚡ | tests/Unit/FieldTest.php | 223 | public function testAddsSingleClassToEmptyClassAttribute(): void | CODE |
| LOW⚡ | tests/Unit/FieldTest.php | 231 | public function testAddsMultipleClassesToEmptyClassAttribute(): void | CODE |
| LOW⚡ | tests/Unit/FieldTest.php | 239 | public function testAddsArrayOfClassesToEmptyClassAttribute(): void | CODE |
| LOW⚡ | tests/Unit/FieldTest.php | 247 | public function testAddsNewClassToExistingClasses(): void | CODE |
| LOW⚡ | tests/Unit/FieldTest.php | 255 | public function testDoesNotDuplicateClasses(): void | CODE |
| LOW⚡ | tests/Unit/PermissionTest.php | 286 | public function testPermissionsCanBeCreatedFromJsonInput(): void | CODE |
| LOW⚡ | tests/Unit/PermissionTest.php | 296 | public function testPermissionsIgnoreInvalidInput(): void | CODE |
| LOW⚡ | tests/Unit/PermissionTest.php | 302 | public function testPermissionsNormalizeBooleanLikeValues(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 116 | public function testIsRegisteredPermission(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 131 | public function testGetPermissionsByGroup(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 148 | public function testRegisterPermissionMergesItemsIntoExistingGroup(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 174 | public function testGetAllowAllPermissionReturnsPermissionsValueObject(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 193 | public function testPermissionDescriptionIsNotStoredWithAssignedPermissions(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 214 | public function testUserPermissionsAreCastedToValueObject(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 237 | public function testPermissionsReturnSameInstanceWhenAlreadyNormalized(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 246 | public function testPermissionsConstructorNormalizesItems(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 260 | public function testPermissionsCanBeCreatedFromArrayableInput(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 273 | public function testPermissionsCanBeCreatedFromTraversableInput(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 335 | public function testPermissionsCanCountActiveItems(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 347 | public function testPermissionsAreStoredAsJsonBooleans(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 366 | public function testPermissionsAreLoadedFromLegacyJsonNumbers(): void | CODE |
| LOW | tests/Unit/PermissionTest.php | 381 | public function testPermissionsIgnoreInvalidPermissionKeys(): void | CODE |
| 192 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/js/controllers/select_controller.js | 93 | if (this.select.getAttribute("placeholder") === "false") { | CODE |
| LOW | resources/js/controllers/select_controller.js | 99 | this.select.getAttribute("placeholder") || | CODE |
| LOW | resources/js/controllers/datetime_controller.js | 32 | placeholder: "placeholder", | CODE |
| LOW | resources/js/controllers/search_controller.js | 11 | static targets = ["query", "result", "placeholder"]; | CODE |
| LOW | resources/js/controllers/code_controller.js | 114 | return this.textareaTarget.getAttribute("placeholder") || ""; | CODE |
| LOW | resources/js/controllers/markdown_controller.js | 333 | return this.textareaTarget.getAttribute("placeholder") || ""; | CODE |
| LOW | resources/views/fields/select.blade.php | 2 | data-select-placeholder-value="{{ $attributes['placeholder'] ?? '' }}" | CODE |
| LOW | resources/views/partials/search/placeholder.blade.php | 1 | <div data-search-target="placeholder" | CODE |
| LOW | tests/Unit/PermissionTest.php | 56 | 'email' => 'test@test.com', | CODE |
| LOW | tests/Unit/PermissionTest.php | 59 | 'email' => 'test@test.com', | CODE |
| LOW⚡ | tests/Unit/Screen/Fields/InputTest.php | 116 | ->title('Lorem ipsum dolor sit amet') | CODE |
| LOW⚡ | tests/Unit/Screen/Fields/InputTest.php | 116 | ->title('Lorem ipsum dolor sit amet') | CODE |
| LOW⚡ | tests/Unit/Screen/Fields/InputTest.php | 119 | $this->assertStringContainsString('Lorem ipsum dolor sit amet', self::renderField($input)); | CODE |
| LOW⚡ | tests/Unit/Screen/Fields/InputTest.php | 119 | $this->assertStringContainsString('Lorem ipsum dolor sit amet', self::renderField($input)); | CODE |
| LOW | tests/Unit/Screen/Fields/InputTest.php | 165 | ->set('title', 'John Doe') | CODE |
| LOW | tests/App/Views/dummy/text.blade.php | 1 | <strong>Lorem Ipsum</strong> is simply dummy text of the printing and | CODE |
| LOW⚡ | tests/Feature/Platform/NotificationTest.php | 21 | ->message('Lorem ipsum dolor sit amet, consectetur adipiscing elit.') | CODE |
| LOW⚡ | tests/Feature/Platform/NotificationTest.php | 21 | ->message('Lorem ipsum dolor sit amet, consectetur adipiscing elit.') | CODE |
| LOW⚡ | tests/Feature/Platform/NotificationTest.php | 32 | ->assertSee('Lorem ipsum dolor sit amet, consectetur adipiscing elit.'); | CODE |
| LOW⚡ | tests/Feature/Platform/NotificationTest.php | 32 | ->assertSee('Lorem ipsum dolor sit amet, consectetur adipiscing elit.'); | CODE |
| LOW | src/Screen/Field.php | 103 | 'placeholder', | CODE |
| LOW | src/Screen/Actions/Toggle.php | 49 | $this->set('placeholder', $this->get('title')); | CODE |
| LOW | src/Screen/Fields/Cropper.php | 86 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Code.php | 78 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Markdown.php | 93 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Radio.php | 66 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/DateTimer.php | 62 | 'placeholder' => 'Select Date...', | CODE |
| LOW | src/Screen/Fields/DateTimer.php | 85 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Quill.php | 71 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Switcher.php | 71 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Password.php | 79 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Attach.php | 52 | 'placeholder' => 'Upload file', | CODE |
| LOW | src/Screen/Fields/Input.php | 91 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/TextArea.php | 60 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Select.php | 91 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/CheckBox.php | 71 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/UTM.php | 63 | 'placeholder', | CODE |
| LOW | src/Screen/Fields/Picture.php | 61 | 'placeholder', | CODE |