Coverage report:
100%
hide covered
Files
Functions
Classes
coverage.py v7.10.6
, created at 2025-09-20 18:02 +0000
File
function
statements
missing
excluded
branches
partial
coverage
sources/detextive/__/__init__.py
(no function)
2
0
0
0
0
100%
sources/detextive/__/imports.py
(no function)
16
0
0
0
0
100%
sources/detextive/__/nomina.py
is_public_identifier
1
0
0
0
0
100%
sources/detextive/__/nomina.py
(no function)
6
0
0
0
0
100%
sources/detextive/__init__.py
(no function)
12
0
0
0
0
100%
sources/detextive/charsets.py
attempt_decodes
24
0
0
16
0
100%
sources/detextive/charsets.py
discover_os_charset_default
2
0
0
0
0
100%
sources/detextive/charsets.py
normalize_charset
1
0
0
0
0
100%
sources/detextive/charsets.py
trial_decode_as_confident
13
0
0
8
0
100%
sources/detextive/charsets.py
(no function)
9
0
0
0
0
100%
sources/detextive/core.py
confidence_from_bytes_quantity
1
0
0
0
0
100%
sources/detextive/core.py
(no function)
41
0
0
0
0
100%
sources/detextive/decoders.py
decode
20
0
0
10
0
100%
sources/detextive/decoders.py
(no function)
10
0
0
0
0
100%
sources/detextive/detectors.py
detect_charset
2
0
0
0
0
100%
sources/detextive/detectors.py
detect_charset_confidence
19
0
0
16
0
100%
sources/detextive/detectors.py
detect_mimetype
3
0
0
0
0
100%
sources/detextive/detectors.py
detect_mimetype_confidence
15
0
0
12
0
100%
sources/detextive/detectors.py
_confirm_charset_detection
15
0
3
4
0
100%
sources/detextive/detectors.py
_detect_mimetype_from_charset
25
0
0
16
0
100%
sources/detextive/detectors.py
_detect_via_chardet
3
0
2
0
0
100%
sources/detextive/detectors.py
_detect_via_charset_normalizer
3
0
3
0
0
100%
sources/detextive/detectors.py
_detect_via_magic
3
0
3
0
0
100%
sources/detextive/detectors.py
_detect_via_puremagic
3
0
4
0
0
100%
sources/detextive/detectors.py
_normalize_charset_detection
4
0
1
2
0
100%
sources/detextive/detectors.py
(no function)
27
0
0
0
0
100%
sources/detextive/exceptions.py
CharsetDetectFailure.__init__
4
0
0
2
0
100%
sources/detextive/exceptions.py
CharsetInferFailure.__init__
4
0
0
2
0
100%
sources/detextive/exceptions.py
ContentDecodeImpossibility.__init__
4
0
0
2
0
100%
sources/detextive/exceptions.py
ContentDecodeFailure.__init__
7
0
0
2
0
100%
sources/detextive/exceptions.py
MimetypeDetectFailure.__init__
4
0
0
2
0
100%
sources/detextive/exceptions.py
MimetypeInferFailure.__init__
4
0
0
2
0
100%
sources/detextive/exceptions.py
TextInvalidity.__init__
4
0
0
2
0
100%
sources/detextive/exceptions.py
TextualMimetypeInvalidity.__init__
4
0
0
2
0
100%
sources/detextive/exceptions.py
(no function)
20
0
0
0
0
100%
sources/detextive/inference.py
infer_charset
2
0
0
0
0
100%
sources/detextive/inference.py
infer_charset_confidence
16
0
0
12
0
100%
sources/detextive/inference.py
infer_mimetype_charset
2
0
0
0
0
100%
sources/detextive/inference.py
infer_mimetype_charset_confidence
23
0
0
16
0
100%
sources/detextive/inference.py
parse_http_content_type
11
0
0
8
0
100%
sources/detextive/inference.py
_determine_parse_detect
11
0
0
6
0
100%
sources/detextive/inference.py
_validate_http_content_type
9
0
0
6
0
100%
sources/detextive/inference.py
(no function)
14
0
0
0
0
100%
sources/detextive/lineseparators.py
LineSeparators.detect_bytes
13
0
0
12
0
100%
sources/detextive/lineseparators.py
LineSeparators.detect_text
13
0
0
12
0
100%
sources/detextive/lineseparators.py
LineSeparators.normalize_universal
1
0
0
0
0
100%
sources/detextive/lineseparators.py
LineSeparators.normalize
2
0
0
2
0
100%
sources/detextive/lineseparators.py
LineSeparators.nativize
2
0
0
2
0
100%
sources/detextive/lineseparators.py
(no function)
13
0
0
0
0
100%
sources/detextive/mimetypes.py
is_textual_mimetype
3
0
0
4
0
100%
sources/detextive/mimetypes.py
mimetype_from_location
3
0
0
2
0
100%
sources/detextive/mimetypes.py
(no function)
6
0
0
0
0
100%
sources/detextive/nomina.py
(no function)
11
0
0
0
0
100%
sources/detextive/validation.py
Profile.__call__
1
0
0
0
0
100%
sources/detextive/validation.py
is_valid_text
28
0
0
18
0
100%
sources/detextive/validation.py
(no function)
26
0
0
0
0
100%
Total
545
0
16
200
0
100%
No items found using the specified filter.