Repository Analysis

composer/composer

Dependency Manager for PHP

6.8 Low AI signal View on GitHub
6.8
Adjusted Score
6.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
29,434
Stars
PHP
Language
149,846
Lines of Code
738
Files
1002
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 1002

Pattern Findings

1002 matches across 2 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers999 hits · 1010 pts
SeverityFileLineSnippet
LOWtests/Composer/Test/ApplicationTest.php59 public function testDevWarningSuppressedForSelfUpdate(): void
LOWtests/Composer/Test/ApplicationTest.php88 public function testProcessIsolationWorksMultipleTimes(): void
LOWtests/Composer/Test/ApplicationTest.php102 public function testNoPluginsDisablesPluginsWhenScriptCommandsExist(): void
LOWtests/Composer/Test/ApplicationTest.php132 public function testScriptCommandTakesPriorityOverAbbreviatedBuiltinCommand(): void
LOWtests/Composer/Test/CacheTest.php85 public function testRemoveFilesWhenCacheIsTooLarge(): void
LOWtests/Composer/Test/InstalledVersionsTest.php197 public function testGetVersionOutOfBounds(): void
LOWtests/Composer/Test/InstalledVersionsTest.php250 public function testGetInstalledPackagesByType(): void
LOWtests/Composer/Test/InstalledVersionsTest.php270 public function testWithClassLoaderLoaded(): void
LOWtests/Composer/Test/ComposerTest.php37 public function testSetGetRepositoryManager(): void
LOWtests/Composer/Test/ComposerTest.php46 public function testSetGetDownloadManager(): void
LOWtests/Composer/Test/ComposerTest.php56 public function testSetGetInstallationManager(): void
LOWtests/Composer/Test/InstallerTest.php252 public function testIntegrationWithPoolOptimizer(string $file, string $message, ?string $condition, array $composerC
LOWtests/Composer/Test/InstallerTest.php268 public function testIntegrationWithRawPool(string $file, string $message, ?string $condition, array $composerConfig,
LOWtests/Composer/Test/InstallerTest.php493 public static function provideSlowIntegrationTests(): array
LOWtests/Composer/Test/FactoryTest.php29 public function testDefaultValuesAreAsExpected(): void
LOWtests/Composer/Test/FactoryTest.php53 public function testGetComposerJsonPathFailsIfDir(): void
LOWtests/Composer/Test/FactoryTest.php61 public function testGetComposerJsonPathFromEnv(): void
LOWtests/Composer/Test/TestCase.php323 protected static function ensureDirectoryExistsAndClear(string $directory): void
LOWtests/Composer/Test/DefaultConfigTest.php22 public function testDefaultValuesAreAsExpected(): void
LOWtests/Composer/Test/ConfigTest.php646 public function testOverridesGlobalBooleanPluginsConfig(): void
LOWtests/Composer/Test/ConfigTest.php656 public function testAllowsAllPluginsFromLocalBoolean(): void
LOWtests/Composer/Test/ConfigTest.php666 public function testSourceFallbackDefaultsToFalse(): void
LOWtests/Composer/Test/ConfigTest.php672 public function testSourceFallbackCanBeDisabled(): void
LOWtests/Composer/Test/ConfigTest.php679 public function testSourceFallbackCanBeSetFromString(): void
LOWtests/Composer/Test/ConfigTest.php28 public function testAddPackagistRepository(array $expected, array $localConfig, ?array $systemConfig = null): void
LOWtests/Composer/Test/ConfigTest.php39 public static function dataAddPackagistRepository(): array
LOWtests/Composer/Test/ConfigTest.php146 public function testPreferredInstallAsString(): void
LOWtests/Composer/Test/ConfigTest.php155 public function testMergePreferredInstall(): void
LOWtests/Composer/Test/ConfigTest.php213 public function testFetchingRelativePaths(): void
LOWtests/Composer/Test/ConfigTest.php227 public function testOverrideGithubProtocols(): void
LOWtests/Composer/Test/ConfigTest.php236 public function testGitDisabledByDefaultInGithubProtocols(): void
LOWtests/Composer/Test/ConfigTest.php259 public function testProhibitedUrlsThrowException(string $url): void
LOWtests/Composer/Test/ConfigTest.php310 public function testProhibitedUrlsWarningVerifyPeer(): void
LOWtests/Composer/Test/ConfigTest.php328 public function testDisableTlsCanBeOverridden(): void
LOWtests/Composer/Test/ConfigTest.php377 public function testGetSourceOfValueEnvVariables(): void
LOWtests/Composer/Test/ConfigTest.php484 public function testPolicyListBoolTrueAndEmptyObjectAreEquivalentInLayering(): void
LOWtests/Composer/Test/ConfigTest.php497 public function testPolicyListFalseOverridesPriorTrueOrEmptyEquallyAcrossLayers(): void
LOWtests/Composer/Test/ConfigTest.php514 public function testPolicyMasterTrueAfterDetailedConfigDoesNotEraseDetail(): void
LOWtests/Composer/Test/ConfigTest.php530 public function testPolicyDeepMergesIgnoreAcrossSources(): void
LOWtests/Composer/Test/ConfigTest.php568 public function testPolicyDeepMergesIgnoreForMalwareAndAbandonedAndCustomList(): void
LOWtests/Composer/Test/ConfigTest.php617 public function testGetDefaultsToAnEmptyArray(): void
LOW…/Composer/Test/Repository/FilesystemRepositoryTest.php48 public function testCorruptedRepositoryFile(): void
LOW…/Composer/Test/Repository/FilesystemRepositoryTest.php67 public function testUnexistentRepositoryFile(): void
LOW…/Composer/Test/Repository/FilesystemRepositoryTest.php127 public function testRepositoryWritesInstalledPhp(): void
LOW…/Composer/Test/Repository/FilesystemRepositoryTest.php201 public function testSafelyLoadInstalledVersions(): void
LOW…sts/Composer/Test/Repository/RepositoryManagerTest.php88 public static function provideRepoCreationTestCases(): array
LOW…sts/Composer/Test/Repository/RepositoryManagerTest.php111 public function testInvalidRepoCreationThrows(string $type, array $options): void
LOW…sts/Composer/Test/Repository/RepositoryManagerTest.php128 public static function provideInvalidRepoCreationTestCases(): array
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php220 public function testSearchWithSpecialChars(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php247 public function testSearchWithAbandonedPackages(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php323 public static function provideCanonicalizeUrlTestCases(): array
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php361 public function testGetProviderNamesWillReturnPartialPackageNames(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php390 public function testGetSecurityAdvisoriesAssertRepositoryHttpOptionsAreUsed(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php439 public function testGetSecurityAdvisoriesAssertRepositoryAdvisoriesIsZeroIndexedArrayWithConsecutiveKeys(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php518 public function testGetFilterWithMatchingLists(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php566 public function testUserFilterDisabledFalseShortCircuitsHasFilterAndGetFilterLists(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php584 public function testUserFilterPerListOptOut(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php627 public function testUserFilterAcceptsTrueAsNoOp(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php671 public function testGetFilterSkipsMetadataFetchesForPackagesNotInSummary(): void
LOW…ts/Composer/Test/Repository/ComposerRepositoryTest.php735 public function testGetFilterSkipsSummaryListsNotInConfiguredLists(): void
939 more matches not shown…
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippet
LOW…ts/Composer/Test/Repository/ArtifactRepositoryTest.php81 foreach ($repo->getPackages() as $package) {
LOW…ts/Composer/Test/Repository/ArtifactRepositoryTest.php101// "subdir/extra2.txt" => "Testing testing testing",
LOW…ts/Composer/Test/Repository/ArtifactRepositoryTest.php121//