Skip to content

refactor: improve maintainability #97

refactor: improve maintainability

refactor: improve maintainability #97

Triggered via pull request September 30, 2025 07:06
Status Success
Total duration 15m 2s
Artifacts 2

pr-test.yml

on: pull_request
check-code
35s
check-code
npm-dry-run  /  ...  /  build
40s
npm-dry-run / npm-publish / build
docker-dry-run  /  ...  /  build
5m 21s
docker-dry-run / docker-publish / build
Matrix: test-supported-node-versions
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
check-code: src/cli/utils/fs.js#L30
Complete the task associated to this "TODO" comment
check-code: src/cli/utils/fs.js#L29
Complete the task associated to this "TODO" comment
check-code: src/cli/utils/fs.js#L28
Complete the task associated to this "TODO" comment
check-code: src/cli/utils/chains.js#L63
Refactor this function to reduce its Cognitive Complexity from 32 to the 15 allowed
check-code: src/cli/cmd/iexec-wallet.js#L111
Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed
check-code: src/cli/cmd/iexec-task.js#L54
Refactor this function to reduce its Cognitive Complexity from 35 to the 15 allowed
check-code: src/cli/cmd/iexec-order.js#L423
Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed
check-code: src/cli/cmd/iexec-deal.js#L55
Refactor this code to not nest functions more than 4 levels deep
check-code: src/cli/cmd/iexec-app.js#L1188
Refactor this function to reduce its Cognitive Complexity from 26 to the 15 allowed
check-code: src/cli/cmd/iexec-app.js#L591
Refactor this function to reduce its Cognitive Complexity from 40 to the 15 allowed
npm-dry-run / npm-publish / build: src/cli/utils/fs.js#L30
Complete the task associated to this "TODO" comment
npm-dry-run / npm-publish / build: src/cli/utils/fs.js#L29
Complete the task associated to this "TODO" comment
npm-dry-run / npm-publish / build: src/cli/utils/fs.js#L28
Complete the task associated to this "TODO" comment
npm-dry-run / npm-publish / build: src/cli/utils/chains.js#L63
Refactor this function to reduce its Cognitive Complexity from 32 to the 15 allowed
npm-dry-run / npm-publish / build: src/cli/cmd/iexec-wallet.js#L111
Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed
npm-dry-run / npm-publish / build: src/cli/cmd/iexec-task.js#L54
Refactor this function to reduce its Cognitive Complexity from 35 to the 15 allowed
npm-dry-run / npm-publish / build: src/cli/cmd/iexec-order.js#L423
Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed
npm-dry-run / npm-publish / build: src/cli/cmd/iexec-deal.js#L55
Refactor this code to not nest functions more than 4 levels deep
npm-dry-run / npm-publish / build: src/cli/cmd/iexec-app.js#L1188
Refactor this function to reduce its Cognitive Complexity from 26 to the 15 allowed
npm-dry-run / npm-publish / build: src/cli/cmd/iexec-app.js#L591
Refactor this function to reduce its Cognitive Complexity from 40 to the 15 allowed

Artifacts

Produced during runtime
Name Size Digest
coverage Expired
535 KB
sha256:34e9bc013e81bac3c16d42932986a3ff3dd3e213dc8f4afe5d1bf420a65a6c0d
iExecBlockchainComputing~iexec-sdk~N0NNLV.dockerbuild Expired
43 KB
sha256:c4c260a6a309f699505efda84d82db8967a97e30f23e3ae38678230964b35461