Coverage report: 61%

Files Functions Classes

coverage.py v7.13.1, created at 2026-01-11 15:35 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src / anpr2mqtt / __init__.py (no function)   100% 4 0 0   100% 0 0   100%
src / anpr2mqtt / __main__.py (no function)   0% 3 3 0   0% 2 0   0%
src / anpr2mqtt / api_client.py APIClient.lookup   0% 1 1 0   100% 0 0   0%
src / anpr2mqtt / api_client.py DVLA.__init__   100% 2 0 0   100% 0 0   100%
src / anpr2mqtt / api_client.py DVLA.lookup   50% 16 8 0   50% 6 3   50%
src / anpr2mqtt / api_client.py (no function)   100% 13 0 2   100% 0 0   100%
src / anpr2mqtt / app.py on_connect   0% 7 7 0   0% 4 0   0%
src / anpr2mqtt / app.py on_disconnect   0% 3 3 0   0% 2 0   0%
src / anpr2mqtt / app.py main_loop   0% 46 46 0   0% 8 0   0%
src / anpr2mqtt / app.py Anpr2MQTT.cli_cmd   0% 1 1 0   100% 0 0   0%
src / anpr2mqtt / app.py run   0% 1 1 0   100% 0 0   0%
src / anpr2mqtt / app.py (no function)   100% 21 0 0   100% 0 0   100%
src / anpr2mqtt / const.py (no function)   100% 4 0 0   100% 0 0   100%
src / anpr2mqtt / event_handler.py EventHandler.__init__   89% 19 2 0   50% 4 2   83%
src / anpr2mqtt / event_handler.py EventHandler.ignore_directories   0% 1 1 0   100% 0 0   0%
src / anpr2mqtt / event_handler.py EventHandler.on_created   0% 4 4 0   0% 2 0   0%
src / anpr2mqtt / event_handler.py EventHandler.on_closed   68% 38 12 0   56% 16 7   65%
src / anpr2mqtt / event_handler.py EventHandler.track_target   65% 20 7 0   25% 4 1   58%
src / anpr2mqtt / event_handler.py EventHandler.classify_target   96% 27 1 0   79% 14 3   90%
src / anpr2mqtt / event_handler.py process_image   72% 25 7 0   40% 10 4   63%
src / anpr2mqtt / event_handler.py examine_file   70% 23 7 0   50% 8 2   65%
src / anpr2mqtt / event_handler.py scan_ocr_fields   57% 56 24 0   43% 28 8   52%
src / anpr2mqtt / event_handler.py (no function)   100% 29 0 0   100% 0 0   100%
src / anpr2mqtt / hass.py post_discovery_message   0% 13 13 0   0% 4 0   0%
src / anpr2mqtt / hass.py add_device_info   0% 3 3 0   0% 2 0   0%
src / anpr2mqtt / hass.py post_state_message   81% 21 4 0   71% 14 4   77%
src / anpr2mqtt / hass.py post_image_message   75% 8 2 0   100% 0 0   75%
src / anpr2mqtt / hass.py (no function)   100% 16 0 0   100% 0 0   100%
src / anpr2mqtt / settings.py Settings.settings_customise_sources   0% 1 1 0   100% 0 0   0%
src / anpr2mqtt / settings.py (no function)   100% 62 0 0   100% 0 0   100%
src / anpr2mqtt / tools.py OCRTool.cli_cmd   0% 10 10 0   0% 4 0   0%
src / anpr2mqtt / tools.py ListTool.cli_cmd   0% 6 6 0   0% 4 0   0%
src / anpr2mqtt / tools.py Tools.cli_cmd   0% 1 1 0   100% 0 0   0%
src / anpr2mqtt / tools.py tools   0% 1 1 0   100% 0 0   0%
src / anpr2mqtt / tools.py (no function)   100% 22 0 2   100% 0 0   100%
Total     67% 528 176 4   41% 136 34   61%

No items found using the specified filter.