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

pkiraly / metadata-qa-marc / #1527

22 Aug 2025 02:21PM UTC coverage: 90.345%. Remained the same
#1527

push

pkiraly
Improve timeline handling

5191 of 6416 new or added lines in 219 files covered. (80.91%)

886 existing lines in 78 files now uncovered.

36717 of 40641 relevant lines covered (90.34%)

0.9 hits per line

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

80.0
/src/main/java/de/gwdg/metadataqa/marc/cli/utils/PicaPathSelector.java
1
package de.gwdg.metadataqa.marc.cli.utils;
2

3
import de.gwdg.metadataqa.api.json.DataElement;
4
import de.gwdg.metadataqa.api.model.XmlFieldInstance;
5
import de.gwdg.metadataqa.marc.dao.record.BibliographicRecord;
6
import de.gwdg.metadataqa.marc.utils.pica.path.PicaSpec;
7

8
import java.util.List;
9

10
public class PicaPathSelector extends BibSelector {
11
  public PicaPathSelector(BibliographicRecord bibliographicRecord) {
12
    super(bibliographicRecord);
1✔
13
  }
1✔
14

15
  @Override
16
  public List<XmlFieldInstance> get(String path) {
17
    return transformTags(extract(path));
1✔
18
  }
19

20
  public List<XmlFieldInstance> get(DataElement dataElement) {
NEW
21
    return get(dataElement.getPath());
×
22
  }
23

24
  public List<String> extract(String path) {
25
    return record.select(new PicaSpec(path));
1✔
26
  }
27

28
}
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