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

GrottoCenter / grottocenter-api / 15926998058
43%
develop: 85%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/sinon-21.0.1
DEFAULT BRANCH: develop
Ran 27 Jun 2025 01:07PM UTC
Jobs 1
Files 313
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

27 Jun 2025 01:02PM UTC coverage: 42.789% (-2.4%) from 45.194%
15926998058

push

github

YohannSchatt
feat(api): add marc record services and controller

  - add GET /api/v1/bibliographicMetadata/:id/format/:format
    - :format -> marcFormat-country
    - marcFormat can be 'unimarc' or 'marc21'
    - country can be 'it' or 'default' (if not specify, set to'default')
  - add policies in policies.js
  - add services in services/BibliographicMetadataService.js
    - getRecordFormat(id, format, country) -> returns the MARC record
  - add convertors format and country specification
  - marcRecord class to handle MARC records fields and subfields

729 of 2389 branches covered (30.51%)

Branch coverage included in aggregate %.

28 of 312 new or added lines in 10 files covered. (8.97%)

2487 of 5127 relevant lines covered (48.51%)

4.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
50.0
api/services/marcConvertor/country/Default.js
6
7.69
api/services/marcConvertor/country/It.js
7
18.18
api/services/BibliographicMetadataService.js
9
18.75
api/controllers/v1/bibliographicMetadata/get-record-format.js
9
18.75
api/controllers/v1/record/get-record-format.js
20
23.08
api/services/MarcConvertorService.js
24
2.7
api/services/marcConvertor/Utils.js
40
4.55
api/services/marcConvertor/MarcRecord.js
78
2.4
api/services/marcConvertor/format/Marc21.js
90
1.89
api/services/marcConvertor/format/Unimarc.js
Jobs
ID Job ID Ran Files Coverage
1 15926998058.1 27 Jun 2025 01:07PM UTC 313
42.79
GitHub Action Run
Source Files on build 15926998058
  • Tree
  • List 313
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 90387d18 on github
  • Prev Build on develop (#15810833234)
  • Next Build on feature/marc_convertor (#16052110832)
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