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 teams service #348

Closed vsun757 closed 6 months ago

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 62.02186% with 139 lines in your changes are missing coverage. Please review.

Project coverage is 70.39%. Comparing base (914a510) to head (7f3178d). Report is 1 commits behind head on project-orion.

Files Patch % Lines
app/services/teams-service.js 57.14% 60 Missing :warning:
app/controllers/teams-controller.js 48.68% 39 Missing :warning:
app/repository/teams-repository.js 71.20% 36 Missing :warning:
app/exceptions/index.js 85.71% 2 Missing :warning:
app/repository/user-accounts-repository.js 50.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## project-orion #348 +/- ## ================================================= + Coverage 70.26% 70.39% +0.13% ================================================= Files 151 151 Lines 14365 14373 +8 Branches 1667 1660 -7 ================================================= + Hits 10093 10118 +25 + Misses 4262 4245 -17 Partials 10 10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 6 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
10.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud