Sonar Code Diff is used to run a diff between a test code base and known code base
Project description
Sonar Code Diff Plugin
Sonar Code Diff is used to run a diff between a test code base and known code base
Free software: MIT license
Documentation: https://sonar-code-diff.readthedocs.io.
Features
This is used to scan code that has been copied from a third party and you can’t guarantee that there haven’t been any changes. Run this scanner and point it to both the directory you are scanning and a copy of the original verified source. This will generate a report that can be imported directly into SonarQube.
In order to use, run a command like the following before running the sonar scanner:
$ sonar-code-diff diff --report_file=./.sonar-code-diff-reports/code.report ./components/Package/src /opt/verified_source/Package/src $ sonar-scanner -Dsonar.externalIssuesReportPaths=.sonar-code-diff-reports/code.report
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2022-06-01)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sonar_code_diff-0.5.0.tar.gz
.
File metadata
- Download URL: sonar_code_diff-0.5.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.8.2 requests/2.27.1 setuptools/62.1.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3b4a7598bfa3161f7303c3c28846bd3aa4e05665735c4a13d9a24c4f2e010ae |
|
MD5 | 5fb7d2c4e1165e291bcbbc237473f3a1 |
|
BLAKE2b-256 | 66a06e5222b82107cf8d35af683ccdef6cbf4ad6e0abc732323e5553f2d5b64d |
File details
Details for the file sonar_code_diff-0.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: sonar_code_diff-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.8.2 requests/2.27.1 setuptools/62.1.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b371cfbba3b6f86f5e8653a0ea7fc1bab3ee1f970180fd188fdbd38e9e91628b |
|
MD5 | e6f88741df435e69de4eea92702fcd05 |
|
BLAKE2b-256 | b914e084ad58fec23a2dc1a870f6001d0f0839557f53b272513db065124b0389 |