Skip to content

Fix SonarQube code quality issues #43

Fix SonarQube code quality issues

Fix SonarQube code quality issues #43

Triggered via pull request November 11, 2025 21:31
Status Failure
Total duration 27s
Artifacts

pr-tests.yml

on: pull_request
Matrix: test
Audit Examples
0s
Audit Examples
PR Checks Summary
3s
PR Checks Summary
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 8 warnings
Test on Node.js 22.x
Process completed with exit code 1.
Test on Node.js 22.x: tests/production-validation.test.ts#L50
'major' is assigned a value but never used
Test on Node.js 22.x: tests/production-validation.test.ts#L34
'NodeJS' is not defined
Test on Node.js 22.x: tests/production-validation.test.ts#L15
'TEST_FIXTURES' is defined but never used
Test on Node.js 22.x: tests/helpers/test-utils.ts#L67
'BufferEncoding' is not defined
Test on Node.js 22.x: tests/helpers/test-utils.ts#L65
'NodeJS' is not defined
Test on Node.js 22.x: tests/cli-production-mode.test.ts#L18
'SUPPORTED_NODE_VERSIONS' is defined but never used
Test on Node.js 22.x: tests/cli-production-mode.test.ts#L17
'getCurrentNodeMajorVersion' is defined but never used
Test on Node.js 23.x
Process completed with exit code 1.
Test on Node.js 23.x: tests/production-validation.test.ts#L50
'major' is assigned a value but never used
Test on Node.js 23.x: tests/production-validation.test.ts#L34
'NodeJS' is not defined
Test on Node.js 23.x: tests/production-validation.test.ts#L15
'TEST_FIXTURES' is defined but never used
Test on Node.js 23.x: tests/helpers/test-utils.ts#L67
'BufferEncoding' is not defined
Test on Node.js 23.x: tests/helpers/test-utils.ts#L65
'NodeJS' is not defined
Test on Node.js 23.x: tests/cli-production-mode.test.ts#L18
'SUPPORTED_NODE_VERSIONS' is defined but never used
Test on Node.js 23.x: tests/cli-production-mode.test.ts#L17
'getCurrentNodeMajorVersion' is defined but never used
Test on Node.js 20.x
Process completed with exit code 1.
Test on Node.js 20.x: tests/production-validation.test.ts#L50
'major' is assigned a value but never used
Test on Node.js 20.x: tests/production-validation.test.ts#L34
'NodeJS' is not defined
Test on Node.js 20.x: tests/production-validation.test.ts#L15
'TEST_FIXTURES' is defined but never used
Test on Node.js 20.x: tests/helpers/test-utils.ts#L67
'BufferEncoding' is not defined
Test on Node.js 20.x: tests/helpers/test-utils.ts#L65
'NodeJS' is not defined
Test on Node.js 20.x: tests/cli-production-mode.test.ts#L18
'SUPPORTED_NODE_VERSIONS' is defined but never used
Test on Node.js 20.x: tests/cli-production-mode.test.ts#L17
'getCurrentNodeMajorVersion' is defined but never used
Test on Node.js 24.x
Process completed with exit code 1.
Test on Node.js 24.x: tests/production-validation.test.ts#L50
'major' is assigned a value but never used
Test on Node.js 24.x: tests/production-validation.test.ts#L34
'NodeJS' is not defined
Test on Node.js 24.x: tests/production-validation.test.ts#L15
'TEST_FIXTURES' is defined but never used
Test on Node.js 24.x: tests/helpers/test-utils.ts#L67
'BufferEncoding' is not defined
Test on Node.js 24.x: tests/helpers/test-utils.ts#L65
'NodeJS' is not defined
Test on Node.js 24.x: tests/cli-production-mode.test.ts#L18
'SUPPORTED_NODE_VERSIONS' is defined but never used
Test on Node.js 24.x: tests/cli-production-mode.test.ts#L17
'getCurrentNodeMajorVersion' is defined but never used
PR Checks Summary
Process completed with exit code 1.
Test on Node.js 22.x: src/cli/program.ts#L591
Async arrow function has a complexity of 16. Maximum allowed is 15
Test on Node.js 22.x: src/cli/localized-program.ts#L70
Arrow function has a complexity of 16. Maximum allowed is 15
Test on Node.js 23.x: src/cli/program.ts#L591
Async arrow function has a complexity of 16. Maximum allowed is 15
Test on Node.js 23.x: src/cli/localized-program.ts#L70
Arrow function has a complexity of 16. Maximum allowed is 15
Test on Node.js 20.x: src/cli/program.ts#L591
Async arrow function has a complexity of 16. Maximum allowed is 15
Test on Node.js 20.x: src/cli/localized-program.ts#L70
Arrow function has a complexity of 16. Maximum allowed is 15
Test on Node.js 24.x: src/cli/program.ts#L591
Async arrow function has a complexity of 16. Maximum allowed is 15
Test on Node.js 24.x: src/cli/localized-program.ts#L70
Arrow function has a complexity of 16. Maximum allowed is 15