Closed yanksyoon closed 2 months ago
Test coverage for 95dbdc47a3229f6b615e1cb372ad94ac47161229
Name Stmts Miss Branch BrPart Cover Missing
--------------------------------------------------------------------------------------
src/charm.py 566 139 145 26 72% 227-229, 291-310, 328-330, 331->335, 361-365, 438, 445-447, 474-479, 496-501, 522, 534-540, 554-555, 568, 573, 603-604, 606->615, 610->615, 620-626, 660, 664-669, 720-725, 734->737, 760-777, 781-782, 810-837, 850-853, 874-884, 898-900, 947-948, 950-951, 953-954, 1033->1035, 1100-1101, 1139-1141, 1149-1155, 1219-1244, 1253
src/charm_state.py 458 17 108 5 95% 334-346, 528-532, 654-655, 710-711, 1146->1149, 1153-1154, 1201
src/errors.py 41 0 0 0 100%
src/event_timer.py 54 7 2 1 86% 105-106, 131, 148-149, 165-166
src/firewall.py 51 18 20 0 61% 42-43, 66-69, 111-185
src/github_client.py 96 16 40 5 79% 65-72, 119->exit, 124-125, 195, 218, 231-238, 260->300, 294
src/github_type.py 50 0 0 0 100%
src/logrotate.py 43 0 2 0 100%
src/lxd_type.py 35 0 2 0 100%
src/metrics/__init__.py 0 0 0 0 100%
src/metrics/events.py 55 2 8 1 95% 56->59, 166-167
src/metrics/github.py 16 0 0 0 100%
src/metrics/runner.py 144 10 32 3 91% 160, 186-199, 235, 272, 454-455
src/metrics/runner_logs.py 24 5 4 1 79% 30-33, 47->46, 51-52
src/metrics/storage.py 70 8 12 0 90% 89-90, 117-118, 182-183, 189-190
src/metrics/type.py 5 0 0 0 100%
src/openstack_cloud/__init__.py 26 0 2 0 100%
src/openstack_cloud/openstack_manager.py 560 118 172 21 78% 96, 263, 438-441, 492, 495-500, 532-533, 541, 707-734, 874-875, 897->exit, 907, 934-935, 938-939, 982, 991-992, 1022, 1027-1034, 1047-1053, 1057-1059, 1075-1081, 1100-1101, 1103-1114, 1121-1125, 1129-1132, 1155-1156, 1161-1167, 1185, 1200-1225, 1250-1264, 1280-1287, 1321, 1435-1440, 1461-1463, 1491-1496, 1518-1519, 1575-1576, 1586-1587
src/reactive/__init__.py 0 0 0 0 100%
src/reactive/consumer.py 40 2 6 0 96% 98-101
src/reactive/runner_manager.py 53 0 14 1 99% 102->exit
src/runner_manager_type.py 51 0 8 0 100%
src/runner_type.py 37 0 10 0 100%
src/shared_fs.py 93 17 10 1 83% 51-52, 119-120, 145-146, 154-155, 161-162, 180, 183-184, 196-197, 240-241
src/utilities.py 68 7 20 7 82% 86->88, 90->96, 103, 133, 147, 186-189, 244
--------------------------------------------------------------------------------------
TOTAL 2636 366 617 72 84%
Static code analysis report
Run started:2024-08-06 03:15:58.899777
Test results:
No issues identified.
Code scanned:
Total lines of code: 7684
Total lines skipped (#nosec): 4
Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 7
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: N/A
Overview
Rationale
Juju Events Changes
Module Changes
Library Changes
Checklist
src-docs
urgent
,trivial
,complex
)