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

safe-global / safe-client-gateway / 17973729228
89%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2025 10:27AM UTC
Jobs 1
Files 954
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Sep 2025 10:21AM UTC coverage: 89.11% (-0.1%) from 89.218%
17973729228

push

github

web-flow
feat(safe-shield): foundation setup (#2703)

* feat: add Safe Shield analysis entities and schemas

This commit introduces a comprehensive set of entities and schemas for the Safe Shield security analysis system. New files include definitions for analysis results, API request and response structures, various status codes (recipient, contract, bridge, threat), and severity levels. These additions provide a structured approach to analyzing transaction security across different entities, enhancing the overall functionality of the Safe Shield module.

* test: add comprehensive unit tests for analysis results, API schemas, severity, and status entities

* feat: add basic setup for Safe Shield module and services for transaction analysis

* refactor: split StatusGroup into separate enums for recipient + contract

* fix: linter issues

* fix: import types

* fix: formatting

* refactor: rename AnyStatus to AnalysisStatus and update related schemas

* refactor: rename files for analysis request and response schemas for better clarity

* refactor: remove unused logger instances from analysis services

* refactor: use z.enum instead of z.nativeEnum

* refactor: simplify Severity enum and remove unused functions

* test: add builders and refactor tests

* fix: formatting

* refactor: update analysis response and result builders to use dedicated builder instances

* refactor: replace builder classes with function-based builders for analysis requests, responses, and results

* refactor: remove index file for builders

* refactor: delete index file for entities

* fix: formatting

* refactor: convert BridgeStatus from enum to const array and update related tests

* refactor: convert ContractStatus from enum to const array and update related tests

* refactor: convert RecipientStatus from enum to const array and update related tests

* refactor: convert StatusGroup, RecipientStatusGroup + ContractStatusGroup from enum to const array and update related tests

* refac... (continued)

3621 of 4468 branches covered (81.04%)

Branch coverage included in aggregate %.

56 of 85 new or added lines in 17 files covered. (65.88%)

1 existing line in 1 file now uncovered.

12474 of 13594 relevant lines covered (91.76%)

533.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
src/modules/safe-shield/contract-analysis/contract-analysis.service.ts
2
0.0
src/modules/safe-shield/recipient-analysis/recipient-analysis.service.ts
2
0.0
src/modules/safe-shield/threat-analysis/threat-analysis.service.ts
3
0.0
src/modules/safe-shield/contract-analysis/contract-analysis.module.ts
3
0.0
src/modules/safe-shield/recipient-analysis/recipient-analysis.module.ts
3
0.0
src/modules/safe-shield/threat-analysis/threat-analysis.module.ts
6
0.0
src/modules/safe-shield/safe-shield.module.ts
8
0.0
src/modules/safe-shield/safe-shield.service.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.67
3.8% src/routes/notifications/v1/notifications.controller.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 17973729228.1 24 Sep 2025 10:27AM UTC 1907
90.19
GitHub Action Run
Source Files on build 17973729228
  • Tree
  • List 954
  • Changed 254
  • Source Changed 0
  • Coverage Changed 254
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17973729228
  • 0b62a04d on github
  • Prev Build on main (#17949747682)
  • Next Build on main (#18011103733)
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