Skip to content

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

PropertyTypeDescriptionDefined in
dependenciesDependencyEntry[]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.filesScannednumber-packages/detector/src/detector.ts:99
statistics.llmCallsnumber-packages/detector/src/detector.ts:101
statistics.totalLatencyMsnumber-packages/detector/src/detector.ts:103
statistics.totalTokensnumber-packages/detector/src/detector.ts:102
statistics.urlsFoundnumber-packages/detector/src/detector.ts:100

Released under the MIT License.