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

mbarbin / cubzzle / 69 / 1
78%
master: 71%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 18 Jul 2024 12:09PM UTC
Files 13
Run time 0s
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

18 Jul 2024 12:01PM UTC coverage: 77.707% (+1.9%) from 75.851%
69.1

Pull #1

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.
Pull Request #1: Force unused code warnings in ppx generated code

244 of 314 relevant lines covered (77.71%)

2169291.51 hits per line

Source Files on job 69.1
  • Tree
  • List 13
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 69
  • 85d025cf on github
  • Prev Job for on force-unused-code-warnings (#68.1)
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