Installations
npm install mocha-reporter-sonarqube
Developer
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
18.20.4
NPM Version
10.7.0
Statistics
1 Stars
988 Commits
1 Forks
3 Watching
1 Branches
4 Contributors
Updated on 26 Nov 2024
Languages
TypeScript (98.9%)
JavaScript (1.1%)
Total Downloads
Cumulative downloads
Total Downloads
444,269
Last day
-41.7%
1,206
Compared to previous day
Last week
-21.6%
6,358
Compared to previous week
Last month
23%
32,100
Compared to previous month
Last year
87.9%
240,488
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
mocha-reporter-sonarqube
Mocha reporter for SonarQube / SonarCloud
See https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/test-coverage/generic-test-data/#generic-test-execution for details.
Installation
1npm i -D mocha-reporter-sonarqube
Usage
1mocha -R mocha-reporter-sonarqube -O filename=report.xml
if the filename
option is not specified, the report will be written to process.stdout
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
all dependencies are pinned
Details
- Info: 21 out of 21 GitHub-owned GitHubAction dependencies pinned
- Info: 13 out of 13 third-party GitHubAction dependencies pinned
- Info: 5 out of 5 npmCommand dependencies pinned
Reason
GitHub workflow tokens follow principle of least privilege
Details
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/build.yml:33
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:21
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:22
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/dependency-review.yml:14
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/lint.yml:24
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/lint.yml:57
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/npm-publish.yml:16
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/npm-publish.yml:60
- Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/npm-publish.yml:61
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/package-audit.yml:19
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/push-tag.yml:55
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/push-tag.yml:16
- Info: topLevel 'contents' permission set to 'read': .github/workflows/build.yml:11
- Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:14
- Info: topLevel 'contents' permission set to 'read': .github/workflows/dependency-review.yml:7
- Info: topLevel 'contents' permission set to 'read': .github/workflows/lint.yml:11
- Info: topLevel 'contents' permission set to 'read': .github/workflows/npm-publish.yml:10
- Info: topLevel 'contents' permission set to 'read': .github/workflows/package-audit.yml:12
- Info: topLevel 'contents' permission set to 'read': .github/workflows/push-tag.yml:9
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
SAST tool is run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Info: all commits (30) are checked with a SAST tool
Reason
0 existing vulnerabilities detected
Reason
Found 0/24 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Score
7.2
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to mocha-reporter-sonarqube
mocha-sonarqube-reporter
mocha reporter for sonar (>6)
mocha-junit-reporter
A JUnit reporter for mocha.
karma-sonarqube-reporter
A karma reporter plugin for generating Sonarqube generic test reports
karma-sonarqube-unit-reporter
A Karma plugin. Report results in sonar-unit-tests xml format.