9× javascript:S2137 (re-declares Function/Object/Array/String/Boolean/Number/Date/RegExp/Error to build the sandbox global environment) — lines 645, 816, 1075, 1581, 1832, 1856, 1941, 2019, 2156
1× javascript:S3403 (=== on differing types) — line 3796
1× javascript:S905 (expression statement) — line 3655
Its sibling parser acorn.js in the same assets/scripts/ directory is already in sonar.exclusions — interpreter.js was simply missed when that list was written (see existing exclusion note referencing #250).
Fix
Add **/assets/scripts/interpreter.js to sonar.exclusions in sonar-project.properties, matching the existing vendored-code exclusion pattern. This clears the 11 findings at the source and prevents regeneration. No runtime/app-build impact (Sonar-analysis scope only).
Resolved in spikersoft-angular PR #455 (merged): interpreter.js + serialize.js added to sonar.exclusions alongside acorn.js — clears the ~561 vendored findings on next scan. Closing.
Resolved in spikersoft-angular PR #455 (merged): interpreter.js + serialize.js added to sonar.exclusions alongside acorn.js — clears the ~561 vendored findings on next scan. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
projects/spikersoft/src/assets/scripts/interpreter.jsis a vendored third-party library — Neil Fraser's JS-Interpreter (Apache-2.0, © 2013), used for sandboxed JS execution. It is not our code, yet it is analyzed by SonarQube and generates 11 reliability findings that are all intrinsic to that engine:javascript:S2137(re-declaresFunction/Object/Array/String/Boolean/Number/Date/RegExp/Errorto build the sandbox global environment) — lines 645, 816, 1075, 1581, 1832, 1856, 1941, 2019, 2156javascript:S3403(===on differing types) — line 3796javascript:S905(expression statement) — line 3655Its sibling parser
acorn.jsin the sameassets/scripts/directory is already insonar.exclusions—interpreter.jswas simply missed when that list was written (see existing exclusion note referencing #250).Fix
Add
**/assets/scripts/interpreter.jstosonar.exclusionsinsonar-project.properties, matching the existing vendored-code exclusion pattern. This clears the 11 findings at the source and prevents regeneration. No runtime/app-build impact (Sonar-analysis scope only).SonarQube
Project
learn.spikersoft.com— https://sonarqube.spikersoft.com/dashboard?id=learn.spikersoft.comThe 11 findings were marked accept (vendored, not our code) pending this exclusion.
Filed from the SonarQube reliability-backlog triage loop.
Resolved in spikersoft-angular PR #455 (merged): interpreter.js + serialize.js added to sonar.exclusions alongside acorn.js — clears the ~561 vendored findings on next scan. Closing.