Repository Analysis

bagisto/bagisto

Free and open source laravel eCommerce platform

1.4 Likely human-written View on GitHub
1.4
Adjusted Score
1.4
Raw Score
100%
Time Factor
2026-05-28
Last Push
26,928
Stars
PHP
Language
530,014
Lines of Code
2880
Files
319
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 28HIGH 0MEDIUM 16LOW 275

Pattern Findings

319 matches across 5 categories. Click a row to expand file-level details.

Hallucination Indicators28 hits · 415 pts
SeverityFileLineSnippet
CRITICAL…es/views/reporting/customers/total-customers.blade.php103 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…es/views/reporting/customers/total-customers.blade.php108 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…es/views/reporting/customers/total-customers.blade.php116 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…ces/views/reporting/products/sold-quantities.blade.php103 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…ces/views/reporting/products/sold-quantities.blade.php108 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…ces/views/reporting/products/sold-quantities.blade.php116 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…s/views/reporting/products/wishlist-products.blade.php103 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…s/views/reporting/products/wishlist-products.blade.php108 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…s/views/reporting/products/wishlist-products.blade.php116 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…esources/views/reporting/sales/tax-collected.blade.php151 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…esources/views/reporting/sales/tax-collected.blade.php156 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…esources/views/reporting/sales/tax-collected.blade.php164 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…es/views/reporting/sales/average-order-value.blade.php103 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…es/views/reporting/sales/average-order-value.blade.php108 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…es/views/reporting/sales/average-order-value.blade.php116 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…/Resources/views/reporting/sales/total-sales.blade.php103 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…/Resources/views/reporting/sales/total-sales.blade.php108 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…/Resources/views/reporting/sales/total-sales.blade.php116 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…Resources/views/reporting/sales/total-orders.blade.php103 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…Resources/views/reporting/sales/total-orders.blade.php108 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…Resources/views/reporting/sales/total-orders.blade.php116 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…esources/views/reporting/sales/total-refunds.blade.php102 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…esources/views/reporting/sales/total-refunds.blade.php107 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…esources/views/reporting/sales/total-refunds.blade.php115 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…ces/views/reporting/sales/shipping-collected.blade.php151 return this.report.statistics.over_time.current.map(({ label }) => label);
CRITICAL…ces/views/reporting/sales/shipping-collected.blade.php156 data: this.report.statistics.over_time.current.map(({ total }) => total),
CRITICAL…ces/views/reporting/sales/shipping-collected.blade.php164 data: this.report.statistics.over_time.previous.map(({ total }) => total),
CRITICAL…ces/views/components/datagrid/toolbar/filter.blade.php988 applied.filters.columns = this.savedFilters.params.filters.columns.filter((column) => this.hasAnyVal
Hyper-Verbose Identifiers227 hits · 227 pts
SeverityFileLineSnippet
LOWpackages/Webkul/DataGrid/src/DataGrid.php400 public function getExportFileNameWithExtension(): string
LOWpackages/Webkul/DataGrid/src/DataGrid.php527 protected function processRequestedPagination(array $requestedPagination): void
LOWpackages/Webkul/BookingProduct/src/Helpers/Booking.php267 public function isBookingCancellationAllowed(int $productId): bool
LOW…ages/Webkul/BookingProduct/src/Helpers/EventTicket.php123 public function getAvailableTicketQuantity($cartItem): int
LOW…ages/Webkul/BookingProduct/src/Helpers/DefaultSlot.php64 public function getOneBookingForManyDaysSlots($bookingProductSlot, object $requestedDate)
LOW…ages/Webkul/BookingProduct/src/Helpers/DefaultSlot.php106 public function getManyBookingsForOneDaySlots($bookingProductSlot, object $requestedDate)
LOWpackages/Webkul/Core/tests/Concerns/CoreAssertions.php181 public function prepareOrderItemUsingCartItem(CartItem $cartItem)
LOWpackages/Webkul/Core/tests/Concerns/CoreAssertions.php208 public function prepareOrderPaymentUsingCartPayment(CartPayment $cartPayment): array
LOWpackages/Webkul/Core/tests/Concerns/CoreAssertions.php450 public function prepareCartRuleCustomerGroup(CartRule $cartRule): void
LOWpackages/Webkul/Core/tests/Concerns/CoreAssertions.php532 public function prepareCatalogRuleChannel(CatalogRule $catalogRule): void
LOWpackages/Webkul/Core/tests/Concerns/CoreAssertions.php545 public function prepareCatalogRuleCustomerGroup(CatalogRule $catalogRule): void
LOWpackages/Webkul/Core/src/SystemConfig.php64 public function prepareConfigurationItems()
LOWpackages/Webkul/Core/src/SystemConfig.php119 public function getActiveConfigurationItem(): ?Item
LOWpackages/Webkul/Core/src/Menu.php174 private function removeUnauthorizedMenuItem(): array
LOWpackages/Webkul/Core/src/Menu.php186 private function removeChildrenUnauthorizedMenuItem(MenuItem &$menuItem): void
LOWpackages/Webkul/Core/src/Core.php215 public function getDefaultLocaleCodeFromDefaultChannel(): string
LOWpackages/Webkul/Core/src/Core.php332 public function getRequestedLocaleCodeInRequestedChannel()
LOWpackages/Webkul/Core/src/Core.php400 public function getChannelBaseCurrencyCode()
LOWpackages/Webkul/Core/src/Core.php810 public function convertEmptyStringsToNull($array)
LOWpackages/Webkul/Core/src/Traits/PDFHandler.php103 private function adjustArabicAndPersianContent(string $html): string
LOW…ages/Webkul/Core/src/Providers/CoreServiceProvider.php83 protected function registerExchangeRateSchedule(Schedule $schedule): void
LOWpackages/Webkul/Core/src/Exceptions/Handler.php35 protected function handleAuthenticationException(): void
LOWpackages/Webkul/Core/src/Exceptions/Handler.php84 protected function handleValidationException(): void
LOWpackages/Webkul/Core/src/Concerns/CurrencyFormatter.php25 public function useDefaultCurrencyFormatter(?float $price, Currency $currency): string
LOWpackages/Webkul/Core/src/Concerns/CurrencyFormatter.php49 public function useCustomCurrencyFormatter(?float $price, Currency $currency): string
LOW…bkul/Core/src/Console/Commands/TranslationsChecker.php798 protected function describeStructureDifference(string $enStruct, string $locStruct, string $enLine, string $locLine)
LOW…kul/Attribute/src/Repositories/AttributeRepository.php169 public function getProductDefaultAttributes($codes = null)
LOW…tribute/src/Repositories/AttributeFamilyRepository.php154 public function getComparableAttributesBelongsToFamily()
LOW…ckages/Webkul/Attribute/src/Models/AttributeOption.php62 public function getSwatchValueUrlAttribute()
LOW…ckages/Webkul/Attribute/src/Models/AttributeFamily.php39 public function getComparableAttributesBelongsToFamily()
LOW…ckages/Webkul/Attribute/src/Models/AttributeFamily.php51 public function getCustomAttributesAttribute()
LOW…ckages/Webkul/Attribute/src/Models/AttributeFamily.php67 public function getConfigurableAttributesAttribute()
LOWpackages/Webkul/Attribute/src/Models/Attribute.php70 public function scopeFilterableAttributes(Builder $query): Builder
LOW…ebkul/Category/src/Repositories/CategoryRepository.php191 public function getCategoryTreeWithoutDescendant(?int $id = null)
LOW…ebkul/Category/src/Repositories/CategoryRepository.php319 private function setSameAttributeValueToAllLocale(array $data, ...$attributeNames)
LOWpackages/Webkul/Sales/src/Traits/InvoiceReminder.php36 private function getIntervalBetweenReminders()
LOWpackages/Webkul/Sales/src/Traits/InvoiceReminder.php79 public function scopeInOverdueAndRemindersLimit($query)
LOW…ges/Webkul/Sales/src/Repositories/RefundRepository.php228 public function getOrderItemsRefundSummary($data, $orderId)
LOW…/Webkul/Sales/src/Repositories/OrderItemRepository.php133 public function returnQtyToProductInventory(OrderItem $orderItem): void
LOW…/Webkul/Sales/src/Repositories/OrderItemRepository.php171 public function updateProductOrderedInventories(OrderItem $orderItem): void
LOW…/Webkul/Sales/src/Repositories/OrderItemRepository.php197 public function manageCustomizableOptions(OrderItem $orderItem): void
LOW…es/Webkul/Sales/src/Repositories/InvoiceRepository.php332 public function getTotalPendingInvoicesAmount(): float
LOW…c/Repositories/DownloadableLinkPurchasedRepository.php68 private function isValidDownloadableProduct($orderItem): bool
LOW…ages/Webkul/Sales/src/Repositories/OrderRepository.php45 public function createOrderIfNotThenRetry(array $data, int $attempt = 1, ?int $maxAttempts = null)
LOW…Webkul/Sales/src/Repositories/RefundItemRepository.php25 public function returnQtyToProductInventory($orderItem, $quantity)
LOWpackages/Webkul/Sales/src/Models/Order.php104 public function getCustomerFullNameAttribute(): string
LOWpackages/Webkul/Sales/src/Models/Order.php250 public function getBillingAddressAttribute()
LOWpackages/Webkul/Sales/src/Models/Order.php268 public function getShippingAddressAttribute()
LOWpackages/Webkul/Sales/src/Models/Invoice.php93 public function getStatusLabelClassAttribute()
LOWpackages/Webkul/Payment/src/Payment.php15 public function getSupportedPaymentMethods()
LOW…/promotion/cart-rules/fixed-ammount-whole-cart.spec.ts11async function expectCouponAppliedWithGrandTotal(
LOW…/promotion/cart-rules/fixed-ammount-whole-cart.spec.ts44async function createRuleAndVerifyCoupon({
LOW…w/tests/promotion/cart-rules/apply-on-shipping.spec.ts11async function expectCouponAppliedWithGrandTotal(
LOW…w/tests/promotion/cart-rules/apply-on-shipping.spec.ts44async function createRuleAndVerifyCoupon({
LOW…ion/cart-rules/cart-attributes/payment-meathod.spec.ts11async function expectCouponAppliedWithGrandTotal(
LOW…ion/cart-rules/cart-attributes/payment-meathod.spec.ts48async function createRuleAndVerifyCoupon({
LOW…on/cart-rules/cart-attributes/shipping-country.spec.ts11async function expectCouponAppliedWithGrandTotal(
LOW…on/cart-rules/cart-attributes/shipping-country.spec.ts48async function createRuleAndVerifyCoupon({
LOW…/promotion/cart-rules/cart-attributes/subtotal.spec.ts13async function expectCouponAppliedWithGrandTotal(
LOW…/promotion/cart-rules/cart-attributes/subtotal.spec.ts50async function createRuleAndVerifyCoupon({
167 more matches not shown…
Decorative Section Separators16 hits · 60 pts
SeverityFileLineSnippet
MEDIUMdocker/production/build-install.sh2# ==========================================================================
MEDIUMdocker/production/build-install.sh7# ==========================================================================
MEDIUMdocker/production/entrypoint.sh6# ==========================================================================
MEDIUMdocker/production/entrypoint.sh8# ==========================================================================
MEDIUMdocker/production/entrypoint.sh13# ==========================================================================
MEDIUMdocker/production/entrypoint.sh15# ==========================================================================
MEDIUMdocker/production/entrypoint.sh34# ==========================================================================
MEDIUMdocker/production/entrypoint.sh36# ==========================================================================
MEDIUMdocker/production/entrypoint.sh52# ==========================================================================
MEDIUMdocker/production/entrypoint.sh54# ==========================================================================
MEDIUMdocker/production/entrypoint.sh61# ==========================================================================
MEDIUMdocker/production/entrypoint.sh63# ==========================================================================
MEDIUMdocker/production/entrypoint.sh81# ==========================================================================
MEDIUMdocker/production/entrypoint.sh83# ==========================================================================
MEDIUM.github/workflows/docker_publish.yml3# ============================================================================
MEDIUM.github/workflows/docker_publish.yml13# ============================================================================
Fake / Example Data41 hits · 41 pts
SeverityFileLineSnippet
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts142 streetAddress: "123 Main St",
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts166 streetAddress: "123 Main St",
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts203 streetAddress: "123 Main St",
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts229 streetAddress: "123 Main St",
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts273 streetAddress: "123 Main St",
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts330 streetAddress: "123 Main St",
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts387 streetAddress: "123 Main St",
LOW…ckages/Webkul/Shop/tests/e2e-pw/tests/customer.spec.ts424 email: "admin@example.com",
LOWpackages/Webkul/Shop/tests/e2e-pw/tests/home.spec.ts57 email: "admin@example.com",
LOWpackages/Webkul/Shop/tests/e2e-pw/utils/admin.ts9 email: "admin@example.com",
LOWpackages/Webkul/Admin/tests/e2e-pw/tests/auth.spec.ts6 await loginPage.login("admin@example.com", "admin123");
LOWpackages/Webkul/Admin/tests/e2e-pw/tests/auth.spec.ts11 await loginPage.login("admin@example.com", "admin123");
LOWpackages/Webkul/Admin/tests/e2e-pw/utils/admin.ts6 email: "admin@example.com",
LOW…/Admin/tests/e2e-pw/pages/admin/sales/RmaManagePage.ts24 .fill("admin@example.com");
LOW…bkul/Installer/tests/Feature/InstallerSecurityTest.php43 'email' => 'admin@example.com',
LOW…bkul/Installer/tests/Feature/InstallerSecurityTest.php99 'email' => 'admin@example.com',
LOW…taller/src/Database/Seeders/User/AdminsTableSeeder.php30 'email' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/pl/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/he/app.php812 'email-address' => 'admin@example.com',
LOW…ages/Webkul/Installer/src/Resources/lang/pt_BR/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/ja/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/it/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/ca/app.php812 'email-address' => 'admin@example.com',
LOW…ckages/Webkul/Installer/src/Resources/lang/sin/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/ru/app.php812 'email-address' => 'admin@example.com',
LOW…ages/Webkul/Installer/src/Resources/lang/hi_IN/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/ro/app.php812 'email-address' => 'admin@example.com',
LOW…ages/Webkul/Installer/src/Resources/lang/zh_CN/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/uk/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/ar/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/nl/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/bn/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/de/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/id/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/fr/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/es/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/en/app.php812 'email-address' => 'admin@example.com',
LOWpackages/Webkul/Installer/src/Resources/lang/fa/app.php812 'email-address' => 'admin@example.com',
LOW…nstaller/src/Resources/views/installer/index.blade.php1115 value="admin@example.com"
LOW…kages/Webkul/Installer/src/Helpers/DatabaseManager.php28 const string DEFAULT_ADMIN_EMAIL = 'admin@example.com';
LOW…es/Webkul/Installer/src/Console/Commands/Installer.php397 default : 'admin@example.com',
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippet
LOWdocker/production/entrypoint.sh81# ==========================================================================
LOWresources/js/bootstrap.js21// window.Pusher = Pusher;
LOWpackages/Webkul/Admin/tests/e2e-pw/tests/sales.spec.ts161 // await salesCreatePage.generateSimpleOrder();
LOW…in/tests/e2e-pw/tests/marketing/communications.spec.ts301 // );
LOW…in/tests/e2e-pw/tests/marketing/communications.spec.ts321 // await adminPage.click('button[class="primary-button"]:visible');
LOW…in/tests/e2e-pw/tests/marketing/communications.spec.ts341 // await iconDelete[0].click();
LOW.github/workflows/docker_publish.yml1name: Build & Publish Docker Image