Skip to content

Add guardrails to Profiler class #536

Add guardrails to Profiler class

Add guardrails to Profiler class #536

Re-run triggered June 30, 2023 05:20
Status Failure
Total duration 1m 17s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 27 warnings
Tests (20)
Process completed with exit code 1.
Tests (16)
Process completed with exit code 1.
Tests (18)
The job was canceled because "_16" failed.
Tests (18)
Process completed with exit code 1.
Tests (20): lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (20): lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (20): lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
Tests (20): lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (20): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
Tests (20): lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
Tests (20): lib/winston/transports/console.js#L44
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (20): lib/winston/transports/file.js#L268
'buff' is already declared in the upper scope on line 222 column 9
Tests (20): lib/winston/transports/file.js#L329
'options' is already declared in the upper scope on line 214 column 9
Tests (16): lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (16): lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (16): lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
Tests (16): lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (16): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
Tests (16): lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
Tests (16): lib/winston/transports/console.js#L44
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (16): lib/winston/transports/file.js#L268
'buff' is already declared in the upper scope on line 222 column 9
Tests (16): lib/winston/transports/file.js#L329
'options' is already declared in the upper scope on line 214 column 9
Tests (18): lib/winston/logger.js#L81
Method 'configure' has too many statements (24). Maximum allowed is 15
Tests (18): lib/winston/logger.js#L81
Method 'configure' has a complexity of 19. Maximum allowed is 11
Tests (18): lib/winston/logger.js#L207
Method 'log' has too many statements (26). Maximum allowed is 15
Tests (18): lib/winston/logger.js#L207
Method 'log' has a complexity of 12. Maximum allowed is 11
Tests (18): lib/winston/tail-file.js#L63
Arrow function has too many statements (30). Maximum allowed is 15
Tests (18): lib/winston/tail-file.js#L63
Arrow function has a complexity of 13. Maximum allowed is 11
Tests (18): lib/winston/transports/console.js#L44
Method 'log' has too many statements (19). Maximum allowed is 15
Tests (18): lib/winston/transports/file.js#L268
'buff' is already declared in the upper scope on line 222 column 9
Tests (18): lib/winston/transports/file.js#L329
'options' is already declared in the upper scope on line 214 column 9