repowiseportkey-ai/gateway

Code health of portkey-ai/gateway

Repowise scores portkey-ai/gateway at 7.4 out of 10 for code health, which reads as good, alongside maintainability 7.8 and static performance 9.9 on the same scale. There are 929 open findings across the three pillars, and the lowest-scoring file is handlerUtils.ts at 1.9. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

41 critical, 147 high, 212 medium, 182 low.

Dead code and refactoring

Repowise found 114 unused exports. 91 refactoring targets across 91 files would raise the score.

More on gateway: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language