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

IQSS / dataverse / #22821

31 Jul 2024 06:55PM UTC coverage: 20.741% (+0.08%) from 20.659%
#22821

push

github

web-flow
Use JsonUtil.getJsonX more often (#10071)

* Update MetricsUtilTest classifiers

* Add private MetricsUtil constructor

* Make public static field also final

This looks like it should have been final

* Use Java's standard order of field classifiers

* Use empty diamond with generic constructors

* Return value directly

* Put long notes at top of javadoc

* Call JsonUtil.getJsonX to prevent resource leak

And add javadoc to the methods

* Test StringToJsonX returns null on null

3 of 9 new or added lines in 1 file covered. (33.33%)

2 existing lines in 1 file now uncovered.

17448 of 84125 relevant lines covered (20.74%)

0.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

36.81
/src/main/java/edu/harvard/iq/dataverse/metrics/MetricsUtil.java


Source Not Available

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