Coverage report: 75%

Files Functions Classes

coverage.py v7.9.2, created at 2025-07-03 22:51 +0000

File function statements missing excluded coverage
flogin/__init__.py (no function) 15 0 0 100%
flogin/__main__.py show_version 12 12 0 0%
flogin/__main__.py core 3 3 0 0%
flogin/__main__.py create_plugin_dot_json_file 2 2 0 0%
flogin/__main__.py write_to_file 9 9 0 0%
flogin/__main__.py create_new_handler 1 1 0 0%
flogin/__main__.py create_plugin_directory 13 13 0 0%
flogin/__main__.py create_git_files 9 9 0 0%
flogin/__main__.py init_command 10 10 0 0%
flogin/__main__.py add_init_args 7 7 0 0%
flogin/__main__.py add_new_handler_command 6 6 0 0%
flogin/__main__.py add_handler_command_args 5 5 0 0%
flogin/__main__.py parse_args 7 7 0 0%
flogin/__main__.py main 2 2 0 0%
flogin/__main__.py (no function) 29 29 4 0%
flogin/_types/search_handlers.py StringCastable.__str__ 0 0 1 100%
flogin/_types/search_handlers.py (no function) 4 0 16 100%
flogin/caching.py clear_cache 7 0 0 100%
flogin/caching.py BaseCachedObject.__init__ 4 0 0 100%
flogin/caching.py BaseCachedObject.__call__ 2 0 0 100%
flogin/caching.py BaseCachedObject.call 0 0 1 100%
flogin/caching.py BaseCachedObject.clear_cache 1 0 0 100%
flogin/caching.py CachedCoro.call 5 0 0 100%
flogin/caching.py CachedGen.call 7 0 0 100%
flogin/caching.py CachedProperty.__get__ 1 0 0 100%
flogin/caching.py CachedProperty.__get__ 1 0 0 100%
flogin/caching.py CachedProperty.__get__ 7 0 0 100%
flogin/caching.py CachedProperty.clear_cache 4 0 0 100%
flogin/caching.py CachedCallable.call 5 0 0 100%
flogin/caching.py _cached_deco 3 0 0 100%
flogin/caching.py _cached_deco.inner 4 0 0 100%
flogin/caching.py _cached_deco.inner.inner 1 0 0 100%
flogin/caching.py cached_coro 1 0 0 100%
flogin/caching.py cached_coro 1 0 0 100%
flogin/caching.py cached_coro 0 0 1 100%
flogin/caching.py cached_gen 1 0 0 100%
flogin/caching.py cached_gen 1 0 0 100%
flogin/caching.py cached_gen 0 0 1 100%
flogin/caching.py cached_property 0 0 0 100%
flogin/caching.py cached_property 1 0 0 100%
flogin/caching.py cached_property 1 0 0 100%
flogin/caching.py cached_callable 1 0 0 100%
flogin/caching.py cached_callable 1 0 0 100%
flogin/caching.py cached_callable 0 0 1 100%
flogin/caching.py (no function) 57 0 6 100%
flogin/conditions.py PlainTextCondition.__init__ 1 0 0 100%
flogin/conditions.py PlainTextCondition.__call__ 1 0 0 100%
flogin/conditions.py RegexCondition.__init__ 1 0 0 100%
flogin/conditions.py RegexCondition.__call__ 5 0 0 100%
flogin/conditions.py _MultiCondition.__init__ 1 0 0 100%
flogin/conditions.py _MultiCondition.__repr__ 0 0 1 100%
flogin/conditions.py AllCondition.__call__ 8 0 0 100%
flogin/conditions.py AnyCondition.__call__ 5 0 0 100%
flogin/conditions.py KeywordCondition.__init__ 6 0 0 100%
flogin/conditions.py KeywordCondition.__call__ 5 0 0 100%
flogin/conditions.py (no function) 22 0 6 100%
flogin/default_events.py on_error 2 0 0 100%
flogin/default_events.py get_default_events 3 0 0 100%
flogin/default_events.py get_default_events.on_query 9 0 0 100%
flogin/default_events.py get_default_events.on_context_menu 1 0 0 100%
flogin/default_events.py (no function) 10 0 3 100%
flogin/errors.py PluginNotInitialized.__init__ 1 1 0 0%
flogin/errors.py EnvNotSet.__init__ 4 4 0 0%
flogin/errors.py UnableToDownloadPip.__init__ 2 0 0 100%
flogin/errors.py PipExecutionError.__init__ 2 0 0 100%
flogin/errors.py PipExecutionError.output 1 0 0 100%
flogin/errors.py PipExecutionError.returncode 1 0 0 100%
flogin/errors.py PipExecutionError.stderr 1 0 0 100%
flogin/errors.py (no function) 19 0 3 100%
flogin/flow/__init__.py (no function) 5 0 0 100%
flogin/flow/api.py FlowLauncherAPI.__init__ 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.__call__ 3 3 0 0%
flogin/flow/api.py FlowLauncherAPI.fuzzy_search 2 2 0 0%
flogin/flow/api.py FlowLauncherAPI.change_query 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.show_error_message 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.show_notification 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.open_settings_menu 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.open_url 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.run_shell_cmd 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.restart_flow_launcher 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.save_all_app_settings 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.save_plugin_settings 2 2 0 0%
flogin/flow/api.py FlowLauncherAPI.reload_all_plugin_data 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.show_main_window 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.hide_main_window 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.is_main_window_visible 2 2 0 0%
flogin/flow/api.py FlowLauncherAPI.check_for_updates 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.get_all_plugins 2 2 0 0%
flogin/flow/api.py FlowLauncherAPI.add_keyword 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.remove_keyword 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.open_directory 1 1 0 0%
flogin/flow/api.py FlowLauncherAPI.update_results 3 3 0 0%
flogin/flow/api.py (no function) 29 0 2 100%
flogin/flow/base.py _convert_cls 5 0 0 100%
flogin/flow/base.py _get_prop_func 5 0 0 100%
flogin/flow/base.py _get_prop_func.func 1 0 0 100%
flogin/flow/base.py add_prop 3 0 0 100%
flogin/flow/base.py Base.__init__ 2 0 0 100%
flogin/flow/base.py Base.__repr__ 0 0 2 100%
flogin/flow/base.py (no function) 12 0 1 100%
flogin/flow/enums.py (no function) 27 0 0 100%
flogin/flow/fuzzy_search.py (no function) 6 0 0 100%
flogin/flow/plugin_metadata.py PluginMetadata.__init__ 2 0 0 100%
flogin/flow/plugin_metadata.py PluginMetadata.executable 1 0 0 100%
flogin/flow/plugin_metadata.py PluginMetadata.icon 1 0 0 100%
flogin/flow/plugin_metadata.py PluginMetadata.add_keyword 1 0 0 100%
flogin/flow/plugin_metadata.py PluginMetadata.remove_keyword 1 0 0 100%
flogin/flow/plugin_metadata.py (no function) 24 0 3 100%
flogin/flow/settings.py (no function) 127 0 0 100%
flogin/jsonrpc/__init__.py (no function) 4 0 0 100%
flogin/jsonrpc/base_object.py Base.to_dict 10 0 0 100%
flogin/jsonrpc/base_object.py Base.from_dict 0 0 1 100%
flogin/jsonrpc/base_object.py Base.__repr__ 0 0 2 100%
flogin/jsonrpc/base_object.py ToMessageBase.to_message 1 0 0 100%
flogin/jsonrpc/base_object.py (no function) 12 0 1 100%
flogin/jsonrpc/client.py JsonRPCClient.__init__ 5 0 0 100%
flogin/jsonrpc/client.py JsonRPCClient.request_id 2 2 0 0%
flogin/jsonrpc/client.py JsonRPCClient.request_id 1 1 0 0%
flogin/jsonrpc/client.py JsonRPCClient.request 8 8 0 0%
flogin/jsonrpc/client.py JsonRPCClient.handle_cancellation 9 9 0 0%
flogin/jsonrpc/client.py JsonRPCClient.handle_result 8 8 0 0%
flogin/jsonrpc/client.py JsonRPCClient.handle_error 3 3 0 0%
flogin/jsonrpc/client.py JsonRPCClient.handle_notification 4 4 0 0%
flogin/jsonrpc/client.py JsonRPCClient.handle_request 19 19 0 0%
flogin/jsonrpc/client.py JsonRPCClient.process_input 15 15 0 0%
flogin/jsonrpc/client.py JsonRPCClient.start_listening 13 13 0 0%
flogin/jsonrpc/client.py JsonRPCClient.write 4 4 0 0%
flogin/jsonrpc/client.py (no function) 28 0 5 100%
flogin/jsonrpc/enums.py (no function) 10 0 0 100%
flogin/jsonrpc/errors.py JsonRPCException.__init__ 2 0 0 100%
flogin/jsonrpc/errors.py JsonRPCException.to_response 1 0 0 100%
flogin/jsonrpc/errors.py get_exception_from_json 10 0 0 100%
flogin/jsonrpc/errors.py (no function) 22 0 2 100%
flogin/jsonrpc/requests.py Request.__init__ 3 3 0 0%
flogin/jsonrpc/requests.py Request.to_dict 3 3 0 0%
flogin/jsonrpc/requests.py (no function) 8 0 2 100%
flogin/jsonrpc/responses.py BaseResponse.to_message 1 1 0 0%
flogin/jsonrpc/responses.py ErrorResponse.__init__ 3 0 0 100%
flogin/jsonrpc/responses.py ErrorResponse.to_dict 4 4 0 0%
flogin/jsonrpc/responses.py ErrorResponse.from_dict 3 3 0 0%
flogin/jsonrpc/responses.py ErrorResponse.internal_error 1 0 0 100%
flogin/jsonrpc/responses.py QueryResponse.__init__ 3 0 0 100%
flogin/jsonrpc/responses.py QueryResponse.to_dict 1 1 0 0%
flogin/jsonrpc/responses.py ExecuteResponse.__init__ 1 1 0 0%
flogin/jsonrpc/responses.py ExecuteResponse.to_dict 1 1 0 0%
flogin/jsonrpc/responses.py (no function) 26 0 6 100%
flogin/jsonrpc/results.py Glyph.__init__ 2 2 0 0%
flogin/jsonrpc/results.py Glyph.from_dict 1 1 0 0%
flogin/jsonrpc/results.py ProgressBar.__init__ 2 2 0 0%
flogin/jsonrpc/results.py ResultPreview.__init__ 3 3 0 0%
flogin/jsonrpc/results.py Result.__init__ 14 0 0 100%
flogin/jsonrpc/results.py Result.on_error 2 2 0 0%
flogin/jsonrpc/results.py Result.callback 1 1 0 0%
flogin/jsonrpc/results.py Result.context_menu 1 1 0 0%
flogin/jsonrpc/results.py Result.on_context_menu_error 1 1 0 0%
flogin/jsonrpc/results.py Result.context_menu 1 1 0 0%
flogin/jsonrpc/results.py Result.on_context_menu_error 2 2 0 0%
flogin/jsonrpc/results.py Result.to_dict 28 28 0 0%
flogin/jsonrpc/results.py Result.from_dict 1 1 0 0%
flogin/jsonrpc/results.py Result.from_anything 5 1 0 80%
flogin/jsonrpc/results.py Result.create_with_partial 3 3 0 0%
flogin/jsonrpc/results.py Result.slug 1 0 0 100%
flogin/jsonrpc/results.py Result.__repr__ 0 0 1 100%
flogin/jsonrpc/results.py (no function) 59 0 5 100%
flogin/pip.py Pip.__init__ 4 0 0 100%
flogin/pip.py Pip.libs_dir 1 0 0 100%
flogin/pip.py Pip.libs_dir 5 0 0 100%
flogin/pip.py Pip.download_pip 15 0 0 100%
flogin/pip.py Pip.delete_pip 3 0 0 100%
flogin/pip.py Pip.__enter__ 2 0 0 100%
flogin/pip.py Pip.__exit__ 2 0 0 100%
flogin/pip.py Pip.run 15 0 0 100%
flogin/pip.py Pip.install_packages 1 0 0 100%
flogin/pip.py Pip.ensure_installed 6 0 0 100%
flogin/pip.py Pip.freeze 1 0 0 100%
flogin/pip.py (no function) 28 0 5 100%
flogin/plugin.py Plugin.__init__ 14 3 0 79%
flogin/plugin.py Plugin.check_for_log_override_files 16 11 0 31%
flogin/plugin.py Plugin.last_query 1 1 0 0%
flogin/plugin.py Plugin.api 1 1 0 0%
flogin/plugin.py Plugin._get_env 4 4 0 0%
flogin/plugin.py Plugin.flow_version 1 1 0 0%
flogin/plugin.py Plugin.flow_application_dir 1 1 0 0%
flogin/plugin.py Plugin.flow_program_dir 1 1 0 0%
flogin/plugin.py Plugin.settings 6 6 0 0%
flogin/plugin.py Plugin._run_event 10 3 0 70%
flogin/plugin.py Plugin._schedule_event 2 0 0 100%
flogin/plugin.py Plugin.dispatch 7 7 0 0%
flogin/plugin.py Plugin._coro_or_gen_to_results 13 1 0 92%
flogin/plugin.py Plugin._initialize_wrapper 4 4 0 0%
flogin/plugin.py Plugin.process_context_menus 12 12 0 0%
flogin/plugin.py Plugin.process_search_handlers 10 1 0 90%
flogin/plugin.py Plugin._action_callback_wrapper 6 6 0 0%
flogin/plugin.py Plugin.process_action 6 6 0 0%
flogin/plugin.py Plugin.metadata 3 1 0 67%
flogin/plugin.py Plugin.start 4 4 0 0%
flogin/plugin.py Plugin.run 7 7 0 0%
flogin/plugin.py Plugin.register_search_handler 2 0 0 100%
flogin/plugin.py Plugin.register_search_handlers 2 2 0 0%
flogin/plugin.py Plugin.register_event 1 1 0 0%
flogin/plugin.py Plugin.__event_classmethod_deco 2 2 0 0%
flogin/plugin.py Plugin.event 2 2 0 0%
flogin/plugin.py Plugin.__handle_search_deco 0 0 0 100%
flogin/plugin.py Plugin.__handle_search_deco 0 0 0 100%
flogin/plugin.py Plugin.__handle_search_deco 4 0 0 100%
flogin/plugin.py Plugin.__handle_search_deco.inner 8 2 0 75%
flogin/plugin.py Plugin.__search_classmethod_deco 1 1 0 0%
flogin/plugin.py Plugin.search 1 0 0 100%
flogin/plugin.py Plugin.fetch_flow_settings 4 4 0 0%
flogin/plugin.py (no function) 73 0 7 100%
flogin/query.py Query.__init__ 3 0 0 100%
flogin/query.py Query.condition_data 1 0 0 100%
flogin/query.py Query.condition_data 1 0 0 100%
flogin/query.py Query.is_requery 1 0 0 100%
flogin/query.py Query.keyword 1 0 0 100%
flogin/query.py Query.raw_text 1 0 0 100%
flogin/query.py Query.text 1 0 0 100%
flogin/query.py Query.__eq__ 1 0 0 100%
flogin/query.py Query.__hash__ 1 0 0 100%
flogin/query.py Query.__repr__ 0 0 1 100%
flogin/query.py Query.update_results 1 0 0 100%
flogin/query.py Query.update 6 0 0 100%
flogin/query.py (no function) 28 0 6 100%
flogin/search_handler.py SearchHandler.__init__ 1 0 0 100%
flogin/search_handler.py SearchHandler.__init__ 1 0 0 100%
flogin/search_handler.py SearchHandler.__init__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init__ 5 1 0 80%
flogin/search_handler.py SearchHandler.__init_subclass__ 1 0 0 100%
flogin/search_handler.py SearchHandler.__init_subclass__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init_subclass__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init_subclass__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init_subclass__ 0 0 0 100%
flogin/search_handler.py SearchHandler.__init_subclass__ 3 1 0 67%
flogin/search_handler.py SearchHandler._builtin_condition_kwarg_to_obj 12 7 0 42%
flogin/search_handler.py SearchHandler.condition 1 0 0 100%
flogin/search_handler.py SearchHandler.callback 1 1 0 0%
flogin/search_handler.py SearchHandler.on_error 1 1 0 0%
flogin/search_handler.py SearchHandler.callback 1 1 0 0%
flogin/search_handler.py SearchHandler.on_error 2 2 0 0%
flogin/search_handler.py SearchHandler.name 1 0 0 100%
flogin/search_handler.py SearchHandler.error 2 0 0 100%
flogin/search_handler.py (no function) 46 0 4 100%
flogin/settings.py Settings.__init__ 3 0 0 100%
flogin/settings.py Settings.__getitem__ 1 0 0 100%
flogin/settings.py Settings.__getitem__ 1 0 0 100%
flogin/settings.py Settings.__getitem__ 4 0 0 100%
flogin/settings.py Settings.__setitem__ 2 0 0 100%
flogin/settings.py Settings.__getattribute__ 6 0 0 100%
flogin/settings.py Settings.__setattr__ 3 0 0 100%
flogin/settings.py Settings._update 4 0 0 100%
flogin/settings.py Settings._get_updates 4 0 0 100%
flogin/settings.py Settings.__repr__ 0 0 1 100%
flogin/settings.py (no function) 18 0 4 100%
flogin/testing/__init__.py (no function) 1 0 0 100%
flogin/testing/filler.py FillerObject.__init__ 1 0 0 100%
flogin/testing/filler.py FillerObject.__getattribute__ 3 0 0 100%
flogin/testing/filler.py (no function) 5 0 0 100%
flogin/testing/plugin_tester.py PluginTester.__init__ 16 8 0 50%
flogin/testing/plugin_tester.py PluginTester.set_flow_api_client 4 0 0 100%
flogin/testing/plugin_tester.py PluginTester.test_query 10 1 0 90%
flogin/testing/plugin_tester.py PluginTester.test_context_menu 7 7 0 0%
flogin/testing/plugin_tester.py PluginTester.create_bogus_plugin_metadata 1 0 0 100%
flogin/testing/plugin_tester.py PluginTester.create_plugin_metadata 8 2 0 75%
flogin/testing/plugin_tester.py PluginTester.__repr__ 0 0 1 100%
flogin/testing/plugin_tester.py (no function) 25 0 6 100%
flogin/utils.py _cached_property.__init__ 2 0 0 100%
flogin/utils.py _cached_property.__get__ 5 0 0 100%
flogin/utils.py copy_doc 2 0 0 100%
flogin/utils.py copy_doc.decorator 3 0 0 100%
flogin/utils.py _MissingSentinel.__bool__ 1 0 0 100%
flogin/utils.py _MissingSentinel.__eq__ 1 0 0 100%
flogin/utils.py _MissingSentinel.__repr__ 0 0 1 100%
flogin/utils.py setup_logging 13 0 0 100%
flogin/utils.py coro_or_gen 5 0 0 100%
flogin/utils.py VersionInfo._from_str 19 0 0 100%
flogin/utils.py InstanceOrClassmethod.__init__ 3 0 0 100%
flogin/utils.py InstanceOrClassmethod.__get__ 0 0 0 100%
flogin/utils.py InstanceOrClassmethod.__get__ 0 0 0 100%
flogin/utils.py InstanceOrClassmethod.__get__ 2 0 0 100%
flogin/utils.py InstanceOrClassmethod.__get__.wrapper 3 0 0 100%
flogin/utils.py add_classmethod_alt 2 0 0 100%
flogin/utils.py add_classmethod_alt.decorator 1 0 0 100%
flogin/utils.py print 5 0 0 100%
flogin/utils.py decorator 2 0 0 100%
flogin/utils.py func_with_self.__init__ 3 0 0 100%
flogin/utils.py func_with_self.__call__ 3 0 0 100%
flogin/utils.py (no function) 54 0 3 100%
Total   1712 429 116 75%

No items found using the specified filter.