# types/code.types.ts

> 17 lines of code and 2 definitions.

Tree: GovLab Stats
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/stats#file-stats-types-code-types-ts
Source text: https://banes-lab.com/source/stats/types/code.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/stats/types.md), after [types/catalog.types.ts](https://banes-lab.com/source/stats/types/catalog.types.ts.md) and before [types/config.types.ts](https://banes-lab.com/source/stats/types/config.types.ts.md).

## Definitions

- `AnalysisStats` (interface_declaration, line 1, exported)
- `ModuleAnalysis` (interface_declaration, line 12, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/stats/folder-stats-types.md)

## Source

```typescript
export interface AnalysisStats {
    byFlow: Map<string, number>;
    definitions: number;
    edges: number;
    modulesAnalyzed: number;
    producer: string;
    resolutionRate: number;
    topByDefinitions: { definitions: number; module: string }[];
    unresolvedCalls: number;
}

export interface ModuleAnalysis {
    definitions: number;
    edges: number;
    flows: string[];
    module: string;
    unresolvedCalls: number;
}
```
