Closed javierdelapuente closed 4 months ago
Test coverage for 3916cf97050341e62b8adb646a10734e1cac1da8
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 189 24 46 4 87% 32-33, 40-41, 160-161, 163-164, 185->exit, 197-201, 254-256, 323-324, 329, 334, 339, 349, 354, 359, 364, 369
paas_app_charmer/_gunicorn/charm_state.py 103 1 18 1 98% 175
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 83 0 40 2 98% 83->85, 113->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 746 54 169 15 92%
Static code analysis report
Run started:2024-07-02 07:31:12.412016
Test results:
No issues identified.
Code scanned:
Total lines of code: 1619
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
Tests are failing with mysql-k8s revision 75. Revision 140 is the latest one accepting juju 3.1
Rationale
Juju Events Changes
Module Changes
Library Changes
Checklist
src-docs
urgent
,trivial
,complex
)