center-for-threat-informed-defense / attack-workbench-rest-api

An application allowing users to explore, create, annotate, and share extensions of the MITRE ATT&CK® knowledge base. This repository contains the REST API service for storing, querying, and editing ATT&CK objects.
https://ctid.mitre-engenuity.org/
Apache License 2.0
40 stars 22 forks source link

Refactored references service #315

Closed vsun757 closed 9 months ago

sonarcloud[bot] commented 11 months ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
8.0% 8.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

codecov[bot] commented 11 months ago

Codecov Report

Attention: 94 lines in your changes are missing coverage. Please review.

Files Coverage Δ
app/controllers/references-controller.js 79.78% <100.00%> (+0.21%) :arrow_up:
app/models/asset-model.js 100.00% <100.00%> (ø)
app/models/subschemas/stix-core.js 100.00% <100.00%> (ø)
app/repository/_base.repository.js 64.00% <100.00%> (ø)
app/repository/references-repository.js 100.00% <100.00%> (ø)
app/routes/assets-routes.js 100.00% <100.00%> (ø)
app/services/assets-service.js 100.00% <100.00%> (ø)
app/services/attack-objects-service.js 81.49% <100.00%> (ø)
app/services/campaigns-service.js 60.58% <100.00%> (ø)
app/services/collection-bundles-service.js 78.01% <100.00%> (ø)
... and 14 more

... and 3 files with indirect coverage changes

:loudspeaker: Thoughts on this report? Let us know!.