Coverage report: 93%

Files Functions Classes

coverage.py v7.13.5, created at 2026-03-30 20:22 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src / augint_library / __init__.py (no function)   57% 23 10 0   50% 2 1   56%
src / augint_library / cli.py cli   100% 1 0 0   100% 0 0   100%
src / augint_library / cli.py greet   62% 8 3 0   100% 0 0   62%
src / augint_library / cli.py fetch_data_command   80% 15 3 0   100% 0 0   80%
src / augint_library / cli.py circuit_breaker_group   100% 0 0 0   100% 0 0   100%
src / augint_library / cli.py circuit_breaker_status   100% 14 0 0   83% 6 1   95%
src / augint_library / cli.py circuit_breaker_reset   100% 9 0 0   100% 6 0   100%
src / augint_library / cli.py feature_flags_group   100% 0 0 0   100% 0 0   100%
src / augint_library / cli.py feature_flags_list   100% 18 0 0   100% 10 0   100%
src / augint_library / cli.py feature_flags_set   86% 7 1 0   100% 0 0   86%
src / augint_library / cli.py feature_flags_check   88% 16 2 0   100% 6 0   91%
src / augint_library / cli.py feature_flags_register   100% 7 0 0   100% 0 0   100%
src / augint_library / cli.py telemetry_group   100% 2 0 0   100% 0 0   100%
src / augint_library / cli.py telemetry_status   100% 23 0 0   100% 2 0   100%
src / augint_library / cli.py telemetry_enable   100% 28 0 0   100% 6 0   100%
src / augint_library / cli.py telemetry_disable   100% 7 0 0   100% 2 0   100%
src / augint_library / cli.py telemetry_test   100% 16 0 0   100% 2 0   100%
src / augint_library / cli.py telemetry_test._create_test_error   100% 1 0 0   100% 0 0   100%
src / augint_library / cli.py (no function)   92% 75 6 2   100% 0 0   92%
src / augint_library / constants.py (no function)   100% 26 0 0   100% 0 0   100%
src / augint_library / core.py print_hi   100% 1 0 0   100% 0 0   100%
src / augint_library / core.py fetch_data   100% 9 0 0   100% 6 0   100%
src / augint_library / core.py (no function)   100% 7 0 0   100% 0 0   100%
src / augint_library / exceptions.py AugintError.__init__   100% 5 0 0   100% 0 0   100%
src / augint_library / exceptions.py AugintError.with_code   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py AugintError.with_detail   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py AugintError.with_context   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py AugintError.to_dict   100% 1 0 0   100% 0 0   100%
src / augint_library / exceptions.py AugintError.to_json   100% 1 0 0   100% 0 0   100%
src / augint_library / exceptions.py ConfigurationError.__init__   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py ValidationError.__init__   100% 9 0 0   100% 6 0   100%
src / augint_library / exceptions.py ValidationError.create_mock   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py ResourceError.__init__   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py ResourceNotFoundError.__init__   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py ResourceAlreadyExistsError.__init__   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py NetworkError.__init__   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py NetworkTimeoutError.__init__   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py RateLimitError.__init__   100% 10 0 0   50% 8 4   78%
src / augint_library / exceptions.py MultiError.__init__   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py MultiError.to_dict   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py handle_exceptions   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py handle_exceptions.decorator   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py handle_exceptions.decorator.wrapper   78% 9 2 0   75% 4 1   77%
src / augint_library / exceptions.py collect_errors   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py collect_errors.wrapper   80% 15 3 0   75% 4 1   79%
src / augint_library / exceptions.py error_context   100% 3 0 0   100% 0 0   100%
src / augint_library / exceptions.py error_context.decorator   100% 2 0 0   100% 0 0   100%
src / augint_library / exceptions.py error_context.decorator.wrapper   71% 7 2 0   100% 0 0   71%
src / augint_library / exceptions.py (no function)   100% 48 0 0   100% 0 0   100%
src / augint_library / feature_flags.py FeatureFlag.__init__   100% 7 0 0   100% 0 0   100%
src / augint_library / feature_flags.py FeatureFlag._validate_name   100% 3 0 0   100% 2 0   100%
src / augint_library / feature_flags.py FeatureFlag._validate_state   100% 10 0 0   100% 6 0   100%
src / augint_library / feature_flags.py FeatureFlag.evaluate   94% 18 1 0   90% 10 1   93%
src / augint_library / feature_flags.py FeatureFlag._evaluate_percentage   100% 10 0 0   100% 4 0   100%
src / augint_library / feature_flags.py FeatureFlags.__new__   100% 3 0 0   100% 2 0   100%
src / augint_library / feature_flags.py FeatureFlags.__init__   89% 9 1 0   83% 6 1   87%
src / augint_library / feature_flags.py FeatureFlags.register   100% 8 0 0   100% 4 0   100%
src / augint_library / feature_flags.py FeatureFlags.register_evaluator   100% 2 0 0   100% 0 0   100%
src / augint_library / feature_flags.py FeatureFlags.is_enabled   100% 4 0 0   100% 2 0   100%
src / augint_library / feature_flags.py FeatureFlags.set_state   100% 4 0 0   100% 2 0   100%
src / augint_library / feature_flags.py FeatureFlags.get_state   100% 3 0 0   100% 2 0   100%
src / augint_library / feature_flags.py FeatureFlags.get_all_flags   100% 1 0 0   100% 0 0   100%
src / augint_library / feature_flags.py FeatureFlags.override   100% 11 0 0   100% 2 0   100%
src / augint_library / feature_flags.py FeatureFlags.load_from_file   100% 15 0 0   80% 10 2   92%
src / augint_library / feature_flags.py FeatureFlags.load_from_env   100% 10 0 0   100% 6 0   100%
src / augint_library / feature_flags.py feature_flag   100% 2 0 0   100% 0 0   100%
src / augint_library / feature_flags.py feature_flag.decorator   100% 5 0 0   100% 0 0   100%
src / augint_library / feature_flags.py feature_flag.decorator.wrapper   100% 7 0 0   100% 4 0   100%
src / augint_library / feature_flags.py get_flags   100% 1 0 0   100% 0 0   100%
src / augint_library / feature_flags.py (no function)   100% 37 0 0   100% 0 0   100%
src / augint_library / logging.py JSONFormatter.format   100% 7 0 0   100% 6 0   100%
src / augint_library / logging.py setup_logging   100% 12 0 0   100% 4 0   100%
src / augint_library / logging.py (no function)   100% 8 0 0   100% 0 0   100%
src / augint_library / protocols.py ProcessingResult.success   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py ProcessingResult.data   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py ProcessingResult.error   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py ProcessingResult.metadata   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py DataProcessor.process   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py DataProcessor.batch_process   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py ConfigurableClient.get   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py ConfigurableClient.post   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py EventHandler.handle_event   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py EventHandler.can_handle   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py CacheProvider.get   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py CacheProvider.set   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py CacheProvider.delete   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py CacheProvider.clear   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py AdvancedProcessor.process_with_events   100% 0 0 1   100% 0 0   100%
src / augint_library / protocols.py (no function)   100% 34 0 1   100% 0 0   100%
src / augint_library / resilience.py CircuitOpenError.__init__   100% 1 0 0   100% 0 0   100%
src / augint_library / resilience.py CircuitBreaker.__init__   100% 7 0 0   100% 0 0   100%
src / augint_library / resilience.py CircuitBreaker.call   100% 14 0 0   100% 4 0   100%
src / augint_library / resilience.py CircuitBreaker._on_success   100% 6 0 0   100% 4 0   100%
src / augint_library / resilience.py CircuitBreaker._on_failure   100% 5 0 0   100% 2 0   100%
src / augint_library / resilience.py CircuitBreaker.get_state   100% 2 0 0   100% 0 0   100%
src / augint_library / resilience.py retry   100% 4 0 0   100% 0 0   100%
src / augint_library / resilience.py retry.decorator   100% 2 0 0   100% 0 0   100%
src / augint_library / resilience.py retry.decorator.wrapper   80% 15 3 0   62% 8 1   74%
src / augint_library / resilience.py circuit_breaker   100% 3 0 0   100% 0 0   100%
src / augint_library / resilience.py circuit_breaker.decorator   100% 8 0 0   50% 2 1   90%
src / augint_library / resilience.py circuit_breaker.decorator.wrapper   100% 1 0 0   100% 0 0   100%
src / augint_library / resilience.py get_circuit_breakers   100% 2 0 0   100% 0 0   100%
src / augint_library / resilience.py reset_circuit_breaker   100% 10 0 0   100% 2 0   100%
src / augint_library / resilience.py (no function)   100% 41 0 0   100% 0 0   100%
src / augint_library / telemetry.py TelemetryClient.__init__   100% 7 0 0   100% 2 0   100%
src / augint_library / telemetry.py TelemetryClient._get_package_name   67% 3 1 0   50% 2 1   60%
src / augint_library / telemetry.py TelemetryClient._should_enable_telemetry   100% 9 0 0   100% 6 0   100%
src / augint_library / telemetry.py TelemetryClient._is_ci_environment   100% 2 0 0   100% 0 0   100%
src / augint_library / telemetry.py TelemetryClient._check_stored_consent   100% 8 0 0   100% 2 0   100%
src / augint_library / telemetry.py TelemetryClient._get_anonymous_id   100% 11 0 0   100% 4 0   100%
src / augint_library / telemetry.py TelemetryClient._initialize_sentry   86% 21 3 0   75% 4 1   84%
src / augint_library / telemetry.py TelemetryClient._scrub_sensitive_data   91% 11 1 0   83% 6 1   88%
src / augint_library / telemetry.py TelemetryClient._scrub_stacktraces   100% 12 0 0   83% 12 2   92%
src / augint_library / telemetry.py TelemetryClient._scrub_breadcrumbs   100% 7 0 0   100% 8 0   100%
src / augint_library / telemetry.py TelemetryClient._anonymize_path   100% 10 0 0   100% 8 0   100%
src / augint_library / telemetry.py TelemetryClient._scrub_dict   92% 13 1 0   90% 10 1   91%
src / augint_library / telemetry.py TelemetryClient.enabled   100% 1 0 0   100% 0 0   100%
src / augint_library / telemetry.py TelemetryClient.set_consent   72% 18 5 0   62% 8 1   69%
src / augint_library / telemetry.py TelemetryClient.track_command   80% 10 2 0   100% 4 0   86%
src / augint_library / telemetry.py TelemetryClient.track_error   83% 12 2 0   100% 6 0   89%
src / augint_library / telemetry.py TelemetryClient.track_metric   75% 8 2 0   100% 4 0   83%
src / augint_library / telemetry.py TelemetryClient.flush   100% 3 0 0   100% 2 0   100%
src / augint_library / telemetry.py _set_sentry_available   100% 1 0 0   100% 0 0   100%
src / augint_library / telemetry.py _is_sentry_available   100% 1 0 0   100% 0 0   100%
src / augint_library / telemetry.py get_telemetry_client   100% 3 0 0   100% 2 0   100%
src / augint_library / telemetry.py track_command_execution   100% 3 0 0   100% 0 0   100%
src / augint_library / telemetry.py track_command_execution.wrapper   100% 13 0 0   100% 0 0   100%
src / augint_library / telemetry.py (no function)   81% 80 15 0   100% 0 0   81%
Total     94% 1079 69 18   90% 254 21   93%

No items found using the specified filter.