Repository Analysis

Kong/insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

4.1 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Kong/insomnia, a TypeScript project with 39,895 GitHub stars. SynthScan v2.0 examined 277,770 lines of code across 1629 source files, recording 325 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 4.1 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.1
Adjusted Score
4.1
Raw Score
100%
Time Factor
2026-07-14
Last Push
39.9K
Stars
TypeScript
Language
277.8K
Lines of Code
1.6K
Files
325
Pattern Hits
2026-07-14
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 79HIGH 1MEDIUM 47LOW 198

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 325 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators79 hits · 750 pts
SeverityFileLineSnippetContext
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json388 "displayValue": "insomnia.request.url.urlObject.searchParams.append()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json389 "name": "insomnia.request.url.urlObject.searchParams.append()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json390 "value": "insomnia.request.url.urlObject.searchParams.append()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json393 "displayValue": "insomnia.request.url.urlObject.searchParams.delete()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json394 "name": "insomnia.request.url.urlObject.searchParams.delete()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json395 "value": "insomnia.request.url.urlObject.searchParams.delete()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json398 "displayValue": "insomnia.request.url.urlObject.searchParams.get()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json399 "name": "insomnia.request.url.urlObject.searchParams.get()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json400 "value": "insomnia.request.url.urlObject.searchParams.get()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json403 "displayValue": "insomnia.request.url.urlObject.searchParams.getAll()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json404 "name": "insomnia.request.url.urlObject.searchParams.getAll()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json405 "value": "insomnia.request.url.urlObject.searchParams.getAll()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json408 "displayValue": "insomnia.request.url.urlObject.searchParams.has()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json409 "name": "insomnia.request.url.urlObject.searchParams.has()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json410 "value": "insomnia.request.url.urlObject.searchParams.has()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json413 "displayValue": "insomnia.request.url.urlObject.searchParams.set()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json414 "name": "insomnia.request.url.urlObject.searchParams.set()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json415 "value": "insomnia.request.url.urlObject.searchParams.set()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json418 "displayValue": "insomnia.request.url.urlObject.searchParams.sort()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json419 "name": "insomnia.request.url.urlObject.searchParams.sort()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json420 "value": "insomnia.request.url.urlObject.searchParams.sort()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json423 "displayValue": "insomnia.request.url.urlObject.searchParams.entries()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json424 "name": "insomnia.request.url.urlObject.searchParams.entries()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json425 "value": "insomnia.request.url.urlObject.searchParams.entries()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json428 "displayValue": "insomnia.request.url.urlObject.searchParams.forEach()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json429 "name": "insomnia.request.url.urlObject.searchParams.forEach()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json430 "value": "insomnia.request.url.urlObject.searchParams.forEach()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json433 "displayValue": "insomnia.request.url.urlObject.searchParams.keys()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json434 "name": "insomnia.request.url.urlObject.searchParams.keys()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json435 "value": "insomnia.request.url.urlObject.searchParams.keys()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json438 "displayValue": "insomnia.request.url.urlObject.searchParams.values()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json439 "name": "insomnia.request.url.urlObject.searchParams.values()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json440 "value": "insomnia.request.url.urlObject.searchParams.values()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json443 "displayValue": "insomnia.request.url.urlObject.searchParams.toString()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json444 "name": "insomnia.request.url.urlObject.searchParams.toString()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json445 "value": "insomnia.request.url.urlObject.searchParams.toString()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json733 "displayValue": "insomnia.response.originalRequest.url.urlObject.toString()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json734 "name": "insomnia.response.originalRequest.url.urlObject.toString()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json735 "value": "insomnia.response.originalRequest.url.urlObject.toString()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json793 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.append()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json794 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.append()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json795 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.append()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json798 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.delete()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json799 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.delete()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json800 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.delete()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json803 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.get()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json804 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.get()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json805 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.get()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json808 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.getAll()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json809 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.getAll()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json810 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.getAll()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json813 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.has()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json814 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.has()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json815 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.has()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json818 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.set()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json819 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.set()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json820 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.set()"CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json823 "displayValue": "insomnia.response.originalRequest.url.urlObject.searchParams.sort()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json824 "name": "insomnia.response.originalRequest.url.urlObject.searchParams.sort()",CODE
CRITICAL…a-scripting-environment/src/autocomplete-snippets.json825 "value": "insomnia.response.originalRequest.url.urlObject.searchParams.sort()"CODE
19 more matches not shown…
Hyper-Verbose Identifiers148 hits · 150 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia-inso/src/scripts/docs.ts30function generateSubcommandsMarkdown(CODE
LOW…kages/insomnia-inso/src/commands/lint-specification.ts37async function assertResolvesToPublicHost(hostname: string): Promise<void> {CODE
LOWpackages/insomnia/src/ui/analytics.ts35export function readPendingImportAttribution(): ImportAttribution {CODE
LOWpackages/insomnia/src/ui/organization-utils.ts57export async function updateLocalProjectToRemote({CODE
LOWpackages/insomnia/src/ui/organization-utils.ts127export function findMigrationTargetSpaceId(organizations: Organization[]): string {CODE
LOWpackages/insomnia/src/ui/organization-utils.ts132export async function migrateProjectsUnderOrganization(personalOrganizationId: string, sessionId: string) {CODE
LOW…kages/insomnia/src/ui/utils/render-realtime-connect.ts21export async function renderRealtimeConnectPayload({CODE
LOWpackages/insomnia/src/ui/utils/grpc.ts20export function getGrpcConnectionErrorDetails(error: Error) {CODE
LOWpackages/insomnia/src/ui/components/keydown-binder.ts54export function useDocBodyKeyboardShortcuts(CODE
LOWpackages/insomnia/src/ui/components/time-from-now.tsx51export function convertEpochToMilliseconds(epoch: number) {CODE
LOW…navigation-sidebar/project-navigation-sidebar-utils.ts58export async function getWorkspacesByProjectIds(projectIds: string[]) {CODE
LOW…navigation-sidebar/project-navigation-sidebar-utils.ts83export async function getAllRequestsAndMetaByWorkspace(workspaceIds: string[]) {CODE
LOW…navigation-sidebar/project-navigation-sidebar-utils.ts205export function flattenCollectionChildren(CODE
LOW…/insomnia/src/ui/components/settings/import-export.tsx123async function writeExportedFileToFileSystem(filename: string, data: string) {CODE
LOW…nsomnia/src/ui/components/modals/cli-preview-modal.tsx8function generateCommandArgumentsForRequests(CODE
LOW…omnia/src/ui/components/modals/import-modal/shared.tsx191function getWorkspaceCountsByScope(workspaces: { scope?: string }[], scanResult: ScanResult) {CODE
LOW…src/ui/components/modals/invite-modal/invite-modal.tsx628 async function revalidateCurrentUserRoleAndPermissionsInOrg(organizationId: string) {CODE
LOW…s/.client/codemirror/normalize-irregular-whitespace.ts31export function normalizeIrregularWhitespace(text: string) {CODE
LOW…mponents/.client/codemirror/extensions/autocomplete.ts130 function completeIfAfterTagOrVarOpen(cm: CodeMirror.Editor) {CODE
LOW…insomnia/src/ui/components/git/git-oauth-auth-utils.ts16export function isOAuthAccessTokenExpired(credential: GitCredentials | null | undefined): boolean {CODE
LOW…insomnia/src/ui/components/git/git-oauth-auth-utils.ts37export function shouldShowConfigureGitHubAppLink(CODE
LOW…es/insomnia/src/ui/hooks/use-organization-features.tsx13export function useOrganizationPermissions() {CODE
LOW…nsomnia/src/ui/hooks/use-realtime-connection-events.ts10export function useRealtimeConnectionEvents({CODE
LOW…/src/ui/hooks/use-realtime-connection-notifications.ts7export function useRealtimeConnectionNotifications({CODE
LOWpackages/insomnia/src/__mocks__/@grpc/grpc-js.ts87export function makeGenericClientConstructor() {CODE
LOWpackages/insomnia/src/konnect/api.ts145export async function fetchKonnectOrganizationId(pat: string, signal?: AbortSignal): Promise<string | undefined> {CODE
LOWpackages/insomnia/src/konnect/expression-parser.ts35export function extractFieldsFromExpression(expression: string): ExtractedRouteFields {CODE
LOWpackages/insomnia/src/network/network.ts79export function getOrInheritHeaders({CODE
LOWpackages/insomnia/src/network/network.ts686export async function tryToExecuteAfterResponseScript(context: RequestAndContextAndResponse) {CODE
LOWpackages/insomnia/src/network/send-request.node.ts38export async function getSendRequestCallbackMemDb(CODE
LOWpackages/insomnia/src/basic-components/utils.ts32export function getBackgroundColorClasses(color: ButtonColor) {CODE
LOWpackages/insomnia/src/common/project.ts218export async function getProjectsWithGitRepositories({CODE
LOWpackages/insomnia/src/common/api-specs.ts42export function resolveComponentSchemaRefs(spec: ParsedApiSpec, methodInfo: Record<string, any>) {CODE
LOW…ages/insomnia/src/common/organization-storage-rules.ts15export async function fetchAndCacheOrganizationStorageRule(CODE
LOWpackages/insomnia/src/common/constants.ts368export function getMimeTypeFromContentType(contentType: string) {CODE
LOWpackages/insomnia/src/common/render.ts516export async function getRenderedGrpcRequestMessage({CODE
LOWpackages/insomnia/src/common/render.ts528export async function getRenderedRequestAndContext({CODE
LOWpackages/insomnia/src/common/render.ts678export async function getRenderContextAncestors(CODE
LOW…ages/insomnia/src/common/spectral-ruleset-validator.ts41function containsPrototypePollution(value: string): boolean {CODE
LOWpackages/insomnia/src/common/insomnia-v5.ts286export function insomniaSchemaTypeToScope(type: InsomniaFile['type']): WorkspaceScope {CODE
LOWpackages/insomnia/src/common/insomnia-v5.ts849 function getCollectionFromResources(CODE
LOWpackages/insomnia/src/common/insomnia-v5.ts983 function getEnvironmentsFromResources(CODE
LOWpackages/insomnia/src/common/insomnia-v5.ts1022 function getCookieJarFromResources(CODE
LOWpackages/insomnia/src/common/insomnia-v5.ts1052 function getTestSuitesFromResources(CODE
LOWpackages/insomnia/src/common/insomnia-v5.ts1142 function getMcpRequestFromResources(CODE
LOWpackages/insomnia/src/common/import.ts82export async function fetchImportContentFromURI({ uri }: { uri: string }) {CODE
LOWpackages/insomnia/src/common/import.ts109export async function getFilesFromPostmanExportedDataDump(filePath: string): Promise<PostmanDataDumpRawData> {CODE
LOWpackages/insomnia/src/common/import.ts415function filterResourcesInWorkspace(resources: BaseModel[], workspace: Workspace) {CODE
LOWpackages/insomnia/src/common/import.ts829export async function findRequestInExistingWorkspace(CODE
LOW…insomnia/src/common/insomnia-schema-migrations/v5.1.ts67export function cleanHeadersAndParameters(obj: any): any {CODE
LOW…nia/src/common/insomnia-schema-migrations/migration.md151export function cleanHeadersAndParameters(obj: any): any {CODE
LOWpackages/insomnia/src/common/utils/vault.ts29export function decryptVaultKeyFromSession(vaultKey: string, toJsonWebKey: true): Promise<object>;CODE
LOWpackages/insomnia/src/common/utils/vault.ts30export function decryptVaultKeyFromSession(vaultKey: string, toJsonWebKey: false): Promise<string>;CODE
LOWpackages/insomnia/src/common/utils/vault.ts31export async function decryptVaultKeyFromSession(vaultKey: string, toJsonWebKey: boolean): Promise<string | object> {CODE
LOW…ia/src/common/templating/mask-or-decrypt-vault-data.ts7export async function maskOrDecryptVaultDataIfNecessary(vaultEnvironmentData: any, renderPurpose?: RenderPurpose) {CODE
LOWpackages/insomnia/src/common/templating/utils.ts47export function normalizeToDotAndBracketNotation(prefix: string) {CODE
LOWpackages/insomnia/src/common/templating/utils.ts144export function extractNunjucksTagFromCoords(CODE
LOWpackages/insomnia/src/common/templating/render-error.ts58export function extractUndefinedVariableKey(text = '', templatingContext: Record<string, any>): string[] {CODE
LOW…omnia/src/common/templating/third_party/object-path.ts66 (function countBackslashesBeforeClosing() {CODE
LOWpackages/insomnia/src/sync/git/insomnia-filename.ts1export function safeToUseInsomniaFileName(fileName: string) {CODE
88 more matches not shown…
Decorative Section Separators41 hits · 128 pts
SeverityFileLineSnippetContext
MEDIUM…ation-sidebar/project-navigation-sidebar-utils.test.ts14// ── Helpers for pure-function test fixtures ───────────────────────────────COMMENT
MEDIUM…ation-sidebar/project-navigation-sidebar-utils.test.ts89// ── DB-backed tests ────────────────────────────────────────────────────────COMMENT
MEDIUM…ation-sidebar/project-navigation-sidebar-utils.test.ts241// ── Pure-function tests ────────────────────────────────────────────────────COMMENT
MEDIUM…ation-sidebar/project-navigation-sidebar-utils.test.ts415// ── filterCollection ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/transform.ts5// ─── Template injection sanitisation ─────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/transform.ts55// ─── Proxy environment variables ─────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/transform.ts115// ─── Path handling ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/transform.ts231// ─── Header / path-parameter merging ─────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts13// ─── sanitizeRoute ───────────────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts232// ─── deriveProxyVarDefaults ──────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts330// ─── generatePathPlaceholder ─────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts422// ─── mergeHeaders ────────────────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts459// ─── mergePathParameters ─────────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts478// ─── konnectHeadersChanged ───────────────────────────────────────────────────COMMENT
MEDIUM…kages/insomnia/src/konnect/__tests__/transform.test.ts514// ─── pathParametersChanged ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts18// ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts127// ─── Feature: HTTP Route Sync ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts475// ─── Feature: Request Naming ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts566// ─── Feature: Re-sync ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts993// ─── Feature: Idempotent Sync (Route Keying) ──────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1073// ─── Feature: gRPC Route Sync ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1301// ─── Feature: WebSocket Route Sync ───────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1489// ─── Feature: L4 (Stream) Routes — Skipped ───────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1515// ─── Feature: SNI-Only Routes ────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1544// ─── Feature: Collection (Workspace) Naming ─────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1596// ─── Feature: Environment Variable Mapping ────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1730// ─── Feature: Control Plane (Project) Naming ────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1780// ─── Feature: Wildcard and Edge-Case Hosts ────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts1832// ─── Feature: Expression-Based Routes ──────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/sync.test.ts2135// ─── Feature: Multi-Region Control Plane Sync ────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts11// ─── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts61// ─── validatePat ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts117// ─── fetchAllControlPlanes — page-number pagination ──────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts238// ─── fetchAllServices — offset pagination ────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts307// ─── fetchRoutesForService — offset pagination ──────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts387// ─── Retry logic (fetchWithRetry, tested through exported functions) ─────────COMMENT
MEDIUMpackages/insomnia/src/konnect/__tests__/api.test.ts564// ─── fetchKonnectOrganizationId ───────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/sync/git/repo-file-watcher.ts752 // ── Check if file still exists and is not a symlink ──────────────COMMENT
MEDIUMpackages/insomnia/src/sync/git/repo-file-watcher.ts770 // ── Fast-path: mtime unchanged → skip ────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/sync/git/repo-file-watcher.ts780 // ── Read file ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/insomnia/src/sync/git/repo-file-watcher.ts789 // ── Content-hash dedup: skip if this is our own write ────────────COMMENT
Verbosity Indicators11 hits · 23 pts
SeverityFileLineSnippetContext
LOW…kages/insomnia-inso/src/commands/lint-specification.ts95 // Step 1: flatten local extends and validate remote URLs (SSRF + disallowed keys).COMMENT
LOW…kages/insomnia-inso/src/commands/lint-specification.ts97 // Step 2: fetch + fully inline remote extends so bundleAndLoadRuleset has nothing to fetch,COMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts234 // Step 1: Rename git/ → .git/COMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts256 // Step 2: Collapse other/ → repo rootCOMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts264 // Step 3: Flush all Insomnia YAML workspaces to disk so they become real files.COMMENT
LOWpackages/insomnia/src/main/install-plugin.ts75 // Step 1: Validate the plugin and fetch its npm metadataCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts96 // Step 2: Create the plugin directory if it doesn't existCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts103 // Step 3: only allow tarballs from known hostsCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts122 // Step 4: Install the plugin into a temporary directoryCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts126 // Step 5: Move the main plugin folder into the plugin directoryCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts132 // Step 6: Handle the plugin's dependenciesCOMMENT
Structural Annotation Overuse11 hits · 23 pts
SeverityFileLineSnippetContext
LOW…kages/insomnia-inso/src/commands/lint-specification.ts95 // Step 1: flatten local extends and validate remote URLs (SSRF + disallowed keys).COMMENT
LOW…kages/insomnia-inso/src/commands/lint-specification.ts97 // Step 2: fetch + fully inline remote extends so bundleAndLoadRuleset has nothing to fetch,COMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts234 // Step 1: Rename git/ → .git/COMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts256 // Step 2: Collapse other/ → repo rootCOMMENT
LOWpackages/insomnia/src/sync/git/git-repo-migration.ts264 // Step 3: Flush all Insomnia YAML workspaces to disk so they become real files.COMMENT
LOWpackages/insomnia/src/main/install-plugin.ts75 // Step 1: Validate the plugin and fetch its npm metadataCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts96 // Step 2: Create the plugin directory if it doesn't existCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts103 // Step 3: only allow tarballs from known hostsCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts122 // Step 4: Install the plugin into a temporary directoryCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts126 // Step 5: Move the main plugin folder into the plugin directoryCOMMENT
LOWpackages/insomnia/src/main/install-plugin.ts132 // Step 6: Handle the plugin's dependenciesCOMMENT
Fake / Example Data14 hits · 16 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia/src/ui/components/svg-icon.tsx117 placeholder: 'placeholder',CODE
LOW…mnia/src/ui/components/settings/text-array-setting.tsx17 placeholder?: InputHTMLAttributes<HTMLInputElement>['placeholder'];CODE
LOW…s/insomnia/src/ui/components/settings/text-setting.tsx13 placeholder?: InputHTMLAttributes<HTMLInputElement>['placeholder'];CODE
LOW…insomnia/src/ui/components/settings/masked-setting.tsx14 placeholder?: React.HTMLProps<HTMLInputElement>['placeholder'];CODE
LOW…ommon/__fixtures__/insomnia-v5-roundtrip/bookings.yaml165 "contactEmail": "user@example.com"CODE
LOW…ges/insomnia/src/main/importers/importers/swagger-2.ts410 'string_email': () => 'user@example.com',CODE
LOW…ges/insomnia/src/main/importers/importers/openapi-3.ts560 'string_email': () => 'user@example.com',CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts231 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts242 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts251 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts260 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts269 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts283 author: { name: 'User', email: 'user@example.com' },CODE
LOW…ckages/insomnia-data/__tests__/git-credentials.test.ts290 author: { name: 'User', email: 'user@example.com' },CODE
Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia-inso/src/scripts/macos-pkg.sh1#!/usr/bin/env bashCOMMENT
LOW…navigation-sidebar/project-navigation-sidebar-utils.ts41// parentId: r.parentId,COMMENT
LOW…src/ui/components/modals/git-project-staging-modal.tsx181 // Handle drops between items from other lists.COMMENT
LOW…c/ui/components/.client/codemirror/one-line-editor.tsx381 useEffect(() => {COMMENT
LOW…nsomnia/src/templating/sandbox/in-sandbox-bootstrap.ts21 ' "use strict";',COMMENT
LOW…a/src/common/__tests__/import-export-roundtrip.test.ts21COMMENT
LOWpackages/insomnia/src/sync/git/ne-db-client.ts81 const doc = await db.findOne(type, { _id: id });COMMENT
LOWpackages/insomnia/src/main/cloud-sync/core/util.ts81 for (const key of allKeys) {COMMENT
LOWpackages/insomnia-smoke-test/tests/smoke/invite.test.ts41 // // Unlink the team. The team is showing as the first option in the listCOMMENT
LOW…e-test/tests/migration/local-to-cloud-projects.test.ts41 // @TODO Re-enable this testCOMMENT
LOW…e-test/tests/migration/local-to-cloud-projects.test.ts61 // await page.getByTestId('project').click();COMMENT
LOW…mnia-scripting-environment/src/objects/send-request.ts101 default: {COMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMpackages/insomnia/src/ui/components/request-url-bar.tsx134 // robust to React StrictMode's double-mount and to the request pane keying by requestId.COMMENT
MEDIUM…test/playwright/pages/components/navigation-sidebar.ts109 // Sometimes the dropdown button can be a bit tricky to click if the hover state isn't properly triggered, so we'll COMMENT
MEDIUM…test/playwright/pages/components/navigation-sidebar.ts175 // Sometimes the dropdown button can be a bit tricky to click if the hover state isn't properly triggered, so we'll COMMENT
MEDIUM…test/playwright/pages/components/navigation-sidebar.ts192 // Sometimes the dropdown button can be a bit tricky to click if the hover state isn't properly triggered, so we'll COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…omnia/src/routes/ai.mcp-generate-sampling-response.tsx53 // Response sampling request with AI-generated responseCOMMENT
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMpackages/insomnia-inso/src/scripts/macos-pkg.sh53# Create a staging area for the installer package.COMMENT
MEDIUM.github/workflows/release-start.yml83 - name: Create Branch # Create a branch if it doesn't existCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia/src/network/cancellation.renderer.ts17 // TODO: implement cancelPreRequestScript on hiddenBrowserWindow side?COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/insomnia/src/entry.server.tsx12export default function handleRequest(CODE