dependabit / detector/src / DetectionResult
Interface: DetectionResult
Defined in: packages/detector/src/detector.ts:94
The result produced by Detector.detectDependencies or Detector.analyzeFiles.
Remarks
statistics are informational only — they track how many LLM calls were made and the cumulative token cost. Do not rely on llmCalls being zero as an indicator that the LLM was not consulted; programmatic classification may succeed without any LLM calls.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
dependencies | DependencyEntry[] | Discovered dependency entries ready for merging into a manifest. | packages/detector/src/detector.ts:96 |
statistics | { filesScanned: number; llmCalls: number; totalLatencyMs: number; totalTokens: number; urlsFound: number; } | Diagnostic counters for the scan run. | packages/detector/src/detector.ts:98 |
statistics.filesScanned | number | - | packages/detector/src/detector.ts:99 |
statistics.llmCalls | number | - | packages/detector/src/detector.ts:101 |
statistics.totalLatencyMs | number | - | packages/detector/src/detector.ts:103 |
statistics.totalTokens | number | - | packages/detector/src/detector.ts:102 |
statistics.urlsFound | number | - | packages/detector/src/detector.ts:100 |