Repository Analysis

fruitcake/laravel-debugbar

Debugbar for Laravel (Integrates PHP Debug Bar)

10.7 Low AI signal View on GitHub
10.7
Adjusted Score
10.7
Raw Score
100%
Time Factor
2026-05-07
Last Push
19,226
Stars
PHP
Language
19,138
Lines of Code
151
Files
162
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 9LOW 153

Pattern Findings

162 matches across 7 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers143 hits · 159 pts
SeverityFileLineSnippet
LOWtests/DebugbarTest.php40 public function testItInjectsOnEmptyResponse()
LOWtests/DebugbarTest.php49 public function testItInjectsOnNullyResponse()
LOWtests/DebugbarTest.php76 public function testItDoesntInjectOnJsonLookingString()
LOWtests/DebugbarTest.php85 public function testItDoesntInjectsOnHxRequestWithHxTarget()
LOWtests/DebugbarTest.php97 public function testItInjectsOnHxRequestWithoutHxTarget()
LOWtests/CanBeEnabledTest.php11 public function testCanBeEnabledInLocalDebugMode()
LOWtests/CanBeEnabledTest.php17 public function testCannotBeEnabledInProduction()
LOWtests/CanBeEnabledTest.php24 public function testCannotBeEnabledInTestingEnvironment()
LOWtests/CanBeEnabledTest.php31 public function testCannotBeEnabledWithDebugModeOff()
LOWtests/CanBeEnabledTest.php38 public function testForceAllowEnableOverridesProductionCheck()
LOWtests/CanBeEnabledTest.php46 public function testForceAllowEnableOverridesTestingCheck()
LOWtests/CanBeEnabledTest.php54 public function testForceAllowEnableOverridesDebugModeOff()
LOWtests/CanBeEnabledTest.php62 public function testForceAllowEnableDefaultsToFalse()
LOWtests/LivewireBrowserTest.php63 public function testLivewireCollectsComponents()
LOWtests/DebugbarBrowserTest.php165 public function testItCapturesAjaxRequests()
LOWtests/DebugbarBrowserTest.php177 public function testDatabaseTabIsClickable()
LOWtests/DebugbarBrowserTest.php189 public function testDatabaseCollectsQueries()
LOWtests/DebugbarBrowserTest.php212 public function testDatabaseCollectsQueriesWithCustomPrototype()
LOWtests/DebugbarBrowserTest.php239 public function testDatabaseCollectsQueriesWithSoftLimit()
LOWtests/DebugbarBrowserTest.php255 public function testDatabaseCollectsQueriesWithHardLimit()
LOWtests/ErrorHandlerTest.php39 public function testErrorHandlerRespectsCustomErrorLevel()
LOWtests/DataCollector/RouteCollectorTest.php43 public function testItCollectsWithControllerHandler($controller, $file, $url)
LOWtests/DataCollector/RouteCollectorTest.php61 public function testItCollectsWithViewComponentHandler($controller, $file, $url)
LOWtests/DataCollector/RouteCollectorTest.php76 public function testItCollectsWithClosureHandler($file)
LOW…ts/DataCollector/QueryCollectorRuntimeDatabaseTest.php19 public function testCollectsQueriesFromRuntimeConnections()
LOW…ts/DataCollector/QueryCollectorRuntimeDatabaseTest.php53 public function testCollectsQueriesFromRuntimeConnectionsWithoutConnectUsing()
LOWtests/DataCollector/LivewireCollectorTest.php29 public function testItCollectsLivewireComponents()
LOWtests/DataCollector/LivewireCollectorTest.php55 public function testItCollectsAnonymousLivewireComponents()
LOWtests/DataCollector/ModelsCollectorTest.php17 public function testItCollectsRetrievedModels()
LOWtests/DataCollector/MailCollectorTest.php34 public function testItCollectsMultipleMails(): void
LOWtests/DataCollector/MailCollectorTest.php59 public function testItAddsMailsToTimelineCollector(): void
LOWtests/DataCollector/MailCollectorTest.php84 public function testItDoesNotAddToTimelineWhenDisabled(): void
LOWtests/DataCollector/MailCollectorTest.php125 public function testItHidesMailBodyWhenDisabled(): void
LOWtests/DataCollector/PennantCollectorTest.php48 public function testItCollectsPennantValues()
LOWtests/DataCollector/HttpClientCollectorTest.php19 public function testItCollectsResponseReceivedEvents()
LOWtests/DataCollector/HttpClientCollectorTest.php42 public function testItCollectsConnectionFailedEvents()
LOWtests/DataCollector/HttpClientCollectorTest.php69 public function testItMasksAuthorizationHeader()
LOWtests/DataCollector/HttpClientCollectorTest.php94 public function testItCollectsMultipleEvents()
LOWtests/DataCollector/QueryCollectorTest.php16 public function testItReplacesQuestionMarksBindingsCorrectly()
LOWtests/DataCollector/QueryCollectorTest.php43 public function testDollarBindingsArePresentedCorrectly()
LOWtests/DataCollector/QueryCollectorTest.php64 public function testResultModeForSelectQuery(): void
LOWtests/DataCollector/QueryCollectorTest.php84 public function testResultModeForWithQuery(): void
LOWtests/DataCollector/QueryCollectorTest.php104 public function testResultModeExcludedForNonSelectQuery(): void
LOWtests/DataCollector/QueryCollectorTest.php123 public function testResultModeExcludedWhenDisabled(): void
LOWtests/DataCollector/QueryCollectorTest.php142 public function testExplainModeExcludedForSqlite(): void
LOWtests/DataCollector/QueryCollectorTest.php161 public function testExplainModeExcludedWhenBindingsNull(): void
LOWtests/DataCollector/QueryCollectorTest.php181 public function testExplainModeExcludedForNonSelectQuery(): void
LOWtests/DataCollector/QueryCollectorTest.php200 public function testFindingCorrectPathForView()
LOWtests/DataCollector/ViewCollectorTest.php15 public function testIdeLinksAreAbsolutePaths()
LOWtests/DataCollector/JobsCollectorTest.php29 public function testItCollectsDispatchedJobs()
LOWtests/DataCollector/CacheCollectorTest.php19 public function testItCollectsCacheEvents(): void
LOWtests/DataCollector/CacheCollectorTest.php35 public function testItGeneratesDeleteUrlForCacheHit(string $key): void
LOWtests/DataCollector/CacheCollectorTest.php53 public function testItGeneratesDeleteUrlForKeyWritten(string $key): void
LOWtests/DataCollector/CacheCollectorTest.php70 public function testItCalculatesMemoryUsageForKeyWritten(mixed $value, int $expectedSize): void
LOWtests/DataCollector/CacheCollectorTest.php86 public function testItCalculatesMemoryUsageForCacheHit(mixed $value, int $expectedSize): void
LOWtests/DataCollector/CacheCollectorTest.php101 public function testItHandlesClosureValueGracefully(): void
LOWtests/DataCollector/CacheCollectorTest.php120 public function testItHandlesClosureValueInCacheHitGracefully(): void
LOWtests/DataCollector/CacheCollectorTest.php139 public function testCacheMissHasNoMemoryUsage(): void
LOWtests/DataCollector/CacheCollectorTest.php155 public function testItCollectsRememberMissPattern(): void
LOWtests/DataCollector/CacheCollectorTest.php179 public function testItCollectsRememberHitPattern(): void
83 more matches not shown…
Decorative Section Separators6 hits · 22 pts
SeverityFileLineSnippet
MEDIUMdocs/overrides/shortcodes.py32# -----------------------------------------------------------------------------
MEDIUMdocs/overrides/shortcodes.py34# -----------------------------------------------------------------------------
MEDIUMdocs/overrides/shortcodes.py73# -----------------------------------------------------------------------------
MEDIUMdocs/overrides/shortcodes.py75# -----------------------------------------------------------------------------
MEDIUMdocs/overrides/shortcodes.py97# -----------------------------------------------------------------------------
MEDIUMdocs/overrides/shortcodes.py112# -----------------------------------------------------------------------------
Self-Referential Comments3 hits · 14 pts
SeverityFileLineSnippet
MEDIUMdocs/overrides/shortcodes.py77# Create a flag of a specific type
MEDIUMdocs/overrides/shortcodes.py87# Create a linkable option
MEDIUMdocs/overrides/shortcodes.py92# Create a linkable setting - @todo append them to the bottom of the page
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippet
LOWtests/DataCollector/ModelsCollectorTest.php35 'name' => 'John Doe',
LOWtests/DataCollector/ModelsCollectorTest.php41 'name' => 'Jane Doe',
LOWtests/DataCollector/ModelsCollectorTest.php66 $user->update(['name' => 'Jane Doe']);
LOWtests/DataCollector/GateCollectorTest.php24 'name' => 'John Doe',
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippet
LOWdocs/overrides/shortcodes.py37
LOWdocs/overrides/shortcodes.py78
LOWdocs/overrides/shortcodes.py42
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippet
LOWdocs/overrides/shortcodes.py1# Copyright (c) 2016-2024 Martin Donath <martin.donath@squidfunk.com>
LOW.github/workflows/release-drafter.yml21 permissions:
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWdocs/overrides/shortcodes.py22