| src/usls/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/adapters/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
PassThroughAuthorizer.authorize |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
PolicyServiceAuthorizer.__post_init__ |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
PolicyServiceAuthorizer.authorize |
|
6 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
PolicyServiceAuthorizer._fetch_decision |
|
12 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
PolicyServiceAuthorizer._error_decision |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
build_authorizer |
|
12 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
_env_flag |
|
4 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/authorization.py |
(no function) |
|
27 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_team |
|
4 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_teams |
|
4 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_competitor |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_match |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_scoreboard |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_team_schedule |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_player |
|
11 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_roster |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_event |
|
6 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_venue_line |
|
5 |
2 |
0 |
|
60% |
| src/usls/adapters/inbound/formatters.py |
_fmt_match_details |
|
11 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_article |
|
8 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_news |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_standing |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_standings |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_opponent_row |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_strength_of_schedule |
|
12 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_tier_record |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_results_by_tier |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
_fmt_adjusted_ppg |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/formatters.py |
(no function) |
|
21 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/mcp_adapter.py |
_handle_livez |
|
1 |
1 |
0 |
|
0% |
| src/usls/adapters/inbound/mcp_adapter.py |
_handle_readyz |
|
1 |
1 |
0 |
|
0% |
| src/usls/adapters/inbound/mcp_adapter.py |
_handle_health |
|
1 |
1 |
0 |
|
0% |
| src/usls/adapters/inbound/mcp_adapter.py |
create_mcp_server |
|
8 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/mcp_adapter.py |
(no function) |
|
16 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/_base.py |
read_annotations |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/_base.py |
_safe_call |
|
11 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/_base.py |
_safe_call_authorized |
|
5 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/_base.py |
_authorize_tool |
|
7 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/_base.py |
register_tool_annotations |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/_base.py |
_read_actor |
|
7 |
3 |
0 |
|
57% |
| src/usls/adapters/inbound/tools/_base.py |
_current_access_token |
|
5 |
2 |
0 |
|
60% |
| src/usls/adapters/inbound/tools/_base.py |
_merge_scope_claims |
|
6 |
6 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/_base.py |
(no function) |
|
38 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/analytics.py |
register_analytics_tools |
|
6 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/analytics.py |
register_analytics_tools.get_strength_of_schedule |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/analytics.py |
register_analytics_tools.get_results_by_opponent_tier |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/analytics.py |
register_analytics_tools.get_adjusted_points_per_game |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/analytics.py |
(no function) |
|
8 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools |
|
16 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_teams |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_team |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_scoreboard |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_roster |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_match_details |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_team_schedule |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_news |
|
2 |
2 |
0 |
|
0% |
| src/usls/adapters/inbound/tools/espn.py |
register_espn_tools.get_standings |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/inbound/tools/espn.py |
(no function) |
|
8 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
_cache_key |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.__init__ |
|
5 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter._get_or_fetch |
|
13 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_teams |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_team |
|
1 |
1 |
0 |
|
0% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_scoreboard |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_team_schedule |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_match_details |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_roster |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_news |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/caching_adapter.py |
CachingAdapter.get_standings |
|
1 |
1 |
0 |
|
0% |
| src/usls/adapters/outbound/caching_adapter.py |
(no function) |
|
20 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
_check_response |
|
6 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.__init__ |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter._get |
|
4 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_teams |
|
3 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_team |
|
5 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_scoreboard |
|
7 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_roster |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_match_details |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_team_schedule |
|
8 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_news |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
ESPNAdapter.get_standings |
|
7 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/espn_adapter.py |
(no function) |
|
23 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_parse_team |
|
4 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_extract_score |
|
9 |
3 |
0 |
|
67% |
| src/usls/adapters/outbound/parsers.py |
_extract_winner |
|
5 |
3 |
0 |
|
40% |
| src/usls/adapters/outbound/parsers.py |
_parse_competitor |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_parse_match |
|
5 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_parse_key_event |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_competitor_by_side |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_competitor_team_name |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_extract_status_detail |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_extract_venue |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_parse_match_details |
|
11 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_parse_player |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_parse_article |
|
2 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
_parse_standing |
|
5 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/parsers.py |
(no function) |
|
17 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.__init__ |
|
4 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter._retry |
|
14 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_teams |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_team |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_scoreboard |
|
1 |
1 |
0 |
|
0% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_team_schedule |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_match_details |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_roster |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_news |
|
1 |
0 |
0 |
|
100% |
| src/usls/adapters/outbound/retry_adapter.py |
RetryingAdapter.get_standings |
|
1 |
1 |
0 |
|
0% |
| src/usls/adapters/outbound/retry_adapter.py |
(no function) |
|
18 |
0 |
0 |
|
100% |
| src/usls/application/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_build_ppg_index |
|
6 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_find_team_in_standings |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_team_from_schedule |
|
5 |
5 |
0 |
|
0% |
| src/usls/application/_analytics_helpers.py |
_resolve_team |
|
2 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_split_competitors |
|
5 |
1 |
0 |
|
80% |
| src/usls/application/_analytics_helpers.py |
_played_opponents |
|
8 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_opponent_ppgs |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_record_result |
|
5 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_classify_tier |
|
4 |
1 |
0 |
|
75% |
| src/usls/application/_analytics_helpers.py |
_tally_tier_results |
|
12 |
2 |
0 |
|
83% |
| src/usls/application/_analytics_helpers.py |
_league_average_ppg |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_self_record |
|
4 |
1 |
0 |
|
75% |
| src/usls/application/_analytics_helpers.py |
_safe_ratio |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_mean |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_validate_team_id |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_validate_tier_size |
|
2 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_build_tier_specs |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
_build_tier_record |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/_analytics_helpers.py |
(no function) |
|
26 |
0 |
0 |
|
100% |
| src/usls/application/_helpers.py |
_validate_yyyymmdd |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/_helpers.py |
(no function) |
|
2 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.__init__ |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_teams |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_team |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_scoreboard |
|
7 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_news |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_roster |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_match_details |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_team_schedule |
|
3 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_standings |
|
1 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_strength_of_schedule |
|
7 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_results_by_opponent_tier |
|
10 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
USLSService.get_adjusted_points_per_game |
|
10 |
0 |
0 |
|
100% |
| src/usls/application/service.py |
(no function) |
|
17 |
0 |
0 |
|
100% |
| src/usls/domain/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/domain/exceptions.py |
(no function) |
|
3 |
0 |
0 |
|
100% |
| src/usls/domain/models.py |
(no function) |
|
105 |
0 |
0 |
|
100% |
| src/usls/observability/__init__.py |
(no function) |
|
2 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
_env_flag |
|
4 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
_resolve_endpoint |
|
1 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
setup_tracing |
|
16 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
_build_exporter |
|
11 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
_resource_attrs |
|
8 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
_sampler |
|
8 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
_instrument_starlette_if_available |
|
6 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
_noop_shutdown |
|
1 |
0 |
0 |
|
100% |
| src/usls/observability/tracing.py |
(no function) |
|
13 |
0 |
0 |
|
100% |
| src/usls/ports/__init__.py |
(no function) |
|
0 |
0 |
0 |
|
100% |
| src/usls/ports/inbound.py |
Decision.allow |
|
1 |
0 |
0 |
|
100% |
| src/usls/ports/inbound.py |
Decision.deny |
|
1 |
0 |
0 |
|
100% |
| src/usls/ports/inbound.py |
Decision.allowed |
|
1 |
0 |
0 |
|
100% |
| src/usls/ports/inbound.py |
Authorizer.authorize |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/inbound.py |
(no function) |
|
37 |
0 |
0 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_teams |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_team |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_scoreboard |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_news |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_roster |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_match_details |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_team_schedule |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
USLSAPIPort.get_standings |
|
0 |
0 |
1 |
|
100% |
| src/usls/ports/outbound.py |
(no function) |
|
11 |
0 |
7 |
|
100% |
| src/usls/security/__init__.py |
(no function) |
|
2 |
0 |
0 |
|
100% |
| src/usls/security/jwks.py |
JWKSCache.get |
|
7 |
0 |
0 |
|
100% |
| src/usls/security/jwks.py |
JWKSCache._stale |
|
1 |
0 |
0 |
|
100% |
| src/usls/security/jwks.py |
JWKSCache._refresh |
|
20 |
3 |
0 |
|
85% |
| src/usls/security/jwks.py |
jwks_url |
|
1 |
0 |
0 |
|
100% |
| src/usls/security/jwks.py |
(no function) |
|
22 |
0 |
0 |
|
100% |
| src/usls/security/token_verifier.py |
JWKSTokenVerifier.verify_token |
|
20 |
0 |
0 |
|
100% |
| src/usls/security/token_verifier.py |
_to_access_token |
|
8 |
0 |
0 |
|
100% |
| src/usls/security/token_verifier.py |
_parse_scope |
|
3 |
1 |
0 |
|
67% |
| src/usls/security/token_verifier.py |
build_token_verifier |
|
9 |
0 |
0 |
|
100% |
| src/usls/security/token_verifier.py |
_env_flag |
|
4 |
0 |
0 |
|
100% |
| src/usls/security/token_verifier.py |
_env_int |
|
8 |
0 |
0 |
|
100% |
| src/usls/security/token_verifier.py |
(no function) |
|
24 |
0 |
0 |
|
100% |
| src/usls/server.py |
_JsonFormatter.format |
|
4 |
1 |
0 |
|
75% |
| src/usls/server.py |
_configure_logging |
|
6 |
0 |
0 |
|
100% |
| src/usls/server.py |
build_server |
|
5 |
0 |
0 |
|
100% |
| src/usls/server.py |
main |
|
17 |
10 |
0 |
|
41% |
| src/usls/server.py |
_build_auth |
|
8 |
8 |
0 |
|
0% |
| src/usls/server.py |
(no function) |
|
26 |
1 |
0 |
|
96% |