Coverage report: 22%

Files Functions Classes

coverage.py v7.8.0, created at 2025-04-08 09:36 +0000

File function statements missing excluded branches partial coverage
src/melvonaut/__init__.py (no function) 0 0 0 0 0 100%
src/melvonaut/__main__.py get_observations 13 13 0 2 0 0%
src/melvonaut/__main__.py run_get_observations 4 4 0 0 0 0%
src/melvonaut/__main__.py get_announcements 33 33 0 12 0 0%
src/melvonaut/__main__.py run_get_announcements 4 4 0 0 0 0%
src/melvonaut/__main__.py read_images 31 31 0 8 0 0%
src/melvonaut/__main__.py run_read_images 2 2 0 2 0 0%
src/melvonaut/__main__.py cancel_tasks 4 4 0 2 0 0%
src/melvonaut/__main__.py start_event_loop 11 11 0 4 0 0%
src/melvonaut/__main__.py main 3 3 0 0 0 0%
src/melvonaut/__main__.py (no function) 38 38 1 2 0 0%
src/melvonaut/api.py health 1 0 0 0 0 100%
src/melvonaut/api.py get_disk_usage 4 0 0 0 0 100%
src/melvonaut/api.py get_memory_usage 3 0 0 0 0 100%
src/melvonaut/api.py get_cpu_usage 7 0 0 0 0 100%
src/melvonaut/api.py get_restart_melvin 1 0 0 0 0 100%
src/melvonaut/api.py get_shutdown_melvin 10 6 0 4 1 36%
src/melvonaut/api.py post_execute_command 22 6 0 4 1 73%
src/melvonaut/api.py get_melvin_version 1 0 0 0 0 100%
src/melvonaut/api.py get_list_log_files 13 2 0 6 0 89%
src/melvonaut/api.py post_download_log 6 1 0 2 1 75%
src/melvonaut/api.py post_download_log_and_clear 10 1 0 2 1 83%
src/melvonaut/api.py post_clear_log 12 3 0 6 3 67%
src/melvonaut/api.py get_clear_all_logs 16 3 0 6 0 86%
src/melvonaut/api.py get_download_telemetry 5 0 0 2 0 100%
src/melvonaut/api.py get_download_telemetry_and_clear 8 1 0 2 1 80%
src/melvonaut/api.py get_clear_telemetry 6 1 0 2 1 75%
src/melvonaut/api.py get_download_events 5 0 0 2 0 100%
src/melvonaut/api.py get_download_events_and_clear 8 1 0 2 1 80%
src/melvonaut/api.py get_clear_events 6 1 0 2 1 75%
src/melvonaut/api.py get_list_images 6 1 0 2 1 75%
src/melvonaut/api.py post_download_image 6 1 0 2 1 75%
src/melvonaut/api.py post_download_image_and_clear 9 1 0 2 1 82%
src/melvonaut/api.py get_clear_all_images 6 0 0 2 0 100%
src/melvonaut/api.py post_set_melvin_task 16 8 0 2 1 50%
src/melvonaut/api.py get_reset_settings 3 0 0 0 0 100%
src/melvonaut/api.py post_set_setting 5 0 0 0 0 100%
src/melvonaut/api.py post_clear_setting 5 0 0 0 0 100%
src/melvonaut/api.py post_get_setting 11 2 0 2 0 85%
src/melvonaut/api.py get_all_settings 11 0 0 6 0 100%
src/melvonaut/api.py setup_routes 29 0 0 0 0 100%
src/melvonaut/api.py compression_middleware 10 1 0 4 1 86%
src/melvonaut/api.py catcher_middleware 5 3 0 0 0 40%
src/melvonaut/api.py run_api 12 12 0 0 0 0%
src/melvonaut/api.py (no function) 50 0 0 0 0 100%
src/melvonaut/ebt_calc.py f 2 2 0 0 0 0%
src/melvonaut/ebt_calc.py distance 22 22 0 16 0 0%
src/melvonaut/ebt_calc.py parse_pings 7 7 0 4 0 0%
src/melvonaut/ebt_calc.py find_matches 21 21 0 16 0 0%
src/melvonaut/ebt_calc.py draw_res 47 47 0 16 0 0%
src/melvonaut/ebt_calc.py draw_res.find_centroid 4 4 0 0 0 0%
src/melvonaut/ebt_calc.py (no function) 36 36 0 4 0 0%
src/melvonaut/mel_telemetry.py MelTelemetry.store_observation_csv 19 1 0 10 1 93%
src/melvonaut/mel_telemetry.py MelTelemetry.store_observation_json 17 17 0 2 0 0%
src/melvonaut/mel_telemetry.py MelTelemetry.model_post_init 2 0 0 0 0 100%
src/melvonaut/mel_telemetry.py (no function) 15 0 0 0 0 100%
src/melvonaut/settings.py Settings.load_settings 12 2 0 4 1 81%
src/melvonaut/settings.py Settings.save_settings 2 0 0 0 0 100%
src/melvonaut/settings.py Settings.get_setting 1 0 0 0 0 100%
src/melvonaut/settings.py Settings.set_setting 2 0 0 0 0 100%
src/melvonaut/settings.py Settings.set_settings 6 0 0 4 0 100%
src/melvonaut/settings.py Settings.delete_settings 3 0 0 2 0 100%
src/melvonaut/settings.py Settings.init_settings 6 0 0 2 0 100%
src/melvonaut/settings.py Settings.clear_settings 1 0 0 0 0 100%
src/melvonaut/settings.py Settings.get_default_setting 1 0 0 0 0 100%
src/melvonaut/settings.py Settings.__init__ 3 0 0 2 0 100%
src/melvonaut/settings.py Settings.__getattribute__ 6 0 0 4 0 100%
src/melvonaut/settings.py Settings.__setattr__ 6 0 0 4 0 100%
src/melvonaut/settings.py (no function) 53 0 0 0 0 100%
src/melvonaut/state_planer.py StatePlanner.model_post_init 1 0 0 0 0 100%
src/melvonaut/state_planer.py StatePlanner.get_current_state 3 3 0 2 0 0%
src/melvonaut/state_planer.py StatePlanner.get_previous_state 3 3 0 2 0 0%
src/melvonaut/state_planer.py StatePlanner.get_simulation_speed 3 3 0 2 0 0%
src/melvonaut/state_planer.py StatePlanner.get_time_since_state_change 1 1 0 0 0 0%
src/melvonaut/state_planer.py StatePlanner.calc_transition_remaining_time 8 8 0 4 0 0%
src/melvonaut/state_planer.py StatePlanner.calc_current_location 6 6 0 2 0 0%
src/melvonaut/state_planer.py StatePlanner.trigger_velocity_change 16 16 0 6 0 0%
src/melvonaut/state_planer.py StatePlanner.trigger_camera_angle_change 13 13 0 6 0 0%
src/melvonaut/state_planer.py StatePlanner.trigger_state_transition 21 21 0 10 0 0%
src/melvonaut/state_planer.py StatePlanner.switch_if_battery_low 12 12 0 8 0 0%
src/melvonaut/state_planer.py StatePlanner.plan_state_switching 34 34 0 26 0 0%
src/melvonaut/state_planer.py StatePlanner.update_telemetry 54 54 0 38 0 0%
src/melvonaut/state_planer.py StatePlanner.get_image 59 59 0 22 0 0%
src/melvonaut/state_planer.py StatePlanner.run_get_image 15 15 0 8 0 0%
src/melvonaut/state_planer.py StatePlanner.control_acquisition 41 41 0 20 0 0%
src/melvonaut/state_planer.py (no function) 51 0 0 0 0 100%
src/melvonaut/utils.py melvin_notifier 1 1 0 0 0 0%
src/melvonaut/utils.py setup_logging 10 4 0 4 2 57%
src/melvonaut/utils.py setup_file_logging 3 0 0 2 0 100%
src/melvonaut/utils.py (no function) 12 0 0 0 0 100%
src/rift_console/__init__.py (no function) 0 0 0 0 0 100%
src/rift_console/__main__.py view_ebt 7 7 0 0 0 0%
src/rift_console/__main__.py stitches 11 11 0 0 0 0%
src/rift_console/__main__.py downloads 15 15 0 2 0 0%
src/rift_console/__main__.py live 10 10 0 0 0 0%
src/rift_console/__main__.py index 3 3 0 2 0 0%
src/rift_console/__main__.py melvonaut_api 112 112 0 66 0 0%
src/rift_console/__main__.py results 127 127 0 60 0 0%
src/rift_console/__main__.py obj_mod 30 30 0 20 0 0%
src/rift_console/__main__.py book_slot 6 6 0 2 0 0%
src/rift_console/__main__.py stitch_obj 24 24 0 12 0 0%
src/rift_console/__main__.py del_obj 3 3 0 0 0 0%
src/rift_console/__main__.py satellite_handler 52 52 0 40 0 0%
src/rift_console/__main__.py control_handler 38 38 0 20 0 0%
src/rift_console/__main__.py update_telemetry 16 16 0 6 0 0%
src/rift_console/__main__.py info 2 2 0 0 0 0%
src/rift_console/__main__.py warning 2 2 0 0 0 0%
src/rift_console/__main__.py async_stitching 18 18 0 4 0 0%
src/rift_console/__main__.py async_world_map 13 13 0 2 0 0%
src/rift_console/__main__.py check_images 11 11 0 2 0 0%
src/rift_console/__main__.py get_console_images 3 3 0 0 0 0%
src/rift_console/__main__.py uploaded_file_stitched 1 1 0 0 0 0%
src/rift_console/__main__.py uploaded_file_live 1 1 0 0 0 0%
src/rift_console/__main__.py uploaded_file_download 1 1 0 0 0 0%
src/rift_console/__main__.py uploaded_file_ebt 1 1 0 0 0 0%
src/rift_console/__main__.py main 1 1 0 0 0 0%
src/rift_console/__main__.py run_server 4 4 0 0 0 0%
src/rift_console/__main__.py run_server_4000 4 4 0 0 0 0%
src/rift_console/__main__.py (no function) 83 83 1 0 0 0%
src/rift_console/ciarc_api.py console_api 33 33 0 16 0 0%
src/rift_console/ciarc_api.py console_api_image 22 22 0 4 0 0%
src/rift_console/ciarc_api.py reset 2 2 0 0 0 0%
src/rift_console/ciarc_api.py save_backup 4 4 0 0 0 0%
src/rift_console/ciarc_api.py load_backup 3 3 0 0 0 0%
src/rift_console/ciarc_api.py change_simulation_env 4 4 0 0 0 0%
src/rift_console/ciarc_api.py update_api 12 12 0 2 0 0%
src/rift_console/ciarc_api.py live_telemetry 7 7 0 2 0 0%
src/rift_console/ciarc_api.py change_angle 11 11 0 4 0 0%
src/rift_console/ciarc_api.py change_state 11 11 0 4 0 0%
src/rift_console/ciarc_api.py change_velocity 11 11 0 4 0 0%
src/rift_console/ciarc_api.py book_slot 7 7 0 4 0 0%
src/rift_console/ciarc_api.py delete_objective 5 5 0 2 0 0%
src/rift_console/ciarc_api.py add_modify_zoned_objective 7 7 0 2 0 0%
src/rift_console/ciarc_api.py add_modify_ebt_objective 7 7 0 2 0 0%
src/rift_console/ciarc_api.py send_beacon 7 7 0 2 0 0%
src/rift_console/ciarc_api.py upload_worldmap 7 7 0 2 0 0%
src/rift_console/ciarc_api.py upload_objective 8 8 0 2 0 0%
src/rift_console/ciarc_api.py (no function) 24 24 0 0 0 0%
src/rift_console/image_helper.py get_angle 8 8 0 6 0 0%
src/rift_console/image_helper.py get_date 7 7 0 2 0 0%
src/rift_console/image_helper.py filter_by_date 7 7 0 4 0 0%
src/rift_console/image_helper.py generate_spiral_walk 18 18 0 8 0 0%
src/rift_console/image_helper.py parse_image_name 19 19 0 12 0 0%
src/rift_console/image_helper.py find_image_names 10 10 0 6 0 0%
src/rift_console/image_helper.py find_image_names.extract_timestamp 5 5 0 2 0 0%
src/rift_console/image_helper.py find_image_names.extract_pos 7 7 0 2 0 0%
src/rift_console/image_helper.py (no function) 12 12 0 0 0 0%
src/rift_console/image_processing.py count_matching_pixels 10 10 0 8 0 0%
src/rift_console/image_processing.py stitch_images 64 64 0 28 0 0%
src/rift_console/image_processing.py upload 18 18 0 6 0 0%
src/rift_console/image_processing.py cut 5 5 0 0 0 0%
src/rift_console/image_processing.py create_thumbnail 4 4 0 0 0 0%
src/rift_console/image_processing.py automated_stitching 9 9 0 0 0 0%
src/rift_console/image_processing.py (no function) 50 50 0 20 0 0%
src/rift_console/melvin_api.py melvonaut_api 26 26 0 8 0 0%
src/rift_console/melvin_api.py live_melvonaut 12 12 0 4 0 0%
src/rift_console/melvin_api.py get_setting 10 10 0 4 0 0%
src/rift_console/melvin_api.py set_setting 12 12 0 6 0 0%
src/rift_console/melvin_api.py download_events 16 16 0 4 0 0%
src/rift_console/melvin_api.py clear_events 9 9 0 4 0 0%
src/rift_console/melvin_api.py download_telemetry 16 16 0 4 0 0%
src/rift_console/melvin_api.py clear_telemetry 9 9 0 4 0 0%
src/rift_console/melvin_api.py list_logs 10 10 0 4 0 0%
src/rift_console/melvin_api.py get_download_save_log 9 9 0 4 0 0%
src/rift_console/melvin_api.py clear_logs 9 9 0 4 0 0%
src/rift_console/melvin_api.py list_images 10 10 0 4 0 0%
src/rift_console/melvin_api.py get_download_save_image 9 9 0 4 0 0%
src/rift_console/melvin_api.py clear_images 9 9 0 4 0 0%
src/rift_console/melvin_api.py create_tunnel 8 8 0 0 0 0%
src/rift_console/melvin_api.py create_tunnel.terminate_process 2 2 0 0 0 0%
src/rift_console/melvin_api.py (no function) 37 37 0 0 0 0%
src/rift_console/rift_console.py RiftConsole.get_draw_zoned_obj 8 8 0 6 0 0%
src/rift_console/rift_console.py RiftConsole.predict_trajektorie 9 9 0 4 0 0%
src/rift_console/rift_console.py RiftConsole.fix_overflow 9 9 0 8 0 0%
src/rift_console/rift_console.py (no function) 32 32 0 0 0 0%
src/shared/__init__.py (no function) 0 0 0 0 0 100%
src/shared/constants.py (no function) 55 0 0 0 0 100%
src/shared/models.py Slot.parse_api 6 6 0 2 0 0%
src/shared/models.py ZonedObjective.parse_api 7 7 0 4 0 0%
src/shared/models.py BeaconObjective.parse_api 4 4 0 2 0 0%
src/shared/models.py Achievement.parse_api 4 4 0 2 0 0%
src/shared/models.py BaseTelemetry.__str__ 1 1 0 0 0 0%
src/shared/models.py lens_size_by_angle 8 8 0 6 0 0%
src/shared/models.py log_rate_limiter 2 0 0 0 0 100%
src/shared/models.py log_rate_limiter.decorator 3 0 0 0 0 100%
src/shared/models.py log_rate_limiter.decorator.wrapper 4 4 0 2 0 0%
src/shared/models.py limited_log 1 1 0 0 0 0%
src/shared/models.py limited_log_debug 1 1 0 0 0 0%
src/shared/models.py Timer.__init__ 4 4 0 0 0 0%
src/shared/models.py Timer._job 2 2 0 0 0 0%
src/shared/models.py Timer.cancel 1 1 0 0 0 0%
src/shared/models.py Timer.get_task 1 1 0 0 0 0%
src/shared/models.py Ping.__init__ 5 5 0 0 0 0%
src/shared/models.py Ping.__str__ 1 1 0 0 0 0%
src/shared/models.py Event.__str__ 1 1 0 0 0 0%
src/shared/models.py Event.easy_parse 6 6 0 2 0 0%
src/shared/models.py Event.to_csv 11 0 0 4 0 100%
src/shared/models.py Event.load_events_from_csv 9 0 0 4 0 100%
src/shared/models.py live_utc 1 1 0 0 0 0%
src/shared/models.py time_seconds 1 1 0 0 0 0%
src/shared/models.py (no function) 144 0 0 0 0 100%
Total   2730 2025 2 850 20 22%

No items found using the specified filter.