Sherlock
The tool for analyzing Robot Framework code in terms of not used code, code complexity or performance issues.
Note
The tool is in the Alpha state, which means it may be unstable and should be used at your own risk. Some features may be broken and there are still many things to be developed. If you find anything unexpected, or you have ideas for improvements not listed in GitHub issues, please open an new issue.
Installation
You can install the latest version of Sherlock simply by running:
pip install -U robotframework-sherlock
Sherlock requires Python 3.8+.
Usage
Sherlock can prepare analysis based on your source code alone. However, it's currently highly recommended to also include output of test execution.
Run Sherlock with:
sherlock --output <path to output.xml file> <path to source code repository>
To analyze external library/resource use --resource option:
sherlock --output output.xml --resource SeleniumLibrary src/
sherlock --output output.xml --resource external_repository_used_in_tests/ src/
Reports
Sherlock by default prints the output. You can configure what reports are produced by sherlock using --report option:
sherlock --report print
sherlock --report html
--report accepts comma separated list of reports:
sherlock --report print,html,json
BuiltIn library
To show analysis of BuiltIn libraries use --include-builtin flag:
sherlock --include-builtin src/
Metadata
Release files for robotframework-sherlock 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-sherlock-0.3.0.tar.gz | 32.4 kB | Without provenance | Details for robotframework-sherlock-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robotframework_sherlock-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for robotframework_sherlock-0.3.0-py3-none-any.whl |
Total release size: 82.6 kB
Release files / robotframework-sherlock-0.3.0.tar.gz
| Download URL | robotframework-sherlock-0.3.0.tar.gz |
|---|---|
| Size | 32.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f8953776119d0ffe16fa5b7133355930bc880a2d56a9dcf989d21ff41667c1f
|
|
BLAKE2b-256 checksum How to use checksums |
c7668c499136e6719572e0bc6ba7d75b6a2ca3b21a1e19e24178bb935ef5cc38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / robotframework_sherlock-0.3.0-py3-none-any.whl
| Download URL | robotframework_sherlock-0.3.0-py3-none-any.whl |
|---|---|
| Size | 50.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1dbf4fcb2252e2d175140cae14355f2fce2aa4f208bfa48f0de555867f225556
|
|
BLAKE2b-256 checksum How to use checksums |
af0f4dc0f085295c3eb17f2343fa01823e51275b8d1dda012d9802099edc21f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for robotframework-sherlock 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.