• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 18004330328

25 Sep 2025 10:16AM UTC coverage: 87.972% (-1.2%) from 89.219%
18004330328

Pull #2712

github

LucieFaire
extract complex logic to separate func

Signed-off-by: dsh <11198975+LucieFaire@users.noreply.github.com>
Pull Request #2712: feat: Contract verification analysis

3623 of 4594 branches covered (78.86%)

Branch coverage included in aggregate %.

99 of 235 new or added lines in 22 files covered. (42.13%)

57 existing lines in 9 files now uncovered.

12504 of 13738 relevant lines covered (91.02%)

525.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/src/modules/safe-shield/utils/common.ts
1
import type { CacheDir } from '@/datasources/cache/entities/cache-dir.entity';
2
import { LogType } from '@/domain/common/entities/log-type.entity';
2✔
3
import type { ILoggingService } from '@/logging/logging.interface';
4

5
export function logCacheHit(
2✔
6
  cacheDir: CacheDir,
7
  loggingService: ILoggingService,
8
): void {
NEW
9
  loggingService.debug({
×
10
    type: LogType.CacheHit,
11
    key: cacheDir.key,
12
    field: cacheDir.field,
13
  });
14
}
15

16
export function logCacheMiss(
2✔
17
  cacheDir: CacheDir,
18
  loggingService: ILoggingService,
19
): void {
NEW
20
  loggingService.debug({
×
21
    type: LogType.CacheMiss,
22
    key: cacheDir.key,
23
    field: cacheDir.field,
24
  });
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc