Repository Analysis

Unleash/unleash

Open-source feature management platform

0.2 Likely human-written View on GitHub
0.2
Adjusted Score
0.2
Raw Score
100%
Time Factor
2026-05-29
Last Push
13,527
Stars
TypeScript
Language
459,846
Lines of Code
5540
Files
84
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 8LOW 75

Pattern Findings

84 matches across 6 categories. Click a row to expand file-level details.

Fake / Example Data44 hits · 44 pts
SeverityFileLineSnippet
LOWfrontend/src/component/InitialRedirect.test.tsx22 user: { id: 1, name: 'Test User', email: 'test@test.com' },
LOW…nent/user/ForgottenPassword/ForgottenPassword.test.tsx17 await userEvent.type(emailField, 'user@example.com');
LOW…end/src/component/changeRequest/ChangeRequest.test.tsx215 email: 'user@example.com',
LOW…t/ChangeRequestOverview/ChangeRequestOverview.test.tsx159 email: 'user@example.com',
LOW…nvironment/EnvironmentAccordionBody/Safeguard.test.tsx113 email: 'user@example.com',
LOW…y/StrategyDraggableItem/StrategyDraggableItem.test.tsx112 email: 'user@example.com',
LOW…vironmentVariantsCard/EnvironmentVariantsCard.test.tsx106 email: 'user@example.com',
LOWcontributing/client-specification.md46 "description": "lorem ipsum",
LOW…test/e2e/users/inactive/inactive-users-service.test.ts37 email: 'admin@example.com',
LOW…est/e2e/api/auth/reset-password-controller.e2e.test.ts107 username: 'test@test.com',
LOW…est/e2e/api/auth/reset-password-controller.e2e.test.ts108 email: 'test@test.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts41 email: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts75 email: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts76 username: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts90 createdBy: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts103 email: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts104 username: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts125 email: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts126 username: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts140 createdBy: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts169 email: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts184 createdBy: 'admin@example.com',
LOWsrc/test/e2e/api/admin/public-signup-token.e2e.test.ts211 email: 'admin@example.com',
LOWsrc/test/e2e/api/client/feature.optimal304.e2e.test.ts98 email: 'admin@example.com',
LOWsrc/test/e2e/services/reset-token-service.e2e.test.ts75 username: 'test@test.com',
LOW…tures/feature-toggle/tests/feature-toggles.e2e.test.ts1897 const description = 'Lorem ipsum...';
LOW…tures/feature-toggle/tests/feature-toggles.e2e.test.ts1936 const description = 'Lorem ipsum...';
LOW…tures/feature-toggle/tests/feature-toggles.e2e.test.ts1991 const description = 'Lorem ipsum...';
LOW…tures/feature-toggle/tests/feature-toggles.e2e.test.ts2078 const description = 'Lorem ipsum...';
LOW…uctivity-report/productivity-report-view-model.test.ts8 userEmail: 'user@example.com',
LOWsrc/lib/features/project/project-service.e2e.test.ts715 email: 'user@example.com',
LOWsrc/lib/openapi/spec/project-schema.ts161 example: 'user@example.com',
LOWsrc/lib/openapi/spec/inactive-user-schema.ts25 example: 'user@example.com',
LOWsrc/lib/openapi/spec/create-user-schema.ts21 example: 'user@example.com',
LOWsrc/lib/openapi/spec/personal-dashboard-schema.ts38 example: 'user@example.com',
LOWsrc/lib/openapi/spec/personal-dashboard-schema.ts73 example: 'user@example.com',
LOWsrc/lib/openapi/spec/id-schema.ts13 example: 'user@example.com',
LOWsrc/lib/openapi/spec/user-schema.ts25 example: 'user@example.com',
LOWsrc/lib/openapi/spec/update-user-schema.ts12 example: 'user@example.com',
LOWsrc/lib/openapi/spec/event-search-query-parameters.ts8 example: 'admin@example.com',
LOWsrc/lib/openapi/spec/token-user-schema.ts36 example: 'admin@example.com',
LOWsrc/lib/routes/public-invite.test.ts123 .send({ email: 'test@test.com' })
LOWsrc/lib/services/email-service.test.ts49 'test@test.com',
LOWsrc/lib/services/email-service.test.ts214 'user@example.com',
AI Slop Vocabulary8 hits · 22 pts
SeverityFileLineSnippet
MEDIUMdocker-compose-enterprise.yml5# https://docs.getunleash.io/get-started/unleash-overview
MEDIUMdocker-compose.yml5# https://docs.getunleash.io/get-started/unleash-overview
MEDIUM…etricChart/FeatureEventOverlay/FeatureEventOverlay.tsx24// Absolutely-positioned strip across the top of the plot area that hosts all
MEDIUMfrontend/src/openapi/models/validatePasswordSchema.ts8 * Used to validate passwords obeying [Unleash password guidelines](https://docs.getunleash.io/using-unleash/deploy/conf
MEDIUM.github/workflows/openapi-diff.yaml65 # start unleash in background
MEDIUM.github/workflows/openapi-diff.yaml127 # start unleash in background
MEDIUMsrc/lib/openapi/spec/validate-password-schema.ts9 'Used to validate passwords obeying [Unleash password guidelines](https://docs.getunleash.io/using-unleash/deplo
MEDIUMsrc/lib/routes/auth/reset-password-controller.ts100 'Verifies that the password adheres to the [Unleash password guidelines](https://docs.getunleash
Over-Commented Block15 hits · 15 pts
SeverityFileLineSnippet
LOWdocker-compose-enterprise.yml1# This docker compose setup configures:
LOWcliff.toml1# git-cliff ~ default configuration file
LOWcliff.toml81# limit the number of commits included in the changelog.
LOWdocker-compose.yml1# This docker compose setup configures:
LOWfrontend/cypress/support/e2e.ts1// ***********************************************************
LOWfrontend/cypress/support/index.ts1// ***********************************************************
LOWfrontend/src/vite-env.d.ts1/// <reference types="vite/client" />
LOWfrontend/src/themes/dark-theme.ts201 // This was to see were these colors are used from MUI
LOWfrontend/src/themes/theme.ts261 // 50: '#A6000E',
LOW.github/docker-compose.test.yml1# This docker compose setup configures:
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/codeql-analysis.yml61 # ℹ️ Command-line programs to run using the OS shell.
LOWsrc/test/e2e/api/openapi/openapi.e2e.test.ts161// OpenAPI root-level tags list. For us, there's two immediate things that make
LOWsrc/test/e2e/services/playground-service.test.ts761 );
LOWsrc/lib/util/metrics-helper.ts1import type EventEmitter from 'events';
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippet
LOW…ings/ChangeRequestConfiguration/ChangeRequestTable.tsx119 function onRequiredApprovalsChange(
LOW…CreateProjectForm/ConfigButtons/ChangeRequestTable.tsx84 function onRequiredApprovalsChange(
LOW…geOverwriteWarning/strategy-change-diff-calculation.ts111export function getEnvVariantChangesThatWouldBeOverwritten(
LOW…geOverwriteWarning/strategy-change-diff-calculation.ts128export function getSegmentChangesThatWouldBeOverwritten(
LOW…geOverwriteWarning/strategy-change-diff-calculation.ts140export function getStrategyChangesThatWouldBeOverwritten(
LOWsrc/test/e2e/migrator.e2e.test.ts13async function validateTablesHavePrimaryKeys(db: IDBOption) {
LOWsrc/lib/create-config.ts116function loadMetricsRateLimitingConfig(
LOWsrc/lib/metrics.ts49export function registerPrometheusPostgresMetrics(
LOWsrc/lib/metrics.ts98export function registerPrometheusMetrics(
LOWsrc/lib/util/postgres-version-checker.ts6export async function compareAndLogPostgresVersion(
LOWsrc/lib/util/parseEnvVar.ts59export function parseEnvVarBooleanOrStringVariant(
LOW…c/lib/features/playground/feature-evaluator/helpers.ts68export function getProjectDefaultStrategy(
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippet
LOW…nent/project/Project/ProjectStatus/ProjectActivity.tsx47 // Step 2: Get all counts, sort them, and find the cut-off values for percentiles
LOW…nent/project/Project/ProjectStatus/ProjectActivity.tsx62 // Step 3: Assign a level based on the percentile thresholds
LOW…nent/project/Project/ProjectStatus/ProjectActivity.tsx70 // Step 4: Convert the map back to an array and assign levels
LOWsrc/lib/features/events/event-service.ts159 // if the event comes with both preData and data, we need to check if they are different before storing, otherwi
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippet
HIGH.github/workflows/ai-flag-cleanup-pr.yml287 `This PR cleans up the ${flag} flag. These changes were automatically generated by AI and should be review