AI Slop Code Risk Monitor

tolgee/tolgee-platform

SlopCodeMonitor badge for tolgee/tolgee-platform Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Developer & translator friendly web-based localization platform

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for tolgee/tolgee-platform, a TypeScript project with 4,148 GitHub stars. SynthScan examined 609,247 lines of code across 5074 source files, recording 279 pattern matches distributed across 14 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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.1K
Stars
TypeScript
Language
609.2K
Lines of Code
5.1K
Files
279
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 1.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 122 finding(s).

Hallucinated Dependency & Supply Chain Risk 3.4/100 · LOW

Are imports declared and package/API names verified? 89 finding(s).

Agent Over-Engineering Ratio 2.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 154 finding(s).

PR Review Velocity Impact 6.0/100 · LOW

Which changes need focused human review? 279 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 37HIGH 3MEDIUM 63LOW 176

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 279 distinct pattern matches across 14 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.

Hallucination Indicators37 hits · 365 pts
SeverityFileLineSnippetContext
CRITICAL…ee/repository/branching/BranchMergeChangeRepository.kt17 select new io.tolgee.dtos.queryResults.branching.BranchMergeConflictView(STRING
CRITICAL…ee/repository/branching/BranchMergeChangeRepository.kt40 select new io.tolgee.dtos.queryResults.branching.BranchMergeChangeView(STRING
CRITICAL…ee/repository/branching/BranchMergeChangeRepository.kt95 select new io.tolgee.dtos.queryResults.branching.BranchMergeChangeView(STRING
CRITICAL…olgee/ee/repository/branching/BranchMergeRepository.kt51 select new io.tolgee.dtos.queryResults.branching.BranchMergeView(STRING
CRITICAL…olgee/ee/repository/branching/BranchMergeRepository.kt91 select new io.tolgee.dtos.queryResults.branching.BranchMergeView(CODE
CRITICAL…tegration/notification/SlackIntegrationDataProvider.kt121 |io.tolgee.ee.component.slackIntegration.data.SlackTranslationInfoDto(STRING
CRITICAL…/eeSubscription/usageReporting/UsageToReportService.kt74 |new io.tolgee.ee.data.usageReporting.UsageToReportDto(STRING
CRITICAL…st/kotlin/io/tolgee/ee/unit/LlmProviderFallbackTest.kt220 io.tolgee.configuration.tolgee.machineTranslation.LlmProperties.LlmProvider(CODE
CRITICAL…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt33 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.get(..))")CODE
CRITICAL…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt41 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.getInitialState(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt138 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.getSingleExecution(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt146 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.getStateForExecution(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt154 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.updateSingleExecution(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt162 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.addProgressCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt170 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.incrementCompletedChunksCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt178 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.incrementFailedCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt186 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.incrementCancelledCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt194 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.getCompletedChunksCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt202 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.getProgressCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt210 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.getCancelledCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt218 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.getFailedCount(..))")CODE
CRITICAL⚡…rc/test/kotlin/io/tolgee/batch/BatchJobTimingAspect.kt226 @Around("execution(* io.tolgee.batch.state.BatchJobStateProvider.incrementCommittedCountAndGet(..))")CODE
CRITICAL…TranslationsController/TranslationViewQueryPerfTest.kt197 org.springframework.data.domain.Sort.by(CODE
CRITICAL…TranslationsController/TranslationViewQueryPerfTest.kt227 org.springframework.data.domain.Sort.by(CODE
CRITICAL…2/controllers/dataImport/SingleStepImportController.kt59 @io.swagger.v3.oas.annotations.parameters.RequestBody(CODE
CRITICAL…tlin/io/tolgee/unit/cache/CacheValueFingerprintTest.kt45 "io.tolgee.unit.cache.CacheValueFingerprintTest.Money(amount:java.math.BigDecimal,currency:kotlin.String)",CODE
CRITICAL…tlin/io/tolgee/unit/cache/CacheValueFingerprintTest.kt65 .isEqualTo("io.tolgee.unit.cache.CacheValueFingerprintTest.WithComputed(a:kotlin.Int)")CODE
CRITICAL…tlin/io/tolgee/unit/cache/CacheValueFingerprintTest.kt91 .contains("money:io.tolgee.unit.cache.CacheValueFingerprintTest.Money(amount:")CODE
CRITICAL…in/kotlin/io/tolgee/repository/QuickStartRepository.kt22 select new io.tolgee.dtos.queryResults.organization.QuickStartView(STRING
CRITICAL…/kotlin/io/tolgee/repository/OrganizationRepository.kt27 """select distinct new io.tolgee.dtos.queryResults.organization.OrganizationView(STRING
CRITICAL…/kotlin/io/tolgee/repository/OrganizationRepository.kt131 """select distinct new io.tolgee.dtos.queryResults.organization.OrganizationView(STRING
CRITICAL…/kotlin/io/tolgee/repository/OrganizationRepository.kt215 select new io.tolgee.dtos.queryResults.organization.OrganizationView(STRING
CRITICAL…n/kotlin/io/tolgee/repository/TranslationRepository.kt239 select new io.tolgee.dtos.queryResults.qa.KeyLanguagePairView(k.id, t.language.id)STRING
CRITICAL…n/kotlin/io/tolgee/repository/TranslationRepository.kt256 select new io.tolgee.dtos.queryResults.qa.KeyLanguagePairView(k.id, t.language.id)STRING
CRITICAL…/src/main/kotlin/io/tolgee/repository/KeyRepository.kt381 select new io.tolgee.dtos.queryResults.keyDisabledLanguages.KeyDisabledLanguagesQueryResultView(CODE
CRITICAL…pment/testDataBuilder/data/TmSuggestionsE2eTestData.kt145 private fun io.tolgee.development.testDataBuilder.builders.ProjectBuilder.addEditTarget(CODE
CRITICAL…/tolgee/service/machineTranslation/MetadataProvider.kt27 io.tolgee.component.machineTranslation.metadata.ExampleItem(source.text, target.text, key.name, ns.name)STRING
Decorative Section Separators61 hits · 163 pts
SeverityFileLineSnippetContext
MEDIUMdocker/local-observability-stack/prometheus.yaml1# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/prometheus.yaml3# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/prometheus.yaml14# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/promtail-config.yaml1# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/promtail-config.yaml3# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/promtail-config.yaml14# =============================================================================COMMENT
MEDIUM…r/local-observability-stack/otel-collector-config.yaml1# =============================================================================COMMENT
MEDIUM…r/local-observability-stack/otel-collector-config.yaml3# =============================================================================COMMENT
MEDIUM…r/local-observability-stack/otel-collector-config.yaml18# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/tempo-config.yaml1# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/tempo-config.yaml3# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/tempo-config.yaml14# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/loki-config.yaml1# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/loki-config.yaml3# =============================================================================COMMENT
MEDIUMdocker/local-observability-stack/loki-config.yaml14# =============================================================================COMMENT
MEDIUM…ker/local-observability-stack/grafana/datasources.yaml1# =============================================================================COMMENT
MEDIUM…ker/local-observability-stack/grafana/datasources.yaml3# =============================================================================COMMENT
MEDIUM…ker/local-observability-stack/grafana/datasources.yaml14# =============================================================================COMMENT
MEDIUM…TranslationsController/TranslationViewQueryPerfTest.kt263 // ─── helpers ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ee/batch/BatchJobChunkExecutionQueuePerformanceTest.kt107 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ee/batch/BatchJobChunkExecutionQueuePerformanceTest.kt109 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ee/batch/BatchJobChunkExecutionQueuePerformanceTest.kt132 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ee/batch/BatchJobChunkExecutionQueuePerformanceTest.kt134 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ee/batch/BatchJobChunkExecutionQueuePerformanceTest.kt182 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ee/batch/BatchJobChunkExecutionQueuePerformanceTest.kt184 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt53 // ── size / isEmpty ────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt66 // ── add / duplicate prevention ────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt83 // ── pollRoundRobin ────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt138 // ── size tracking after polls ─────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt153 // ── contains ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt172 // ── removeJobExecutions ───────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt227 // ── onJobItemEvent REMOVE ─────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt242 // ── clear ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt263 // ── getQueuedJobItems / getAllQueueItems ───────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt285 // ── getJobCharacterCounts ─────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt305 // ── find ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt315 // ── type-level fairness ───────────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt368 // ── concurrency stress test ───────────────────────────────────────────────COMMENT
MEDIUM…lin/io/tolgee/batch/BatchJobChunkExecutionQueueTest.kt466 // ── assertions ────────────────────────────────────────────────────────────COMMENT
MEDIUM…rs/translationViewBuilder/QueryTranslationFiltering.kt206 // ─── generic subquery helpers ───────────────────────────────────────────COMMENT
MEDIUM…rs/translationViewBuilder/QueryTranslationFiltering.kt260 // ─── entity-specific subquery helpers ───────────────────────────────────COMMENT
MEDIUM…rs/translationViewBuilder/QueryTranslationFiltering.kt365 // ─── parsed-filter caches ───────────────────────────────────────────────COMMENT
MEDIUMscripts/report-flaky-tests.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/report-flaky-tests.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/report-flaky-tests.py553# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/report-flaky-tests.py555# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/report-flaky-tests.py223# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py225# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py248# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py250# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py307# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py309# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py338# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py340# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py530# ---------------------------------------------------------------------------STRING
MEDIUMscripts/report-flaky-tests.py532# ---------------------------------------------------------------------------STRING
MEDIUMe2e/scripts/baseQuery/perf-test.sh25# ── Arguments ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMe2e/scripts/baseQuery/perf-test.sh43# ── Auto-discover languages ───────────────────────────────────────────────────COMMENT
MEDIUMe2e/scripts/baseQuery/perf-test.sh79# ── Helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMe2e/scripts/baseQuery/perf-test.sh178# ── Scenarios ─────────────────────────────────────────────────────────────────COMMENT
1 more matches not shown…
Hyper-Verbose Identifiers86 hits · 96 pts
SeverityFileLineSnippetContext
LOWwebapp/src/ee/qa/components/QaLanguageRow.tsx97function useLanguageSettingsSummary(CODE
LOWwebapp/src/ee/branching/components/BranchesList.tsx40 function handleCloseMergeIntoModal() {CODE
LOW…p/src/translationTools/useTaskTransitionTranslation.ts6export function useTaskTransitionTranslation() {CODE
LOW…bapp/src/translationTools/useParserErrorTranslation.ts3export function useParserErrorTranslation() {CODE
LOW…c/translationTools/useBatchOperationStatusTranslate.ts6export function useBatchOperationStatusTranslate() {CODE
LOW…pp/src/translationTools/useImportWarningTranslation.ts3export function useImportWarningTranslation() {CODE
LOW…/src/translationTools/useBatchOperationActionPhrase.ts6export function useBatchOperationActionPhrase() {CODE
LOW…c/translationTools/useBatchOperationTypeTranslation.ts6export function useBatchOperationTypeTranslate() {CODE
LOWwebapp/src/component/InvisibleCharacter.tsx21export function useInvisibleCharacterLabel() {CODE
LOWwebapp/src/component/InvisibleCharacter.tsx86export function renderWithInvisibleCharacters(CODE
LOW…ent/PermissionsSettings/LanguagePermissionsSummary.tsx13export function LanguagePermissionSummary({ permissions, allLangs }: Props) {CODE
LOW…/src/component/common/useFeatureMissingExplanation.tsx6export function useFeatureMissingExplanation() {CODE
LOW…pp/src/component/common/avatar/useAutoAvatarImgSrc.tsx63function importCreateAvatarFunction() {CODE
LOWwebapp/src/hooks/useProject.ts9export function useProjectContextOptional() {CODE
LOW…pp/src/views/projects/members/component/MemberItem.tsx92 async function handleResetToOrganization() {CODE
LOW…ews/projects/members/component/useUpdatePermissions.ts14export function languagePermissionsForRole(CODE
LOWwebapp/src/views/projects/export/exportSettings.ts110export function hasCustomAdvancedSettings(CODE
LOWwebapp/src/views/projects/export/exportSettings.ts139export function getEffectiveMessageFormat(values: ExportFormValues) {CODE
LOWwebapp/src/views/projects/export/exportSettings.ts178export function readExportSettingsFromUrl(CODE
LOW…s/translations/searchQuery/buildSearchRequestParams.ts90export function getReferencedLanguageTags(CODE
LOW…ranslations/context/useTranslationsWebsocketBlocker.ts8export function useTranslationsWebsocketBlocker(blocking: boolean) {CODE
LOW…tions/context/services/useTranslationFilterService.tsx12export function useTranslationFiltersService({CODE
LOW…views/projects/translations/context/services/utils.tsx91export function taskEditControlsShouldBeVisible(firstTask: KeyTaskViewModel) {CODE
LOW…views/projects/translations/context/services/utils.tsx100export function taskReviewControlsShouldBeVisible(firstTask: KeyTaskViewModel) {CODE
LOW…anslations/cell/editorMainActions/getEditorActions.tsx24export function getTranslationPermissions({CODE
LOW…/projects/translations/BatchOperations/BatchSelect.tsx85function hideChangeNamespaceOperationIfNamespacesAreDisabled(CODE
LOW…ranslations/BatchOperations/getPreselectedLanguages.ts16export function getPreselectedLanguagesIds(CODE
LOW…erations/components/BatchOperationsLanguagesSelect.tsx11export function BatchOperationsLanguagesSelect({CODE
LOW…/projects/translations/Suggestions/SuggestionsList.tsx241 function handleAcceptAndDeclineOthers(suggestionId: number) {CODE
LOW…anslations/TranslationFilters/SubfilterScreenshots.tsx76export function getScreenshotFiltersLength(value: FiltersInternal) {CODE
LOW…ranslations/TranslationFilters/SubfilterNamespaces.tsx181export function getNamespaceFiltersLength(value: FiltersInternal) {CODE
LOW…anslations/TranslationFilters/SubfilterDescription.tsx76export function getDescriptionFiltersLength(value: FiltersInternal) {CODE
LOW…anslations/TranslationFilters/SubfilterDescription.tsx83export function getDescriptionFiltersName(value: FiltersInternal) {CODE
LOW…nslations/TranslationFilters/SubfilterTranslations.tsx155export function getTranslationFiltersLength(value: FiltersInternal) {CODE
LOW…nslations/TranslationFilters/SubfilterTranslations.tsx164export function getTranslationFiltersName(value: FiltersInternal) {CODE
LOW…translations/TranslationFilters/SubfilterDeletedBy.tsx85export function getDeletedByFiltersLength(value: FiltersInternal) {CODE
LOW…anslations/TranslationFilters/SubfilterSuggestions.tsx48 function handleToggleHasSuggestions(newValue: boolean) {CODE
LOW…anslations/TranslationFilters/SubfilterSuggestions.tsx56 function handleToggleHasNoSuggestions(newValue: boolean) {CODE
LOW…anslations/TranslationFilters/SubfilterSuggestions.tsx161export function getSuggestionsFiltersLength(value: FiltersInternal) {CODE
LOW…anslations/TranslationFilters/SubfilterSuggestions.tsx168export function getSuggestionsFiltersName(value: FiltersInternal) {CODE
LOW…nslations/TranslationFilters/useTranslationFilters.tsx26export function withoutDanglingLanguageScopes(CODE
LOW…nslations/TranslationFilters/useTranslationFilters.tsx65 function clearFiltersForRemovedLanguages(newLanguages: string[] | undefined) {CODE
LOW…ntrollers/resetPassword/ResetPasswordRequestHandler.kt21class ResetPasswordRequestHandler(CODE
LOW…tlin/io/tolgee/service/dataImport/ImportDataManager.kt31class ImportDataManager(CODE
LOWe2e/cypress/common/login.ts186export function checkAnonymousUserIdentified() {CODE
LOWe2e/cypress/common/apiKeysAndPats.ts3export function formatCurrentDatePlusDays(days) {CODE
LOWe2e/cypress/common/notifications.ts24function resetNotificationsDropdown() {CODE
LOWe2e/cypress/common/notifications.ts33function getNotificationsListWrappper() {CODE
LOWe2e/cypress/common/batchOperations.ts23export function executeBatchOperationWithConfirmation() {CODE
LOWe2e/cypress/common/export.ts56export function assertExportLanguagesSelected(languages: string[]) {CODE
LOWe2e/cypress/common/translations.ts45export function selectLangsInLocalstorage(projectId: number, langs: string[]) {CODE
LOWe2e/cypress/common/translations.ts179export function openTranslationEditorWithMt(CODE
LOWe2e/cypress/common/translations.ts264export function createProjectWithThreeLanguages() {CODE
LOWe2e/cypress/common/permissions/main.ts93export function visitProjectWithPermissions(CODE
LOWe2e/cypress/common/permissions/batchOperations.ts33function checkOperationsAccessibility(CODE
LOW⚡e2e/cypress/common/apiCalls/testData/testData.ts243export function getUserByUsernameFromTestData(CODE
LOW⚡e2e/cypress/common/apiCalls/testData/testData.ts250export function getOrganizationByNameFromTestData(CODE
LOW⚡e2e/cypress/common/apiCalls/testData/testData.ts257export function getGlossaryByNameFromOrganizationData(CODE
LOW⚡e2e/cypress/common/apiCalls/testData/testData.ts264export function getGlossaryByNameFromTestData(CODE
LOW⚡e2e/cypress/common/apiCalls/testData/testData.ts273export function getProjectByNameFromTestData(CODE
26 more matches not shown…
Fake / Example Data50 hits · 54 pts
SeverityFileLineSnippetContext
LOW…/ee/service/qa/checks/InconsistentPlaceholdersCheck.kt100 params = mapOf("placeholder" to currentName.name, "expected" to expectedName),CODE
LOW…/ee/service/qa/checks/InconsistentPlaceholdersCheck.kt112 params = mapOf("placeholder" to name),CODE
LOW…/ee/service/qa/checks/InconsistentPlaceholdersCheck.kt126 params = mapOf("placeholder" to arg.name),CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt62 param("placeholder", "name")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt71 param("placeholder", "extra")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt81 param("placeholder", "nom")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt113 param("placeholder", "a")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt119 param("placeholder", "b")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt125 param("placeholder", "x")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt130 param("placeholder", "y")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt177 param("placeholder", "name")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt186 param("placeholder", "name")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt196 param("placeholder", "0")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt203 param("placeholder", "count")CODE
LOW⚡…service/qa/checks/InconsistentPlaceholdersCheckTest.kt210 param("placeholder", "price")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt92 param("placeholder", "pocet")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt102 param("placeholder", "x")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt150 param("placeholder", "autor")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt235 param("placeholder", "count")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt279 param("placeholder", "author")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt284 param("placeholder", "author")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt306 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt311 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt332 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt337 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt375 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt397 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt415 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt436 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt441 param("placeholder", "#")CODE
LOW…service/qa/checks/InconsistentPlaceholdersCheckTest.kt508 param("placeholder", "author")CODE
LOW…/src/test/resources/import/tooLongErrorParamValue.json3 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse ac ultricies tortor. Integer ac luctus lorem, CODE
LOW…/src/test/resources/import/tooLongErrorParamValue.json3 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse ac ultricies tortor. Integer ac luctus lorem, CODE
LOW…d/app/src/test/kotlin/io/tolgee/util/GitHubAuthUtil.kt28 githubEmailResponse.email = "fake_email@email.com"CODE
LOW…s/v2ProjectsController/ProjectsControllerCreateTest.kt258 "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...",CODE
LOW…s/v2ProjectsController/ProjectsControllerCreateTest.kt258 "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...",CODE
LOW…service/recaptchaValidation/RecaptchaValidationTest.kt31 "tolgee.recaptcha.secretKey=dummy_key",CODE
LOW…service/recaptchaValidation/RecaptchaValidationTest.kt62 assertThat(reCaptchaValidationService.validate("dummy_token", "10.10.10.10")).isEqualTo(true)CODE
LOW…service/recaptchaValidation/RecaptchaValidationTest.kt88 assertThat(reCaptchaValidationService.validate("dummy_token", "10.10.10.10")).isEqualTo(false)CODE
LOW…recaptchaValidation/RecaptchaValidationDisabledTest.kt31 assertThat(reCaptchaValidationService.validate("dummy_token", "10.10.10.10")).isEqualTo(true)CODE
LOW…/kotlin/io/tolgee/controllers/MarketingEmailingTest.kt135 verifyCreateContactCalled("fake_email@email.com", "fakeName")CODE
LOW…trollers/internal/e2eData/ProjectsE2eDataController.kt193 UserData("john@doe.com", "John Doe"),CODE
LOW…/src/main/resources/email/disposable-email-domains.txt2077fake-email.pp.uaCODE
LOW…lgee/development/testDataBuilder/data/QaE2eTestData.kt38 params = mapOf("placeholder" to "{count}")CODE
LOW…lgee/development/testDataBuilder/data/QaE2eTestData.kt137 params = mapOf("placeholder" to "{name}")CODE
LOW⚡e2e/cypress/e2e/selfHostedLimits.cy.ts41 fillAndSubmitSignUpForm('user@example.com', true);CODE
LOW⚡e2e/cypress/e2e/selfHostedLimits.cy.ts50 fillAndSubmitSignUpForm('user@example.com', true);CODE
LOW⚡e2e/cypress/e2e/selfHostedLimits.cy.ts59 fillAndSubmitSignUpForm('user@example.com', true);CODE
LOWe2e/cypress/e2e/projects/projectMembers.cy.ts56 .should('contain', 'John Doe');CODE
LOWe2e/cypress/e2e/projects/projectMembers.cy.ts76 .contains('John Doe')CODE
Over-Commented Block19 hits · 19 pts
SeverityFileLineSnippetContext
LOWdocker/app/cmd.sh1#!/usr/bin/env bashCOMMENT
LOWdocker/local-observability-stack/prometheus.yaml1# =============================================================================COMMENT
LOWdocker/local-observability-stack/promtail-config.yaml1# =============================================================================COMMENT
LOW…r/local-observability-stack/otel-collector-config.yaml1# =============================================================================COMMENT
LOWdocker/local-observability-stack/tempo-config.yaml1# =============================================================================COMMENT
LOWdocker/local-observability-stack/loki-config.yaml1# =============================================================================COMMENT
LOW…ker/local-observability-stack/grafana/datasources.yaml1# =============================================================================COMMENT
LOW…ice/translationMemory/TmAutoTranslateProviderEeImpl.kt81 organizationId = key.project.organizationOwner.id,COMMENT
LOWwebapp/vite-env.d.ts1/// <reference types="vite/client" />COMMENT
LOW…tlin/io/tolgee/service/OrganizationStatsServiceTest.kt61 // First project translations (unique key+language combinations with non-empty text):COMMENT
LOW…tlin/io/tolgee/service/OrganizationStatsServiceTest.kt101 // The no-branching project has useBranching=false with:COMMENT
LOW…in/io/tolgee/security/authentication/AllowApiAccess.kt21// */COMMENT
LOW…ckend/data/src/test/resources/import/yaml/unknown.yaml1# Author: UrbanecmCOMMENT
LOW…chineTranslation/providers/BaiduTranslationProvider.kt121 override val formalitySupportingLanguages: Array<String>? = nullCOMMENT
LOW…chineTranslation/providers/BaiduTranslationProvider.kt141 "zh-hant" to "cht",COMMENT
LOWe2e/cypress/plugins/index.js1/// <reference types="cypress" />COMMENT
LOWe2e/cypress/support/commands.ts1// ***********************************************COMMENT
LOWe2e/cypress/support/e2e.ts1/* eslint-disable no-prototype-builtins */COMMENT
LOWe2e/scripts/baseQuery/perf-test.sh1#!/usr/bin/env bashCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHscripts/report-flaky-tests.py370except OSError:CODE
HIGHscripts/report-flaky-tests.py484except OSError:CODE
HIGHscripts/report-flaky-tests.py540except ValueError:CODE
Structural Annotation Overuse8 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡…s/v2ImportController/MultiStepImportPerformanceTest.kt69 // Step 1: Add filesCOMMENT
LOW⚡…s/v2ImportController/MultiStepImportPerformanceTest.kt76 // Step 2: Apply importCOMMENT
LOWdocs/local-observability-stack/5_Alerting.md126#### Step 1: Name the AlertCOMMENT
LOWdocs/local-observability-stack/5_Alerting.md132#### Step 2: Configure the QueryCOMMENT
LOWdocs/local-observability-stack/5_Alerting.md149#### Step 3: Set the ThresholdCOMMENT
LOWdocs/local-observability-stack/5_Alerting.md157#### Step 4: Configure EvaluationCOMMENT
LOWdocs/local-observability-stack/5_Alerting.md180#### Step 5: Select Contact PointCOMMENT
LOWdocs/local-observability-stack/5_Alerting.md190#### Step 6: Save the RuleCOMMENT
Self-Referential Comments2 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM⚡gradle/runE2e.sh3# Define the commands to run in each paneCOMMENT
MEDIUM⚡gradle/runE2e.sh15 # Create a new session and run COMMAND1 in the first paneCOMMENT
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡…s/v2ImportController/MultiStepImportPerformanceTest.kt69 // Step 1: Add filesCOMMENT
LOW⚡…s/v2ImportController/MultiStepImportPerformanceTest.kt76 // Step 2: Apply importCOMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/collect-flaky-tests.py29CODE
LOWscripts/report-flaky-tests.py197CODE
LOWscripts/report-flaky-tests.py256CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡gradle/runE2e.sh11# Check if the session existsCOMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/collect-flaky-tests.py20CODE
LOWscripts/report-flaky-tests.py35CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWe2e/scripts/baseQuery/perf-test.sh9# Usage:COMMENT
Modern Structural Boilerplate4 hits · 1 pts
SeverityFileLineSnippetContext
LOWscripts/report-flaky-tests.py374def set_text(project_id: str, item_id: str, field_id: str, value: str) -> None:STRING
LOWscripts/report-flaky-tests.py385def set_number(project_id: str, item_id: str, field_id: str, value: int) -> None:STRING
LOWscripts/report-flaky-tests.py396def set_date(project_id: str, item_id: str, field_id: str, value: str) -> None:STRING
LOWscripts/report-flaky-tests.py422def update_draft_body(item_id: str, title: str, body: str) -> None:STRING