Coverage report: 100%

Files Functions Classes

coverage.py v7.10.4, created at 2025-08-22 16:14 -0700

File function statements missing excluded branches partial coverage
fguess.py NumberParts.__iter__ 1 0 0 0 0 100%
fguess.py FormatSpec.build 3 0 0 2 0 100%
fguess.py FormatSpec.as_tuple 1 0 0 0 0 100%
fguess.py build_format_spec 14 0 0 6 0 100%
fguess.py is_padding 1 0 0 0 0 100%
fguess.py count_decimals 1 0 0 0 0 100%
fguess.py split_numeric_literals 21 0 0 14 0 100%
fguess.py detect_padding 7 0 0 4 0 100%
fguess.py detect_datetime_format 4 0 0 0 0 100%
fguess.py is_single_numeric_datetime_format 2 0 0 0 0 100%
fguess.py has_datetime_structure 2 0 0 0 0 100%
fguess.py parse_number_to_spec 52 0 0 20 0 100%
fguess.py split_datetime_literals 8 0 0 4 0 100%
fguess.py analyze_number_format 54 0 0 26 0 100%
fguess.py get_test_value 31 0 0 24 0 100%
fguess.py main 19 0 0 8 0 100%
fguess.py (no function) 57 0 6 0 0 100%
tests/__init__.py (no function) 0 0 0 0 0 100%
tests/test_analyze_number_format.py TestAlignmentAndPadding.test_basic_alignment 3 0 0 0 0 100%
tests/test_analyze_number_format.py TestAlignmentAndPadding.test_custom_fill_alignment 3 0 0 0 0 100%
tests/test_analyze_number_format.py TestAlignmentAndPadding.test_zero_padding 3 0 0 2 0 100%
tests/test_analyze_number_format.py TestAlignmentAndPadding.test_padding_edge_cases 6 0 0 2 0 100%
tests/test_analyze_number_format.py TestAlignmentAndPadding.test_very_unequal_padding_right_align 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestAlignmentAndPadding.test_mixed_padding_as_literals 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_decimal_formats 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_comma_separators 3 0 0 2 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_comma_with_width 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_underscore_separators 3 0 0 2 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_underscore_with_width 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_hex_formats 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_percentage_formats 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestNumericFormats.test_percentage_alignment 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_currency_prefix 3 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_currency_suffix 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_label_with_number 3 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_parentheses 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_units 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_complex_suffix 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_prefix_and_suffix 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_hex_with_literals 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestLiteralsAndPrefixSuffix.test_hex_with_padding_as_literals 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestSignAndSpecialCases.test_sign_prefix 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestSignAndSpecialCases.test_negative_number 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestSignAndSpecialCases.test_sign_with_padding 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestSignAndSpecialCases.test_zero_padded_with_sign 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestSignAndSpecialCases.test_underscore_with_left_align 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestSignAndSpecialCases.test_underscore_with_center_align 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestComplexCombinations.test_currency_with_comma 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestComplexCombinations.test_currency_with_underscore 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestComplexCombinations.test_percentage_with_label 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestComplexCombinations.test_right_aligned_with_comma_and_decimal 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestComplexCombinations.test_right_aligned_with_underscore_and_decimal 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestComplexCombinations.test_centered_decimal 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestComplexCombinations.test_custom_fill_with_decimal 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_single_digit 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_number_zero 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_very_long_number 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_plain_string 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_string_with_numbers 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_only_padding_characters 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_just_decimal_point 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_empty_string 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_trailing_decimal_place 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_no_duplicate_formats 6 0 0 2 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_no_string_format_with_percent 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestEdgeCasesAndValidation.test_string_format_always_present_with_literals 4 0 0 2 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_basic_date_formats 4 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_month_day_year_format_with_comma 3 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_time_formats 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_iso_datetime_format 4 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_iso_datetime_with_seconds 2 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_full_weekday_datetime 3 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_date_with_literals 4 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_datetime_priority_over_numbers 4 0 0 0 0 100%
tests/test_analyze_number_format.py TestDatetimeFormats.test_single_number_datetime_lower_priority 2 0 0 0 0 100%
tests/test_analyze_number_format.py (no function) 78 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_str 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_int 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_int_padded 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_int_invalid 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_simple 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_negative 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_percentage 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_integer 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_comma 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_underscore 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_large_underscore 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_underscore_with_prefix 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_zero_padded 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_with_prefix 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_padded 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_float_invalid 1 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_empty_string 3 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_just_sign 2 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_zero 3 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValue.test_get_test_value_underscore_only 3 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_iso_date 6 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_us_date 6 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_time 5 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_full 9 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_month_name 6 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_weekday 3 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_invalid 4 0 0 0 0 100%
tests/test_get_test_value.py TestGetTestValueDatetime.test_get_test_value_datetime_with_literals 6 0 0 0 0 100%
tests/test_get_test_value.py (no function) 34 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_with_command_line_argument_with_results 7 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_with_command_line_argument_no_results 6 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_interactive_mode_with_results 7 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_interactive_mode_quit 6 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_interactive_mode_quit_case_insensitive 5 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_interactive_mode_no_results 6 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_duplicate_formats_deduplication 6 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_output_formatting 15 0 0 2 0 100%
tests/test_main.py TestMainFunction.test_main_test_value_generation 6 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_empty_input 5 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_interactive_empty_input 6 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_datetime_format_display 6 0 0 0 0 100%
tests/test_main.py TestMainFunction.test_main_multiple_format_types 10 0 0 2 0 100%
tests/test_main.py TestMainFunction.test_main_special_characters_in_input 6 0 0 0 0 100%
tests/test_main.py (no function) 23 0 0 0 0 100%
tests/test_roundrip.py TestRoundTrip.verify_format 3 0 0 0 0 100%
tests/test_roundrip.py TestRoundTrip.test_basic_numbers 3 0 0 0 0 100%
tests/test_roundrip.py TestRoundTrip.test_formatted_numbers 6 0 0 0 0 100%
tests/test_roundrip.py TestRoundTrip.test_underscore_numbers 5 0 0 0 0 100%
tests/test_roundrip.py TestRoundTrip.test_padded_numbers 4 0 0 0 0 100%
tests/test_roundrip.py TestRoundTrip.test_complex_underscore_combinations 3 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.verify_datetime_format 6 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.test_basic_date_formats 3 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.test_time_formats 3 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.test_combined_formats 3 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.test_month_and_weekday_names 4 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.test_timezone_formats 1 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.test_iso_formats 1 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeRoundTrip.test_datetime_with_literals 2 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeFormatUniqueness.test_no_duplicate_datetime_formats 9 0 0 4 0 100%
tests/test_roundrip.py TestDatetimeFormatUniqueness.test_datetime_vs_numeric_priority 3 0 0 0 0 100%
tests/test_roundrip.py TestDatetimeFormatUniqueness.test_datetime_structure_priority 5 0 0 2 0 100%
tests/test_roundrip.py (no function) 21 0 0 0 0 100%
Total   808 0 6 130 0 100%

No items found using the specified filter.