Skip to content

Interface: VisualizationDatasets

Defined in: lib/report-models.ts:80

Ranked datasets ready for tables, charts, or custom dashboards.

Properties

highestScoringFiles

highestScoringFiles: object[]

Defined in: lib/report-models.ts:92

Files with the highest aggregate scores.

commands

commands: number

filePath

filePath: string

score

score: number


highestScoringFunctions

highestScoringFunctions: object[]

Defined in: lib/report-models.ts:84

Functions with the highest aggregate scores.

commands

commands: number

filePath

filePath: string

functionId

functionId: string

name

name: string

score

score: number


hotspots

hotspots: RankedCommand[]

Defined in: lib/report-models.ts:82

Commands with the highest spaghetti scores.


largestCommandDistances

largestCommandDistances: RankedCommand[]

Defined in: lib/report-models.ts:96

Commands with the largest total distance.


longestCommandChains

longestCommandChains: RankedCommand[]

Defined in: lib/report-models.ts:94

Commands with the longest propagated call chains.


scoreTrend

scoreTrend: HistoricalSnapshot & object[]

Defined in: lib/report-models.ts:98

Caller-provided historical scores plus the current score and deltas.