Coverage report: 75%

Files Functions Classes

coverage.py v7.15.4, created at 2026-08-11 17:39 +0200

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src/fileaudit/__about__.py (no function)   100% 1 0 0   100% 0 0   100%
src/fileaudit/__init__.py (no function)   100% 0 0 0   100% 0 0   100%
src/fileaudit/cli.py FileAudit.__init__   100% 1 0 0   100% 0 0   100%
src/fileaudit/cli.py FileAudit.check   0% 28 28 0   0% 10 0   0%
src/fileaudit/cli.py FileAudit._detect_file_type   0% 10 10 0   0% 6 0   0%
src/fileaudit/cli.py FileAudit._get_file_extension   0% 6 6 0   0% 4 0   0%
src/fileaudit/cli.py FileAudit.version   0% 1 1 0   100% 0 0   0%
src/fileaudit/cli.py FileAudit.help   0% 18 18 0   0% 2 0   0%
src/fileaudit/cli.py main   100% 16 0 0   90% 10 1   96%
src/fileaudit/cli.py (no function)   96% 26 1 0   50% 2 1   93%
src/fileaudit/csv_check.py CsvValidationError.__init__   100% 4 0 0   100% 0 0   100%
src/fileaudit/csv_check.py CsvValidationError.__str__   100% 1 0 0   100% 0 0   100%
src/fileaudit/csv_check.py _check_csv_field   80% 15 3 0   81% 16 3   81%
src/fileaudit/csv_check.py _check_csv_row   100% 7 0 0   100% 6 0   100%
src/fileaudit/csv_check.py _validate_csv_file   65% 93 33 0   61% 46 6   63%
src/fileaudit/csv_check.py validate_csv   100% 29 0 1   100% 12 0   100%
src/fileaudit/csv_check.py validate_csv._looks_like_file_path   89% 9 1 0   88% 8 1   88%
src/fileaudit/csv_check.py validate_csv._validate   100% 1 0 0   100% 0 0   100%
src/fileaudit/csv_check.py validate_csv.decorator   100% 8 0 0   100% 2 0   100%
src/fileaudit/csv_check.py validate_csv.decorator.wrapper   92% 12 1 0   75% 4 1   88%
src/fileaudit/csv_check.py (no function)   100% 24 0 0   100% 0 0   100%
src/fileaudit/gz_check.py GzValidationError.__init__   100% 4 0 0   100% 0 0   100%
src/fileaudit/gz_check.py GzValidationError.__str__   100% 1 0 0   100% 0 0   100%
src/fileaudit/gz_check.py _validate_limit   75% 4 1 0   50% 4 2   62%
src/fileaudit/gz_check.py _open_gz_file   84% 25 4 0   67% 6 2   81%
src/fileaudit/gz_check.py _validate_gz_file   78% 41 9 0   78% 18 2   78%
src/fileaudit/gz_check.py validate_gz   100% 27 0 1   100% 12 0   100%
src/fileaudit/gz_check.py validate_gz._looks_like_file_path   56% 9 4 0   50% 8 4   53%
src/fileaudit/gz_check.py validate_gz.decorator   100% 19 0 0   100% 8 0   100%
src/fileaudit/gz_check.py validate_gz.decorator.wrapper   100% 12 0 0   100% 4 0   100%
src/fileaudit/gz_check.py (no function)   100% 17 0 0   100% 0 0   100%
src/fileaudit/json_check.py FileValidationError.__init__   100% 4 0 0   100% 0 0   100%
src/fileaudit/json_check.py FileValidationError.__str__   100% 1 0 0   100% 0 0   100%
src/fileaudit/json_check.py limited_parse   100% 8 0 0   100% 10 0   100%
src/fileaudit/json_check.py validate_json   100% 23 0 1   92% 12 1   97%
src/fileaudit/json_check.py validate_json._looks_like_file_path   78% 9 2 0   75% 8 2   76%
src/fileaudit/json_check.py validate_json.decorator   100% 10 0 0   100% 4 0   100%
src/fileaudit/json_check.py validate_json.decorator.wrapper   100% 12 0 0   100% 4 0   100%
src/fileaudit/json_check.py _validate_json_file   91% 55 5 0   90% 20 2   91%
src/fileaudit/json_check.py (no function)   100% 15 0 0   100% 0 0   100%
src/fileaudit/python_check.py PythonValidationError.__init__   100% 4 0 0   100% 0 0   100%
src/fileaudit/python_check.py PythonValidationError.__str__   100% 1 0 0   100% 0 0   100%
src/fileaudit/python_check.py validate_python   100% 22 0 0   92% 12 1   97%
src/fileaudit/python_check.py validate_python._looks_like_file_path   89% 9 1 0   88% 8 1   88%
src/fileaudit/python_check.py validate_python.decorator   100% 10 0 0   100% 4 0   100%
src/fileaudit/python_check.py validate_python.decorator.wrapper   100% 12 0 0   100% 4 0   100%
src/fileaudit/python_check.py _validate_python_file   73% 113 31 0   67% 48 6   71%
src/fileaudit/python_check.py _validate_python_file._timeout_handler   0% 1 1 0   100% 0 0   0%
src/fileaudit/python_check.py (no function)   100% 18 0 0   100% 0 0   100%
src/fileaudit/tar_check.py TarValidationError.__init__   100% 4 0 0   100% 0 0   100%
src/fileaudit/tar_check.py TarValidationError.__str__   100% 1 0 0   100% 0 0   100%
src/fileaudit/tar_check.py _check_tar_member   94% 17 1 0   90% 10 1   93%
src/fileaudit/tar_check.py validate_tar   100% 27 0 0   92% 12 1   97%
src/fileaudit/tar_check.py validate_tar._looks_like_file_path   89% 9 1 0   88% 8 1   88%
src/fileaudit/tar_check.py validate_tar.decorator   100% 8 0 0   100% 2 0   100%
src/fileaudit/tar_check.py validate_tar.decorator.wrapper   100% 12 0 0   100% 4 0   100%
src/fileaudit/tar_check.py _validate_tar_file   89% 55 6 0   85% 20 1   88%
src/fileaudit/tar_check.py (no function)   100% 21 0 0   100% 0 0   100%
src/fileaudit/targz_check.py TarValidationError.__init__   100% 4 0 0   100% 0 0   100%
src/fileaudit/targz_check.py TarValidationError.__str__   100% 1 0 0   100% 0 0   100%
src/fileaudit/targz_check.py _check_tar_member   100% 17 0 0   100% 10 0   100%
src/fileaudit/targz_check.py validate_tar_gz   100% 28 0 0   92% 12 1   98%
src/fileaudit/targz_check.py validate_tar_gz._looks_like_file_path   67% 9 3 0   62% 8 3   65%
src/fileaudit/targz_check.py validate_tar_gz.decorator   100% 8 0 0   100% 2 0   100%
src/fileaudit/targz_check.py validate_tar_gz.decorator.wrapper   92% 12 1 0   75% 4 1   88%
src/fileaudit/targz_check.py _validate_tar_gz_file   96% 55 2 0   86% 22 3   94%
src/fileaudit/targz_check.py (no function)   100% 22 0 0   100% 0 0   100%
src/fileaudit/xml_check.py FileValidationError.__init__   100% 4 0 0   100% 0 0   100%
src/fileaudit/xml_check.py FileValidationError.__str__   100% 1 0 0   100% 0 0   100%
src/fileaudit/xml_check.py XMLSecurityValidator.__init__   100% 7 0 0   100% 0 0   100%
src/fileaudit/xml_check.py XMLSecurityValidator.reset_counters   100% 1 0 0   100% 0 0   100%
src/fileaudit/xml_check.py XMLSecurityValidator.secure_parse   90% 10 1 0   100% 0 0   90%
src/fileaudit/xml_check.py XMLSecurityValidator._validate_tree   73% 26 7 0   73% 26 7   73%
src/fileaudit/xml_check.py _reject_doctype   50% 2 1 0   50% 2 1   50%
src/fileaudit/xml_check.py _read_gzip_stream   0% 11 11 0   0% 4 0   0%
src/fileaudit/xml_check.py _validate_xml_file   40% 68 41 0   38% 24 5   39%
src/fileaudit/xml_check.py validate_xml   100% 17 0 1   100% 4 0   100%
src/fileaudit/xml_check.py validate_xml._looks_like_file_path   100% 2 0 0   100% 0 0   100%
src/fileaudit/xml_check.py validate_xml.decorator   100% 8 0 0   100% 2 0   100%
src/fileaudit/xml_check.py validate_xml.decorator.wrapper   75% 12 3 0   75% 4 1   75%
src/fileaudit/xml_check.py (no function)   100% 32 0 0   100% 0 0   100%
src/fileaudit/zip_check.py _validate_zip_file   0% 91 91 0   0% 64 0   0%
src/fileaudit/zip_check.py validate_zip   100% 27 0 1   92% 12 1   97%
src/fileaudit/zip_check.py validate_zip.decorator   100% 10 0 0   100% 4 0   100%
src/fileaudit/zip_check.py validate_zip.decorator.wrapper   100% 12 0 0   100% 4 0   100%
src/fileaudit/zip_check.py (no function)   100% 15 0 0   100% 0 0   100%
Total     77% 1462 329 5   68% 586 63   75%

No items found using the specified filter.