Closed javierdelapuente closed 3 months ago
Test coverage for 0f1dff223ca4fb69354a03f680a93d92bfbbb6d1
Name Stmts Miss Branch BrPart Cover Missing
-------------------------------------------------------------------------------------------
paas_app_charmer/__init__.py 29 14 0 0 52% 13-14, 19-20, 26-27, 33-34, 40-41, 47-48, 54-55
paas_app_charmer/_gunicorn/__init__.py 0 0 0 0 100%
paas_app_charmer/_gunicorn/charm.py 203 25 48 4 88% 32-33, 40-41, 162-163, 165-166, 187->exit, 199-203, 256-258, 338-339, 344, 349, 354, 364, 369, 374, 379, 384, 409
paas_app_charmer/_gunicorn/charm_state.py 107 2 20 2 97% 182, 266
paas_app_charmer/_gunicorn/charm_utils.py 23 0 0 0 100%
paas_app_charmer/_gunicorn/observability.py 13 0 2 0 100%
paas_app_charmer/_gunicorn/secret_storage.py 13 0 0 0 100%
paas_app_charmer/_gunicorn/webserver.py 75 4 14 1 94% 156, 168-174
paas_app_charmer/_gunicorn/workload_config.py 19 0 0 0 100%
paas_app_charmer/_gunicorn/wsgi_app.py 104 0 44 2 99% 86->88, 116->exit
paas_app_charmer/database_migration.py 35 0 2 0 100%
paas_app_charmer/databases.py 25 2 11 1 92% 89-90
paas_app_charmer/django/__init__.py 1 0 0 0 100%
paas_app_charmer/django/charm.py 45 6 6 1 86% 73-77, 99, 114-115
paas_app_charmer/exceptions.py 5 0 0 0 100%
paas_app_charmer/flask/__init__.py 1 0 0 0 100%
paas_app_charmer/flask/charm.py 37 0 2 0 100%
paas_app_charmer/secret_storage.py 39 3 16 5 85% 50, 54->53, 55->57, 85, 104
paas_app_charmer/utils.py 11 0 12 0 100%
-------------------------------------------------------------------------------------------
TOTAL 785 56 177 16 92%
Static code analysis report
Run started:2024-07-10 09:35:26.058923
Test results:
No issues identified.
Code scanned:
Total lines of code: 1681
Total lines skipped (#nosec): 0
Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0
Run metrics:
Total issues (by severity):
Undefined: 0
Low: 0
Medium: 0
High: 0
Total issues (by confidence):
Undefined: 0
Low: 0
Medium: 0
High: 0
Files skipped (0):
Applicable spec:
Overview
Update library version to 1.0.4.
This version will contain:
Rationale
Juju Events Changes
Module Changes
Library Changes
Checklist
src-docs
urgent
,trivial
,complex
)