Krayin CRM is Free & Open Source CRM Built with Laravel for Customer, Lead, and Sales Management.
This report summarizes scanner evidence for krayin/laravel-crm, a PHP project with 24,082 GitHub stars. SynthScan examined 160,832 lines of code across 1155 source files, recording 122 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.2 (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? 63 finding(s).
Are imports declared and package/API names verified? 59 finding(s).
Are wrappers, guards, and repeated structures necessary? 62 finding(s).
Which changes need focused human review? 122 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 122 distinct pattern matches across 4 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 |
|---|---|---|---|---|
| CRITICAL⚡ | …/Resources/views/dashboard/index/total-leads.blade.php | 81 | return this.report.statistics.all.over_time.map(({ label }) => label); | CODE |
| CRITICAL⚡ | …/Resources/views/dashboard/index/total-leads.blade.php | 86 | data: this.report.statistics.all.over_time.map(({ count }) => count), | CODE |
| CRITICAL⚡ | …/Resources/views/dashboard/index/total-leads.blade.php | 90 | data: this.report.statistics.won.over_time.map(({ count }) => count), | CODE |
| CRITICAL⚡ | …/Resources/views/dashboard/index/total-leads.blade.php | 94 | data: this.report.statistics.lost.over_time.map(({ count }) => count), | CODE |
| CRITICAL | …ces/views/components/datagrid/toolbar/filter.blade.php | 1042 | applied.filters.columns = this.savedFilters.params.filters.columns.filter((column) => this.hasAnyVal | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/Pest.php | 103 | function actingAsSanctumAuthenticatedAdmin() | CODE |
| LOW | …ts/Feature/Security/InboundEmailAuthenticationTest.php | 23 | public function processMessagesFromAllFolders() {} | CODE |
| LOW | tests/Feature/Security/InstallerLockdownTest.php | 49 | public function markInstallationCompleted(): void | CODE |
| LOW | tests/Feature/Leads/LeadPartialUpdateTest.php | 9 | function makeLeadWithExpectedCloseDate(): Lead | CODE |
| LOW | tests/Feature/Notifications/NotificationScopeTest.php | 17 | function makeNotificationScopeUser(string $scope, string $permissionType, array $permissions = [], int $status = 1): Use | CODE |
| LOW | tests/Feature/Notifications/NotificationDriverTest.php | 12 | function configureNotificationReverb(bool $complete = true, string $broadcast = 'reverb'): void | CODE |
| LOW | packages/Webkul/DataGrid/src/DataGrid.php | 393 | protected function processRequestedPagination($requestedPagination): LengthAwarePaginator | CODE |
| LOW | …s/Webkul/Contact/src/Repositories/PersonRepository.php | 144 | public function fetchOrCreateOrganizationByName(string $organizationName) | CODE |
| LOW | …s/Webkul/Contact/src/Repositories/PersonRepository.php | 159 | private function sanitizeRequestedPersonData(array $data): array | CODE |
| LOW | packages/Webkul/Core/src/SystemConfig.php | 63 | public function prepareConfigurationItems() | CODE |
| LOW | packages/Webkul/Core/src/SystemConfig.php | 116 | public function getActiveConfigurationItem(): ?Item | CODE |
| LOW | packages/Webkul/Core/src/Traits/PDFHandler.php | 54 | protected function adjustArabicAndPersianContent(string $html) | CODE |
| LOW | …kul/Attribute/src/Repositories/AttributeRepository.php | 213 | public function getRestrictedWebFormAttributeIds() | CODE |
| LOW | packages/Webkul/Admin/tests/e2e-pw/utils/form.ts | 93 | function generateRandomStringWithSpaces(length) { | CODE |
| LOW | packages/Webkul/Admin/tests/e2e-pw/utils/form.ts | 108 | function generateRandomProductName() { | CODE |
| LOW | packages/Webkul/Admin/tests/e2e-pw/utils/form.ts | 122 | function generateRandomHtmlContent() { | CODE |
| LOW | packages/Webkul/Admin/tests/e2e-pw/utils/form.ts | 150 | async function fillParagraphWithRandomHtml(multi) { | CODE |
| LOW | packages/Webkul/Admin/tests/e2e-pw/utils/form.ts | 167 | function generateRandomDateTimeRange() { | CODE |
| LOW | packages/Webkul/Admin/tests/e2e-pw/utils/faker.ts | 239 | export function generateRandomNumericString(length: number = 10, min?: number | null, max?: number | null): string { | CODE |
| LOW⚡ | …ges/Webkul/Admin/src/Traits/ProvideDropdownOptions.php | 31 | public function isBooleanDropdownChoiceExists($choice): bool | CODE |
| LOW⚡ | …ges/Webkul/Admin/src/Traits/ProvideDropdownOptions.php | 41 | public function getBooleanDropdownOptions($choice = 'active_inactive'): array | CODE |
| LOW⚡ | …ges/Webkul/Admin/src/Traits/ProvideDropdownOptions.php | 51 | public function getActiveInactiveDropdownOptions(): array | CODE |
| LOW | …ges/Webkul/Admin/src/Traits/ProvideDropdownOptions.php | 157 | public function getOrganizationDropdownOptions(): array | CODE |
| LOW | …ges/Webkul/Admin/src/Traits/ProvideDropdownOptions.php | 204 | public function getActivityTypeDropdownOptions(): array | CODE |
| LOW | …ges/Webkul/Admin/src/Traits/ProvideDropdownOptions.php | 234 | public function getAttributeTypeDropdownOptions(): array | CODE |
| LOW | …ges/Webkul/Admin/src/Traits/ProvideDropdownOptions.php | 261 | public function getWarehouseDropdownOptions(): array | CODE |
| LOW | …kages/Webkul/Admin/src/Http/Controllers/Controller.php | 31 | protected function preventUnauthorizedAccess($ownerIds) | CODE |
| LOW | …Admin/src/Http/Controllers/Settings/UserController.php | 424 | protected function preventUnauthorizedRoleAssignment(?int $roleId): void | CODE |
| LOW | …Admin/src/Http/Controllers/Settings/UserController.php | 460 | protected function preventUnauthorizedScopeAssignment(?string $scope, ?string $currentScope = null): void | CODE |
| LOW | …Admin/src/Http/Controllers/Settings/UserController.php | 512 | protected function preventManagingHigherPrivilegedUser($targetUser): void | CODE |
| LOW | …l/Admin/src/Http/Controllers/Quote/QuoteController.php | 287 | private function syncShippingAddressWithBilling(AttributeForm $request): void | CODE |
| LOW | …ul/Admin/src/Http/Controllers/Mail/EmailController.php | 81 | protected function preventUnauthorizedMailAccess($email): void | CODE |
| LOW | …ul/Admin/src/Http/Controllers/Lead/QuoteController.php | 178 | private function adjustArabicAndPersianContent(string $html): string | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Product.php | 27 | public function getTopSellingProductsByRevenue($limit = null): Collection | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Product.php | 68 | public function getTopSellingProductsByQuantity($limit = null): Collection | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 100 | public function getTotalLostLeadsOverTime($period = 'auto'): array | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 165 | public function getAverageLeadsPerDayProgress(): array | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 194 | public function getTotalLeadValueProgress(): array | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 222 | public function getAverageLeadValueProgress(): array | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 250 | public function getTotalWonLeadValueProgress(): array | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 279 | public function getTotalLostLeadValueProgress(): array | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 308 | public function getTotalWonLeadValueBySources() | CODE |
| LOW | packages/Webkul/Admin/src/Helpers/Reporting/Lead.php | 326 | public function getTotalWonLeadValueByTypes() | CODE |
| LOW | …es/Webkul/Admin/src/Helpers/Reporting/Organization.php | 25 | public function getTotalOrganizationsProgress(): array | CODE |
| LOW | …es/Webkul/Admin/src/Helpers/Reporting/Organization.php | 53 | public function getTopOrganizationsByRevenue($limit = null): Collection | CODE |
| LOW | …ckages/Webkul/User/src/Repositories/UserRepository.php | 35 | public function getCurrentUserGroupsUserIds() | CODE |
| LOW | …/Webkul/Product/src/Repositories/ProductRepository.php | 160 | public function getInventoriesGroupedByWarehouse($id) | CODE |
| LOW | packages/Webkul/DataTransfer/src/Helpers/Error.php | 170 | public function getAllErrorsGroupedByCode(): array | CODE |
| LOW | packages/Webkul/Automation/src/Helpers/Entity.php | 89 | public function getEmailTemplatePlaceholders() | CODE |
| LOW | …ebkul/Automation/src/Helpers/Entity/AbstractEntity.php | 81 | public function getEmailTemplatePlaceholders(array $entity): array | CODE |
| LOW | …ages/Webkul/Automation/src/Helpers/Entity/Activity.php | 115 | public function getEmailTemplatePlaceholders(array $entity): array | CODE |
| LOW | …kages/Webkul/Installer/src/Helpers/DatabaseManager.php | 45 | public function markInstallationCompleted(): void | CODE |
| LOW | …kages/Webkul/Installer/src/Helpers/DatabaseManager.php | 80 | public function markInstallationInProgress(): void | CODE |
| LOW | …kages/Webkul/Installer/src/Helpers/DatabaseManager.php | 88 | public function clearInstallationInProgress(): void | CODE |
| LOW | …rc/InboundEmailProcessor/WebklexImapEmailProcessor.php | 52 | public function processMessagesFromAllFolders() | CODE |
| LOW | …rc/InboundEmailProcessor/WebklexImapEmailProcessor.php | 175 | protected function processMessagesFromLeafFolders($rootFoldersCollection = null): void | CODE |
| LOW | …l/src/InboundEmailProcessor/SendgridEmailProcessor.php | 28 | public function processMessagesFromAllFolders() | CODE |
| LOW | …oundEmailProcessor/Contracts/InboundEmailProcessor.php | 12 | public function processMessagesFromAllFolders(); | CODE |
| LOW | packages/Webkul/Email/src/Helpers/Parser.php | 577 | public function extractMultipartMIMEAttachments() | CODE |
| LOW | …/Webkul/WebForm/src/Repositories/WebFormRepository.php | 97 | protected function filterRestrictedAttributes(array $attributes) | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/Pest.php | 90 | 'email' => 'admin@example.com', | CODE |
| LOW⚡ | tests/Feature/Contact/PersonContactNumberTest.php | 35 | ['value' => '555-1234', 'label' => 'home'], | CODE |
| LOW⚡ | tests/Feature/Contact/PersonContactNumberTest.php | 40 | expect($data['contact_numbers'][0]['value'])->toBe('555-1234'); | CODE |
| LOW⚡ | tests/Feature/Contact/PersonContactNumberTest.php | 47 | ['value' => '555-0001', 'label' => 'work'], | CODE |
| LOW⚡ | tests/Feature/Contact/PersonContactNumberTest.php | 48 | ['value' => '555-0002', 'label' => 'home'], | CODE |
| LOW | …dmin/tests/e2e-pw/tests/security/auth-security.spec.ts | 66 | const response = await submitLogin(page, "admin@example.com", "admin123"); | CODE |
| LOW | …ests/e2e-pw/tests/security/web-form-submission.spec.ts | 331 | "persons[emails][0][value]": "admin@example.com", | CODE |
| LOW | packages/Webkul/Admin/tests/e2e-pw/utils/acl.ts | 19 | export const ADMIN_EMAIL = "admin@example.com"; | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/vi/app.php | 144 | 'placeholder' => 'Nhập để tìm kiếm người tham gia', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/vi/app.php | 328 | 'placeholder' => 'Nhập để tìm thẻ', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php | 144 | 'placeholder' => 'Digite para pesquisar participantes', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php | 328 | 'placeholder' => 'Digite para procurar tags', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/ja/app.php | 144 | 'placeholder' => '入力して参加者を検索', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/ja/app.php | 328 | 'placeholder' => '入力してタグを検索', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/zh_CN/app.php | 144 | 'placeholder' => '输入以搜索参与者', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/zh_CN/app.php | 328 | 'placeholder' => '输入以搜索标签', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/ar/app.php | 144 | 'placeholder' => 'اكتب للبحث عن المشاركين', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/ar/app.php | 328 | 'placeholder' => 'اكتب للبحث عن الوسوم', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/ko/app.php | 144 | 'placeholder' => '참가자를 검색하려면 입력하세요', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/ko/app.php | 328 | 'placeholder' => '태그를 검색하려면 입력하세요', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/es/app.php | 144 | 'placeholder' => 'Escribe para buscar participantes', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/es/app.php | 328 | 'placeholder' => 'Escribe para buscar etiquetas', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/en/app.php | 144 | 'placeholder' => 'Type to search participants', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/en/app.php | 328 | 'placeholder' => 'Type to search tags', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/fa/app.php | 144 | 'placeholder' => 'برای جستجوی شرکتکنندگان تایپ کنید', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/fa/app.php | 328 | 'placeholder' => 'برای جستجوی برچسبها تایپ کنید', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/tr/app.php | 144 | 'placeholder' => 'Type to search participants', | CODE |
| LOW | packages/Webkul/Admin/src/Resources/lang/tr/app.php | 328 | 'placeholder' => 'Etiketleri aramak için yazın', | CODE |
| LOW | …esources/views/settings/email-templates/edit.blade.php | 92 | name="placeholder" | CODE |
| LOW | …esources/views/settings/email-templates/edit.blade.php | 93 | id="placeholder" | CODE |
| LOW | …ources/views/settings/email-templates/create.blade.php | 90 | name="placeholder" | CODE |
| LOW | …ources/views/settings/email-templates/create.blade.php | 91 | id="placeholder" | CODE |
| LOW | …/src/Resources/views/settings/web-forms/edit.blade.php | 131 | ::placeholder="placeholder" | CODE |
| LOW | …rc/Resources/views/settings/web-forms/create.blade.php | 100 | ::placeholder="placeholder" | CODE |
| LOW | …/components/form/control-group/controls/tags.blade.php | 52 | :placeholder="placeholder" | CODE |
| LOW | …ents/form/control-group/controls/inline/date.blade.php | 76 | ::placeholder="placeholder" | CODE |
| LOW | …ents/form/control-group/controls/inline/text.blade.php | 80 | ::placeholder="placeholder" | CODE |
| LOW | …s/form/control-group/controls/inline/boolean.blade.php | 64 | ::placeholder="placeholder" | CODE |
| LOW | …/form/control-group/controls/inline/datetime.blade.php | 76 | ::placeholder="placeholder" | CODE |
| LOW | …ts/form/control-group/controls/inline/lookup.blade.php | 82 | ::placeholder="placeholder" | CODE |
| LOW | …ts/form/control-group/controls/inline/select.blade.php | 78 | ::placeholder="placeholder" | CODE |
| LOW | …kul/Installer/src/Database/Seeders/User/UserSeeder.php | 24 | 'email' => 'admin@example.com', | CODE |
| LOW | …ages/Webkul/Installer/src/Resources/lang/pt_BR/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | packages/Webkul/Installer/src/Resources/lang/ja/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | …ages/Webkul/Installer/src/Resources/lang/zh_CN/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | packages/Webkul/Installer/src/Resources/lang/ar/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | packages/Webkul/Installer/src/Resources/lang/ko/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | packages/Webkul/Installer/src/Resources/lang/es/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | packages/Webkul/Installer/src/Resources/lang/en/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | packages/Webkul/Installer/src/Resources/lang/fa/app.php | 136 | 'email-address' => 'admin@example.com', | CODE |
| LOW | …nstaller/src/Resources/views/installer/index.blade.php | 929 | value="admin@example.com" | CODE |
| LOW | …es/Webkul/Installer/src/Console/Commands/Installer.php | 341 | default: 'admin@example.com', | CODE |
| LOW | …2021_12_14_214923_create_web_form_attributes_table.php | 19 | $table->string('placeholder')->nullable(); | CODE |
| LOW | packages/Webkul/WebForm/src/Models/WebFormAttribute.php | 25 | 'placeholder', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/js/bootstrap.js | 21 | // window.Pusher = Pusher; | COMMENT |