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

OpenRefine / OpenRefine / 12095503980
51%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2024 10:06AM UTC
Jobs 1
Files 669
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

30 Nov 2024 10:03AM UTC coverage: 49.178% (-0.003%) from 49.181%
12095503980

push

github

web-flow
Introduce AbstractOperation::validate() to check operation parameters (#6908)

Most operations don't check their parameters before execution, so when
they are deserialized from invalid JSON payloads, this can lead to
execution errors which ought to be prevented earlier.

This introduces a validate() method on operations giving them the
opportunity to check the validity of their parameters. It would
intuitively be more natural to do those checks in the operation
constructors, as it would guarantee that if you have an instance of an
operation, it has suitable parameters, but if we were to do this, we
would run into the risk that deserializing operations fail at the
loading of a project (for instance: say I use an extension which
provides a custom expression language, which I then use in an operation.
If I then remove the extension, I wouldn't be able to open my project
anymore)

For now this PR just contains the basic scaffold without implementing
any checks in any operation, just to validate the general approach.

5347 of 12350 branches covered (43.3%)

Branch coverage included in aggregate %.

13357 of 25683 relevant lines covered (52.01%)

2.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Java - 12095503980.1 30 Nov 2024 10:06AM UTC 0
49.18
GitHub Action Run
Source Files on build 12095503980
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12095503980
  • 2f39d48d on github
  • Prev Build on master (#12068650572)
  • Next Build on master (#12096125919)
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