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

safe-global / safe-modules / 6613876244
85%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2023 01:22PM UTC
Jobs 1
Files 9
Run time 1s
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

23 Oct 2023 01:21PM UTC coverage: 76.166% (+6.3%) from 69.856%
6613876244

push

github

web-flow
Increase Coverage By Removing Code (#104)

In implementing #87, I realised that a lot of the missing code coverage
by lines were in the `UserOperationLib` source file. Since this is only
used by test contracts (in particular the test entry point and the mock
4337 Safe), I moved the code around/cleaned up dead code to increase the
coverage of the "main" contracts. In particular:

* The `UserOperation` struct definition moved to the 4337 interface file
(felt natural as the struct is part of the 4337 account interface)
* Moved the `UserOperationLib` library to the `test/` subdirectory, the
only place it was being used
* I also got rid of some dead code, library functions that weren't being
used anywhere
* Deduplicated the `Account` interface from the test entry point
* Fixed some Solidity warning lints (that weren't causing CI errors -
should we change CI to fail on these warnings as well?)

44 of 76 branches covered (0.0%)

Branch coverage included in aggregate %.

9 of 9 new or added lines in 3 files covered. (100.0%)

103 of 117 relevant lines covered (88.03%)

5.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6613876244.1 23 Oct 2023 01:22PM UTC 9
76.17
GitHub Action Run
Source Files on build 6613876244
  • Tree
  • List 9
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8a887dd8 on github
  • Prev Build on master (#6613772213)
  • Next Build on master (#6624176320)
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

© 2025 Coveralls, Inc