All files src/lib/middleware

92.09% Statements 128/139
75.56% Branches 34/45
96.3% Functions 26/27
92.03% Lines 127/138

Press n or j to go to the next uncovered block, b, p or k for the previous block.

File Statements Branches Functions Lines
api-token-middleware.ts
95.65% 22/23 87.5% 7/8 100% 4/4 95.45% 21/22
content_type_checker.ts
100% 10/10 100% 3/3 100% 2/2 100% 10/10
demo-authentication.ts
91.3% 21/23 62.5% 5/8 100% 5/5 91.3% 21/23
no-authentication.ts
100% 6/6 50% 1/2 100% 2/2 100% 6/6
oss-authentication.ts
78.57% 11/14 60% 3/5 100% 3/3 78.57% 11/14
rbac-middleware.ts
100% 24/24 100% 9/9 100% 3/3 100% 24/24
request-logger.ts
72.73% 8/11 0% 0/1 66.67% 2/3 72.73% 8/11
response-time-metrics.ts
100% 9/9 100% 2/2 100% 2/2 100% 9/9
secure-headers.ts
87.5% 7/8 0% 0/1 100% 2/2 87.5% 7/8
session-db.ts
90.91% 10/11 66.67% 4/6 100% 1/1 90.91% 10/11