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

mbarbin / cubzzle / 71
84%
master: 71%

Build:
Build:
LAST BUILD BRANCH: test-setup-dune-repkg
DEFAULT BRANCH: master
Ran 25 Jul 2024 04:47PM UTC
Jobs 1
Files 13
Run time 1min
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

25 Jul 2024 04:38PM UTC coverage: 77.707% (+1.9%) from 75.851%
71

push

github

mbarbin
Enable unused code warnings in ppx generated code

This required two small tweaks:

 - 1. Remove the `[@@deriving fields]` as most of what is generated is
   unused. The only used value is the getter `size`.

There is [@deriving fields ~getters] available, to only generate the
getters, but currently I couldn't find a way to make the ppx only
generate the single [size] getter. Thus resorting to add the getter
manually.

- 2. Upon removing the accessor code, another warning was revealed

File "src/box.ml", lines 3-4, characters 4-3:
3 | ....z_shape : Z_shape.t
4 |   ;.............................................
Error (warning 69 [unused-field]): record field z_shape is never read.

Thus I removed it from the record.

2 of 2 new or added lines in 1 file covered. (100.0%)

244 of 314 relevant lines covered (77.71%)

2169291.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 71.1 25 Jul 2024 04:47PM UTC 13
77.71
GitHub Action Run
Source Files on build 71
  • Tree
  • List 13
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a2b3002f on github
  • Prev Build on main (#68)
  • Next Build on main (#72)
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