Repository Analysis

microsoft/TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/TypeScript, a TypeScript project with 109,900 GitHub stars. SynthScan v2.0 examined 4,303,389 lines of code across 50856 source files, recording 10722 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 2.5 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).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-08
Last Push
109.9K
Stars
TypeScript
Language
4.3M
Lines of Code
50.9K
Files
10.7K
Pattern Hits
2026-07-14
Scan Date
0.00
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 9HIGH 76MEDIUM 17LOW 10620

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 10722 distinct pattern matches across 9 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.

Over-Commented Block5829 hits · 5742 pts
SeverityFileLineSnippetContext
LOWtests/cases/projects/InvalidReferences/main.ts1/// <reference path="main.ts" />COMMENT
LOWtests/cases/transpile/declarationSingleFileHasErrors.ts1// @target: es2015COMMENT
LOW…es/transpile/declarationSingleFileHasErrorsReported.ts1// @target: es2015COMMENT
LOW…ases/transpile/declarationSelfReferentialConstraint.ts1// @target: es2015COMMENT
LOWtests/cases/fourslash/extract-method11.ts1/// <reference path='fourslash.ts' />COMMENT
LOW…ourslash/completionsOverridingMethodDefaultExported.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…ses/fourslash/findAllRefsForObjectLiteralProperties.ts1/// <reference path='fourslash.ts'/>COMMENT
LOWtests/cases/fourslash/navigationBarFunctionPrototype.ts1/// <reference path="fourslash.ts"/>COMMENT
LOWtests/cases/fourslash/completionsImport_keywords.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…odeFixInferFromFunctionThisUsageJsDocNewDocsLiteral.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/renameJsSpecialAssignmentRhs1.ts1/// <reference path="fourslash.ts"/>COMMENT
LOWtests/cases/fourslash/spaceAfterStatementConditions.ts1/// <reference path="fourslash.ts"/>COMMENT
LOW…ts/cases/fourslash/referencesForInheritedProperties.ts1/// <reference path='fourslash.ts'/>COMMENT
LOWtests/cases/fourslash/codeFixSpellingAddSpaces4.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/completionsPaths_importType.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…ortCompletionsPackageJsonImportsPattern_capsInPath1.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…fourslash/completionsForRecursiveGenericTypesMember.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…cases/fourslash/quickInfoCommentsFunctionExpression.ts1/// <reference path='fourslash.ts' />COMMENT
LOW…cases/fourslash/quickInfoCommentsFunctionExpression.ts21/////**COMMENT
LOWtests/cases/fourslash/renameJsExports03.ts1/// <reference path='fourslash.ts'/>COMMENT
LOWtests/cases/fourslash/jsSpecialAssignmentMerging.ts1/// <reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/addVarToConstructor1.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…/cases/fourslash/codeFixDisableJsDiagnosticsInFile9.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/jsDocFunctionSignatures6.ts1///<reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/getJavaScriptCompletions12.ts1///<reference path="fourslash.ts" />COMMENT
LOW…ompletionForStringLiteralRelativeImportAllowJSFalse.ts1/// <reference path='fourslash.ts' />COMMENT
LOW…ompletionForStringLiteralRelativeImportAllowJSFalse.ts21//// var foo18 = require("..//*require3*/COMMENT
LOWtests/cases/fourslash/autoImportTypeOnlyPreferred1.ts1/// <reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/gotoDefinitionSatisfiesTag.ts1///<reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/underscoreTypings01.ts1/// <reference path='fourslash.ts'/>COMMENT
LOW…es/fourslash/codeFixClassExtendAbstractGetterSetter.ts1/// <reference path='fourslash.ts' />COMMENT
LOW…es/fourslash/genericTypeWithMultipleBases1MultiFile.ts1/// <reference path='fourslash.ts'/>COMMENT
LOWtests/cases/fourslash/quickInfoLink5.ts1/// <reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/completionListInImportClause06.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/outliningHintSpansForFunction.ts1/// <reference path="fourslash.ts"/>COMMENT
LOWtests/cases/fourslash/tsxCompletion8.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/jsDocTypeTagQuickInfo1.ts1/// <reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/jsDocTypeTagQuickInfo1.ts21//// /** @type {Null} */COMMENT
LOWtests/cases/fourslash/completionsOverridingMethod9.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…rslash/completionListInTypeLiteralInTypeParameter19.ts1/// <reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/getJavaScriptQuickInfo8.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…cases/fourslash/breakpointValidationTryCatchFinally.ts1/// <reference path='fourslash.ts' />COMMENT
LOW…cases/fourslash/breakpointValidationTryCatchFinally.ts21//// x = x - 1;COMMENT
LOWtests/cases/fourslash/syntacticClassifications1.ts1/// <reference path="fourslash.ts"/>COMMENT
LOWtests/cases/fourslash/referencesForGlobals4.ts1/// <reference path='fourslash.ts'/>COMMENT
LOWtests/cases/fourslash/renameForDefaultExport07.ts1/// <reference path='fourslash.ts'/>COMMENT
LOWtests/cases/fourslash/renameImportOfReExport.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/findAllRefsModuleAugmentation.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/smartSelection_JSDocTags1.ts1/// <reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/formattingIfInElseBlock.ts1/// <reference path='fourslash.ts' />COMMENT
LOW…sts/cases/fourslash/codeFixConvertToTypeOnlyExport3.ts1/// <reference path="fourslash.ts" />COMMENT
LOWtests/cases/fourslash/formatSelectionWithTrivia.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…urslash/moveToNewFile_aliasDefaultExportNamedImport.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/findAllRefs_importType_js.3.ts1/// <reference path='fourslash.ts' />COMMENT
LOWtests/cases/fourslash/inlayHintsThisParameter.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…IntrinsicDeclaredUsingTemplateLiteralTypeSignatures.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…h/renameDestructuringAssignmentNestedInArrayLiteral.ts1/// <reference path='fourslash.ts' />COMMENT
LOW…ts/cases/fourslash/goToDefinitionVariableAssignment.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…ourslash/pathCompletionsPackageJsonExportsWildcard8.ts1/// <reference path="fourslash.ts" />COMMENT
LOW…etionListAtIdentifierDefinitionLocations_properties.ts1/// <reference path='fourslash.ts' />COMMENT
5769 more matches not shown…
Hyper-Verbose Identifiers4755 hits · 4266 pts
SeverityFileLineSnippetContext
LOWtests/cases/fourslash/fourslash.ts892declare function verifyOperationIsCancelled(f: any): void;CODE
LOWtests/cases/fourslash/fourslash.ts944 export function globalsInJsInsideFunction(plus: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry>, options?:CODE
LOWtests/cases/fourslash/fourslash.ts960 export function functionMembersWithPrototypePlus(plus: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry>): RCODE
LOW…cases/fourslash/jsdocParameterTagSnippetCompletion1.ts119//// function reallylongfunctionnameabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefCOMMENT
LOW…lash/navigationBarItemsInsideMethodsAndConstructors.ts5//// function LocalFunctionInConstructor() {}COMMENT
LOW…lash/navigationBarItemsInsideMethodsAndConstructors.ts12//// function LocalFunctionInLocalFunctionInMethod() {}COMMENT
LOWtests/cases/fourslash/indentationNone.ts178////function unterminatedListIndentation(a,COMMENT
LOW…ourslash/smartIndentOnUnclosedFunctionDeclaration01.ts6function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…ourslash/smartIndentOnUnclosedFunctionDeclaration04.ts6function verifyIndentationAfterNewLine(marker: string, indentation: number, positionWorkaround: number, expectedText: stCODE
LOWtests/cases/fourslash/callHierarchyCrossFile.ts14////function registerDefaultLanguageCommand() {COMMENT
LOWtests/cases/fourslash/smartIndentDoStatement.ts8function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOWtests/cases/fourslash/smartIndentIfStatement.ts10function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…s/cases/fourslash/smartIndentObjectBindingPattern01.ts5function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…ts/cases/fourslash/smartIndentArrayBindingPattern01.ts5function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOWtests/cases/fourslash/indentation.ts178////function unterminatedListIndentation(a,COMMENT
LOWtests/cases/fourslash/indentationWithBaseIndent.ts205//// function unterminatedListIndentation(a,COMMENT
LOW…es/fourslash/extract-method_jsxPreceedingWhitespace.ts7////export default function ComponentThatExhibitsIssue() {COMMENT
LOW…es/fourslash/extract-method_jsxPreceedingWhitespace.ts23`export default function ComponentThatExhibitsIssue() {CODE
LOW…ts/cases/fourslash/smartIndentArrayBindingPattern02.ts5function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…es/fourslash/smartIndentInParenthesizedExpression01.ts5function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…s/cases/fourslash/smartIndentObjectBindingPattern02.ts5function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…sh/goToImplementationShorthandPropertyAssignment_01.ts34//// function createBarUsingClassDeclaration(): Bar {COMMENT
LOW…ts/cases/fourslash/completionListFunctionExpression.ts5////class DataHandler {COMMENT
LOWtests/cases/fourslash/indentationBlock.ts178////function unterminatedListIndentation(a,COMMENT
LOW…ourslash/smartIndentOnUnclosedFunctionDeclaration03.ts6function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…ourslash/smartIndentOnUnclosedFunctionDeclaration02.ts6function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…ourslash/smartIndentObjectLiteralOpenBracketNewLine.ts11function verifyIndentationAfterNewLine(marker: string, indentation: number): void {CODE
LOW…sh/goToImplementationShorthandPropertyAssignment_00.ts31//// function createBarUsingClassDeclaration(): Bar {COMMENT
LOW…lash/server/autoImportFileExcludePatterns_symlinks2.ts20//// export declare function ServerRuntimeMetaFunction(): void;COMMENT
LOW…slash/server/autoImportFileExcludePatterns_symlinks.ts14//// export declare function ServerRuntimeMetaFunction(): void;COMMENT
LOWtests/cases/compiler/APISample_jsdoc.ts28function parseCommentsIntoDefinition(this: any,CODE
LOWtests/cases/compiler/declFileFunctions.ts35export function fooWithTypePredicateAndMulitpleParams(a: any, b: any, c: any): a is number {CODE
LOWtests/cases/compiler/declFileFunctions.ts41export function fooWithTypeTypePredicateAndRestParam(a: any, ...rest): a is number {CODE
LOWtests/cases/compiler/declFileFunctions.ts49function nonExportedFooWithParameters(/** this is comment about a*/a: string,CODE
LOWtests/cases/compiler/declFileFunctions.ts54function nonExportedFooWithRestParameters(a: string, ...rests: string[]) {CODE
LOWtests/cases/compiler/declFileFunctions.ts58function nonExportedFooWithOverloads(a: string): string;CODE
LOWtests/cases/compiler/declFileFunctions.ts59function nonExportedFooWithOverloads(a: number): number;CODE
LOWtests/cases/compiler/declFileFunctions.ts60function nonExportedFooWithOverloads(a: any): any {CODE
LOWtests/cases/compiler/declFileFunctions.ts74function globalfooWithRestParameters(a: string, ...rests: string[]) {CODE
LOWtests/cases/compiler/inferTypePredicates.ts148function irrelevantIsNumberDestructuring(x: string | number) {CODE
LOWtests/cases/compiler/inferTypePredicates.ts212function doNotRefineDestructuredParam({x, y}: {x: number | null, y: number}) {CODE
LOWtests/cases/compiler/moduleVisibilityTest2.ts9 export function someExportedOuterInnerFunc() { return "foo"; }CODE
LOWtests/cases/compiler/nonNullFullInference.ts20function testNonNullInferenceWithArrays(numbers: number[]) {CODE
LOW…iler/privacyFunctionCannotNameParameterTypeDeclFile.ts107export function publicFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) { // ErrorCODE
LOW…iler/privacyFunctionCannotNameParameterTypeDeclFile.ts109function privateFunctionWithPrivateParmeterTypes(param = exporter.createExportedWidget1()) {CODE
LOW…iler/privacyFunctionCannotNameParameterTypeDeclFile.ts133export function publicFunctionWithPrivateModuleParameterTypes(param= exporter.createExportedWidget2()) { // ErrorCODE
LOW…iler/privacyFunctionCannotNameParameterTypeDeclFile.ts155function privateFunctionWithPrivateModuleParameterTypes(param= exporter.createExportedWidget2()) {CODE
LOW…r/defaultParameterAddsUndefinedWithStrictNullChecks.ts47function removeUndefinedButNotFalse(x = true) {CODE
LOWtests/cases/compiler/inKeywordTypeguard.ts26function positiveTestClassesWithOptionalProperties(x: AWithOptionalProp | BWithOptionalProp) {CODE
LOWtests/cases/compiler/inKeywordTypeguard.ts42function negativeTestClassesWithMembers(x: AWithMethod | BWithMethod) {CODE
LOWtests/cases/compiler/inKeywordTypeguard.ts50function negativeTestClassesWithMemberMissingInBothClasses(x: AWithMethod | BWithMethod) {CODE
LOWtests/cases/compiler/inKeywordTypeguard.ts63function negativeMultipleClassesTest(x: A | B | C | D) {CODE
LOW…piler/isolatedDeclarationErrorsFunctionDeclarations.ts13export function noParamAnnotationBadDefault(p = 1 + 1, p2 = { a: 1 + 1 }, p3 = [1 + 1] as const): void {}CODE
LOW…cases/compiler/declarationEmitBindingPatternsUnused.ts35function referencedInSignartureKeyword({ function: alias }: { function: string }): typeof alias {CODE
LOW…cases/compiler/declarationEmitBindingPatternsUnused.ts44function referencedInNestedFunction({ name: alias }: Named) {CODE
LOW…s/cases/compiler/declarationEmitCastReusesTypeNode1.ts14export function fnWithRequiredDefaultParam(p = null! as P, req: number) {}CODE
LOW…s/cases/compiler/declarationEmitCastReusesTypeNode1.ts32export function fnWithPartialAnnotationOnDefaultparam(x: P = null! as P, b: number) {}CODE
LOWtests/cases/compiler/narrowingUnionToUnion.ts210function assertRelationIsNullOrStringArray(v: (string | number)[] | null): asserts v is string[] | null {}CODE
LOW…ompiler/privacyFunctionCannotNameReturnTypeDeclFile.ts111export function publicFunctionWithPrivateParmeterTypes() { // ErrorCODE
LOW…ompiler/privacyFunctionCannotNameReturnTypeDeclFile.ts114function privateFunctionWithPrivateParmeterTypes() {CODE
4695 more matches not shown…
Cross-Language Confusion (JS/TS)76 hits · 380 pts
SeverityFileLineSnippetContext
HIGH…ompiler/declarationEmitEnumReferenceViaImportEquals.ts26 print() {CODE
HIGH…ts/cases/compiler/reachabilityCheckWithEmptyDefault.ts8 print('1');CODE
HIGH…sts/cases/conformance/classes/mixinClassesAnnotated.ts17 print(): void;CODE
HIGH…sts/cases/conformance/classes/mixinClassesAnnotated.ts23 print() {CODE
HIGH…sts/cases/conformance/classes/mixinClassesAnonymous.ts16 print() {CODE
HIGH…onformance/dynamicImport/importCallExpressionInCJS3.ts5 print() { return "I am B"}CODE
HIGH…ormance/dynamicImport/importCallExpressionInSystem2.ts5 print() { return "I am B"}CODE
HIGH…nformance/dynamicImport/importCallExpression3ES2020.ts5 print() { return "I am B"}CODE
HIGH…nformance/dynamicImport/importCallExpression2ES2020.ts5 print() { return "I am B"}CODE
HIGH…ormance/dynamicImport/importCallExpressionInSystem3.ts5 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInUMD4.ts6 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInAMD2.ts5 print() { return "I am B"}CODE
HIGH…nformance/dynamicImport/importCallExpression4ES2020.ts6 print() { return "I am B"}CODE
HIGH…nformance/dynamicImport/importCallExpression5ES2020.ts6 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInAMD3.ts5 print() { return "I am B"}CODE
HIGH…micImport/importCallExpressionNoModuleKindSpecified.ts6 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInAMD4.ts7 print() { return "I am B"}CODE
HIGH…ormance/dynamicImport/importCallExpressionInSystem4.ts7 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInCJS5.ts7 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInUMD3.ts5 print() { return "I am B"}CODE
HIGH…nformance/dynamicImport/importCallExpression6ES2020.ts5 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInCJS4.ts5 print() { return "I am B"}CODE
HIGH…onformance/dynamicImport/importCallExpressionInUMD2.ts5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInAMD4.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInAMD4.js50 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/mixinClassesAnonymous.js18 print() {CODE
HIGHtests/baselines/reference/mixinClassesAnonymous.js85 print() {CODE
HIGHtests/baselines/reference/importCallExpressionInCJS4.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInCJS4.js21 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/importCallExpressionInUMD2.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInUMD2.js33 print() { return "I am B"; }CODE
HIGH…s/baselines/reference/importCallExpressionInSystem4.js5 print() { return "I am B"}CODE
HIGH…s/baselines/reference/importCallExpressionInSystem4.js54 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/importCallExpressionInCJS5.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInCJS5.js49 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/importCallExpressionInUMD3.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInUMD3.js30 print() { return "I am B"; }CODE
HIGH…sts/baselines/reference/importCallExpression6ES2020.js5 print() { return "I am B"}CODE
HIGH…sts/baselines/reference/importCallExpression6ES2020.js24 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/parserRealSource11.js2479 print(context) {CODE
HIGH…s/baselines/reference/importCallExpressionInSystem3.js5 print() { return "I am B"}CODE
HIGH…s/baselines/reference/importCallExpressionInSystem3.js25 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/importCallExpressionInUMD4.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInUMD4.js58 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/importCallExpressionInCJS3.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInCJS3.js24 print() { return "I am B"; }CODE
HIGH…s/baselines/reference/importCallExpressionInSystem2.js5 print() { return "I am B"}CODE
HIGH…s/baselines/reference/importCallExpressionInSystem2.js28 print() { return "I am B"; }CODE
HIGH…sts/baselines/reference/importCallExpression2ES2020.js5 print() { return "I am B"}CODE
HIGH…sts/baselines/reference/importCallExpression2ES2020.js21 print() { return "I am B"; }CODE
HIGH…sts/baselines/reference/importCallExpression3ES2020.js5 print() { return "I am B"}CODE
HIGH…sts/baselines/reference/importCallExpression3ES2020.js19 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/parserRealSource10.js798 print(line, outfile) {CODE
HIGH…sts/baselines/reference/importCallExpression5ES2020.js5 print() { return "I am B"}CODE
HIGH…sts/baselines/reference/importCallExpression5ES2020.js24 print() { return "I am B"; }CODE
HIGH…sts/baselines/reference/importCallExpression4ES2020.js5 print() { return "I am B"}CODE
HIGH…sts/baselines/reference/importCallExpression4ES2020.js32 print() { return "I am B"; }CODE
HIGHtests/baselines/reference/importCallExpressionInAMD3.js5 print() { return "I am B"}CODE
HIGHtests/baselines/reference/importCallExpressionInAMD3.js22 print() { return "I am B"; }CODE
HIGH…reference/importCallExpressionNoModuleKindSpecified.js5 print() { return "I am B"}CODE
16 more matches not shown…
Hallucination Indicators9 hits · 105 pts
SeverityFileLineSnippetContext
CRITICAL…es/conformance/parser/ecmascript5/parserRealSource7.ts552 if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) {CODE
CRITICAL…nce/deeplyNestedAssignabilityErrorsCombined.errors.txt2 The types of 'a.b.c.d.e.f().g' are incompatible between these types.CODE
CRITICAL…nce/deeplyNestedAssignabilityErrorsCombined.errors.txt5 The types of '(new a.b.c.d.e.f()).g' are incompatible between these types.CODE
CRITICAL…nce/deeplyNestedAssignabilityErrorsCombined.errors.txt15!!! error TS2322: The types of 'a.b.c.d.e.f().g' are incompatible between these types.CODE
CRITICAL…nce/deeplyNestedAssignabilityErrorsCombined.errors.txt31!!! error TS2322: The types of '(new a.b.c.d.e.f()).g' are incompatible between these types.CODE
CRITICALtests/baselines/reference/parserRealSource7.js554 if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) {CODE
CRITICALtests/baselines/reference/parserRealSource7.js1274 if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) {CODE
CRITICALtests/baselines/reference/parserRealSource7.errors.txt1318 if (!context.scopeChain.classType.members.publicMembers.add(varDecl.id.text, fieldSymbol)) {CODE
CRITICALsrc/services/callHierarchy.ts266 return node.parent.parent.parent.parent.parent.name.getText();CODE
AI Slop Vocabulary12 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM…tExportAssignedNamespaceNoTripleSlashTypesReference.ts33// This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolderCOMMENT
MEDIUM…es/members/privateNames/privateNamesAndStaticFields.ts23// We will need a more robust solution when we support static fieldsCOMMENT
MEDIUM…conformance/controlFlow/exhaustiveSwitchStatements1.ts25 z; // Definitely assignedCODE
MEDIUM…sts/baselines/reference/exhaustiveSwitchStatements1.js23 z; // Definitely assignedCODE
MEDIUM…sts/baselines/reference/exhaustiveSwitchStatements1.js278 z; // Definitely assignedCODE
MEDIUM…sts/baselines/reference/privateNamesAndStaticFields.js23// We will need a more robust solution when we support static fieldsCOMMENT
MEDIUM…sts/baselines/reference/privateNamesAndStaticFields.js60// We will need a more robust solution when we support static fieldsCOMMENT
MEDIUM…tExportAssignedNamespaceNoTripleSlashTypesReference.js32// This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolderCOMMENT
MEDIUM…tExportAssignedNamespaceNoTripleSlashTypesReference.js53// This issue (#35343) _only_ reproduces in the test harness when the file in question is in a subfolderCOMMENT
MEDIUMsrc/compiler/performance.ts186 // to be able to leverage native trace events when node is run with either `--cpu-prof`COMMENT
MEDIUMsrc/compiler/parser.ts5247 // Definitely not a parenthesized arrow function.COMMENT
MEDIUMsrc/compiler/transformers/esDecorators.ts993 // We use `var` instead of `let` so we can leverage NamedEvaluation to define the class nameCOMMENT
Overly Generic Function Names26 hits · 26 pts
SeverityFileLineSnippetContext
LOW…ArrowFunctionOrFunctionExpression_ToAnon_FnArgument.ts3//// function doSomething(a){}COMMENT
LOW…ArrowFunctionOrFunctionExpression_ToAnon_FnArgument.ts11 newContent: `function doSomething(a){}CODE
LOWtests/cases/compiler/differentTypesWithSameName.ts6 export function doSomething(v: m.variable) {CODE
LOWtests/cases/compiler/implicitConstParameters.ts4function doSomething(cb: () => void) {CODE
LOW…es/compiler/readonlyPropertySubtypeRelationDirected.ts9function doSomething(condition: boolean) {CODE
LOW…es/compiler/readonlyPropertySubtypeRelationDirected.ts28function doSomething(condition: boolean) {CODE
LOW…es/compiler/readonlyPropertySubtypeRelationDirected.ts48function doSomething(condition: boolean) {CODE
LOW…es/compiler/readonlyPropertySubtypeRelationDirected.ts68function doSomething(condition: boolean) {CODE
LOW…compiler/functionExpressionAndLambdaMatchesFunction.ts5 function doSomething(a: Function) {CODE
LOWtests/cases/compiler/weakType.ts14function doSomething(settings: Settings) { /* ... */ }CODE
LOW…eference/functionExpressionAndLambdaMatchesFunction.js6 function doSomething(a: Function) {CODE
LOW…eference/functionExpressionAndLambdaMatchesFunction.js18 function doSomething(a) {CODE
LOWtests/baselines/reference/weakType.js16function doSomething(settings: Settings) { /* ... */ }CODE
LOWtests/baselines/reference/weakType.js74function doSomething(settings) { }CODE
LOWtests/baselines/reference/implicitConstParameters.js4function doSomething(cb: () => void) {CODE
LOWtests/baselines/reference/implicitConstParameters.js62function doSomething(cb) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js9function doSomething(condition: boolean) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js28function doSomething(condition: boolean) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js48function doSomething(condition: boolean) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js68function doSomething(condition: boolean) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js86function doSomething(condition) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js101function doSomething(condition) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js116function doSomething(condition) {CODE
LOW…s/reference/readonlyPropertySubtypeRelationDirected.js131function doSomething(condition) {CODE
LOWtests/baselines/reference/differentTypesWithSameName.js8 export function doSomething(v: m.variable) {CODE
LOWtests/baselines/reference/differentTypesWithSameName.js28 function doSomething(v) {CODE
Decorative Section Separators5 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml13 # ┌───────────── minute (0 - 59)COMMENT
MEDIUM.github/workflows/codeql.yml14 # │ ┌───────────── hour (0 - 23)COMMENT
MEDIUM.github/workflows/codeql.yml15 # │ │ ┌───────────── day of the month (1 - 31)COMMENT
MEDIUM.github/workflows/codeql.yml16 # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)COMMENT
MEDIUM.github/workflows/codeql.yml17 # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)COMMENT
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/cases/fourslash/importNameCodeFix_typeOnly3.ts11//// return document.createElement("placeholder");COMMENT
LOW…/compiler/jsxComplexSignatureHasApplicabilityError.tsx255 placeholder: ReactSelectProps<TValue>['placeholder'];CODE
LOW…/reference/jsxComplexSignatureHasApplicabilityError.js254 placeholder: ReactSelectProps<TValue>['placeholder'];CODE
LOW…hIncreased/amd/nodeModulesMaxDepthIncreased.errors.txt22 "name": "John Doe",CODE
LOW…Increased/node/nodeModulesMaxDepthIncreased.errors.txt19 "name": "John Doe",CODE
LOW…lesImportHigher/amd/nodeModulesImportHigher.errors.txt45 "name": "John Doe",CODE
LOW…esImportHigher/node/nodeModulesImportHigher.errors.txt42 "name": "John Doe",CODE
LOWsrc/testRunner/unittests/services/colorization.ts146 testLexicalClassification("LOREM IPSUM DOLOR ", ts.EndOfLineState.InMultiLineCommentTrivia, comment("LOREMCODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/compiler/symbolWalker.ts205 // So to get the intervening symbols, we need to check if there's a typeCOMMENT
LOWsrc/services/refactors/convertImport.ts227 // We need to check if the preferred namespace name (`preferredName`) we'd like to use in the refactored code wiCOMMENT