Feature/defi r (#1188) #1189
Feature/defi r (#1188) #1189
Quality Gate failed
- 46.20% Coverage on New Code (is less than 80.00%)
- 6 New Issues (is greater than 0)
Analysis Details
6 Issues
Coverage and Duplications
Project ID: sora2:sora2-wallet-web
Annotations
Check failure on line 66 in src/components/mixins/OperationsMixin.ts
soramitsu-sonar-pr-decoration / sora2-wallet-web Sonarqube Results
src/components/mixins/OperationsMixin.ts#L66
Refactor this function to reduce its Cognitive Complexity from 30 to the 15 allowed.
Check warning on line 42 in src/components/AssetListItem.vue
soramitsu-sonar-pr-decoration / sora2-wallet-web Sonarqube Results
src/components/AssetListItem.vue#L42
Remove this unused import of 'state'.
Check notice on line 211 in src/components/AssetDetails/AssetDetailsTransferable.vue
soramitsu-sonar-pr-decoration / sora2-wallet-web Sonarqube Results
src/components/AssetDetails/AssetDetailsTransferable.vue#L211
Complete the task associated to this "TODO" comment.
Check notice on line 356 in src/components/AssetDetails/AssetDetailsTransferable.vue
soramitsu-sonar-pr-decoration / sora2-wallet-web Sonarqube Results
src/components/AssetDetails/AssetDetailsTransferable.vue#L356
Complete the task associated to this "TODO" comment.
Check warning on line 368 in src/components/AssetDetails/AssetDetailsTransferable.vue
soramitsu-sonar-pr-decoration / sora2-wallet-web Sonarqube Results
src/components/AssetDetails/AssetDetailsTransferable.vue#L368
Replace this "switch" statement by "if" statements to increase readability.
Check warning on line 271 in src/store/account/actions.ts
soramitsu-sonar-pr-decoration / sora2-wallet-web Sonarqube Results
src/store/account/actions.ts#L271
Remove this useless assignment to variable "sbtAssetsList".