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

IQSS / dataverse / #24331
23%
develop: 24%

Build:
Build:
LAST BUILD BRANCH: 12096-fix-ok-message-nested-object
DEFAULT BRANCH: develop
Ran 24 Jan 2025 04:34PM UTC
Jobs 1
Files 925
Run time 3min
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

24 Jan 2025 04:20PM UTC coverage: 22.733% (-0.02%) from 22.753%
#24331

Pull #11001

github

pdurbin
stop loading Codemeta in Docker, add setDisplayOnCreate API #10519

In Docker, we were testing with the Codemeta block. This made for a nice
real-world story of creating a "software" dataset type and using it with
the Codemeta block.

The Codemeta block also has the advantage of having some fields that are
set to displayOnCreate, which helped us make assertions that the code is
working properly. It's the only non-citation block with fields set to
displayOnCreate.

However, Jenkins doesn't have the Codemeta block, meaning that tests are
failing. Also, we aren't ready to promote the Codemeta block to be
shipped with Dataverse because a new version is out:
https://github.com/IQSS/dataverse/issues/10859

So, we are switching from Codemeta to the Astrophysics block. We create
an "instrument" dataset type. Like all non-citation blocks (except for
Codemeta), there are no fields that are set to displayOnCreate=true.
Therefore, we added an API for this.
Pull Request #11001: allow links between dataset types and metadata blocks

2 of 103 new or added lines in 8 files covered. (1.94%)

3 existing lines in 3 files now uncovered.

19801 of 87102 relevant lines covered (22.73%)

0.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
5.18
-0.01% src/main/java/edu/harvard/iq/dataverse/api/Dataverses.java
2
35.6
0.0% src/main/java/edu/harvard/iq/dataverse/util/json/JsonPrinter.java
6
38.65
-0.84% src/main/java/edu/harvard/iq/dataverse/api/DatasetFieldServiceApi.java
9
40.0
-23.64% src/main/java/edu/harvard/iq/dataverse/dataset/DatasetType.java
9
0.0
src/main/java/edu/harvard/iq/dataverse/engine/command/impl/UpdateDatasetTypeLinksToMetadataBlocksCommand.java
11
0.0
0.0% src/main/java/edu/harvard/iq/dataverse/engine/command/impl/ListMetadataBlocksCommand.java
27
15.03
-0.57% src/main/java/edu/harvard/iq/dataverse/DatasetFieldServiceBean.java
35
0.16
-0.0% src/main/java/edu/harvard/iq/dataverse/api/Datasets.java

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% src/main/java/edu/harvard/iq/dataverse/engine/command/impl/ListMetadataBlocksCommand.java
1
15.03
-0.57% src/main/java/edu/harvard/iq/dataverse/DatasetFieldServiceBean.java
1
5.18
-0.01% src/main/java/edu/harvard/iq/dataverse/api/Dataverses.java
Jobs
ID Job ID Ran Files Coverage
1 #24331.1 24 Jan 2025 04:34PM UTC 925
22.73
Source Files on build #24331
  • Tree
  • List 925
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #11001
  • PR Base - develop (#)
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