Coverage report: 80%

Files Functions Classes

coverage.py v7.9.1, created at 2025-06-28 01:17 +0900

File function statements missing excluded branches partial coverage
src\funcall\__init__.py (no function) 5 0 0 0 0 100%
src\funcall\decorators.py ToolWrapper.__init__ 5 0 0 0 0 100%
src\funcall\decorators.py ToolWrapper.__call__ 4 2 0 2 1 50%
src\funcall\decorators.py ToolWrapper.acall 4 2 0 2 1 50%
src\funcall\decorators.py tool 4 0 0 2 0 100%
src\funcall\decorators.py tool.decorator 1 0 0 0 0 100%
src\funcall\decorators.py (no function) 11 0 0 0 0 100%
src\funcall\funcall.py _convert_argument_type 25 3 0 14 3 85%
src\funcall\funcall.py _is_async_function 1 0 0 0 0 100%
src\funcall\funcall.py Funcall.__init__ 2 0 0 0 0 100%
src\funcall\funcall.py Funcall.get_tools 1 0 0 0 0 100%
src\funcall\funcall.py Funcall._prepare_function_execution 18 0 0 10 1 96%
src\funcall\funcall.py Funcall._execute_sync_in_async_context 9 5 0 2 1 45%
src\funcall\funcall.py Funcall.call_function 10 2 0 6 1 81%
src\funcall\funcall.py Funcall.call_function_async 10 2 0 6 1 81%
src\funcall\funcall.py Funcall.handle_openai_function_call 4 2 0 2 1 50%
src\funcall\funcall.py Funcall.handle_openai_function_call_async 4 2 0 2 1 50%
src\funcall\funcall.py Funcall.handle_litellm_function_call 10 6 0 6 3 44%
src\funcall\funcall.py Funcall.handle_litellm_function_call_async 10 6 0 6 3 44%
src\funcall\funcall.py Funcall.handle_function_call 6 2 0 4 1 70%
src\funcall\funcall.py Funcall.handle_function_call_async 6 2 0 4 1 70%
src\funcall\funcall.py Funcall.get_tool_meta 7 3 0 4 2 55%
src\funcall\funcall.py (no function) 30 0 0 0 0 100%
src\funcall\metadata.py generate_function_metadata 12 0 0 6 0 100%
src\funcall\metadata.py _extract_parameters 11 0 0 4 0 100%
src\funcall\metadata.py _generate_single_param_metadata 28 5 0 16 4 75%
src\funcall\metadata.py _generate_multi_param_metadata 17 0 0 8 0 100%
src\funcall\metadata.py (no function) 13 0 0 0 0 100%
src\funcall\params_to_schema.py _create_union_type 4 2 0 0 0 50%
src\funcall\params_to_schema.py _handle_tuple_type 10 10 0 6 0 0%
src\funcall\params_to_schema.py _dataclass_to_pydantic_model 11 1 0 6 1 88%
src\funcall\params_to_schema.py _add_field_descriptions 5 0 0 6 1 91%
src\funcall\params_to_schema.py to_field_type 27 7 0 20 4 72%
src\funcall\params_to_schema.py params_to_schema 16 2 0 10 2 85%
src\funcall\params_to_schema.py _inline_definitions 5 1 0 2 1 71%
src\funcall\params_to_schema.py _inline_definitions.replace_refs 13 1 0 10 2 87%
src\funcall\params_to_schema.py _normalize_schema 12 0 0 16 2 93%
src\funcall\params_to_schema.py (no function) 15 0 0 0 0 100%
src\funcall\types.py Context.__init__ 1 0 0 0 0 100%
src\funcall\types.py is_context_type 1 0 0 0 0 100%
src\funcall\types.py is_optional_type 5 2 0 2 1 57%
src\funcall\types.py (no function) 18 0 0 0 0 100%
Total   411 70 0 184 39 80%

No items found using the specified filter.