Coverage report: 95%

Files Functions Classes

coverage.py v7.13.4, created at 2026-04-28 02:54 +0000

File class   statements missing excluded   coverage
src / python_commitlint / __init__.py (no class)   5 0 0   100%
src / python_commitlint / cli.py (no class)   79 9 0   89%
src / python_commitlint / config / __init__.py (no class)   3 0 0   100%
src / python_commitlint / config / configuration.py ConfigurationLoader   61 9 0   85%
src / python_commitlint / config / configuration.py ConfigurationLoaderFactory   1 0 0   100%
src / python_commitlint / config / configuration.py (no class)   23 0 0   100%
src / python_commitlint / config / converter.py _StringState   0 0 0   100%
src / python_commitlint / config / converter.py _CharResult   0 0 0   100%
src / python_commitlint / config / converter.py CommitlintConfigConverter   93 8 0   91%
src / python_commitlint / config / converter.py (no class)   32 0 0   100%
src / python_commitlint / core / __init__.py (no class)   5 0 0   100%
src / python_commitlint / core / enums.py Severity   0 0 0   100%
src / python_commitlint / core / enums.py RuleCondition   0 0 0   100%
src / python_commitlint / core / enums.py CaseType   0 0 0   100%
src / python_commitlint / core / enums.py (no class)   17 0 0   100%
src / python_commitlint / core / exceptions.py ConfigurationError   0 0 0   100%
src / python_commitlint / core / exceptions.py (no class)   1 0 0   100%
src / python_commitlint / core / models.py CommitMessage   0 0 0   100%
src / python_commitlint / core / models.py RuleConfig   0 0 0   100%
src / python_commitlint / core / models.py ValidationError   0 0 0   100%
src / python_commitlint / core / models.py LintResult   2 0 0   100%
src / python_commitlint / core / models.py Configuration   0 0 0   100%
src / python_commitlint / core / models.py CaseValidation   0 0 0   100%
src / python_commitlint / core / models.py ScopeEnumValidation   0 0 0   100%
src / python_commitlint / core / models.py (no class)   47 0 0   100%
src / python_commitlint / core / protocols.py CommitParserProtocol   0 0 1   100%
src / python_commitlint / core / protocols.py RuleProtocol   0 0 2   100%
src / python_commitlint / core / protocols.py ConfigurationLoaderProtocol   0 0 1   100%
src / python_commitlint / core / protocols.py CommitLinterProtocol   0 0 1   100%
src / python_commitlint / core / protocols.py (no class)   13 0 7   100%
src / python_commitlint / linter.py CommitLinter   23 0 0   100%
src / python_commitlint / linter.py CommitLinterFactory   7 0 0   100%
src / python_commitlint / linter.py (no class)   21 0 0   100%
src / python_commitlint / parser.py ConventionalCommitParser   47 5 0   89%
src / python_commitlint / parser.py CommitParserFactory   1 0 0   100%
src / python_commitlint / parser.py (no class)   20 0 0   100%
src / python_commitlint / rules / __init__.py (no class)   7 0 0   100%
src / python_commitlint / rules / base.py BaseRule   1 0 0   100%
src / python_commitlint / rules / base.py (no class)   12 0 0   100%
src / python_commitlint / rules / body_rules.py BodyEmptyRule   7 0 0   100%
src / python_commitlint / rules / body_rules.py BodyLeadingBlankRule   12 0 0   100%
src / python_commitlint / rules / body_rules.py BodyMaxLengthRule   9 0 0   100%
src / python_commitlint / rules / body_rules.py BodyMaxLineLengthRule   12 1 0   92%
src / python_commitlint / rules / body_rules.py BodyMinLengthRule   9 0 0   100%
src / python_commitlint / rules / body_rules.py BodyFullStopRule   10 0 0   100%
src / python_commitlint / rules / body_rules.py BodyCaseRule   9 0 0   100%
src / python_commitlint / rules / body_rules.py (no class)   34 0 0   100%
src / python_commitlint / rules / case_validators.py CaseValidator   27 2 0   93%
src / python_commitlint / rules / case_validators.py (no class)   24 0 0   100%
src / python_commitlint / rules / footer_rules.py FooterEmptyRule   7 0 0   100%
src / python_commitlint / rules / footer_rules.py FooterLeadingBlankRule   17 1 0   94%
src / python_commitlint / rules / footer_rules.py FooterMaxLengthRule   9 0 0   100%
src / python_commitlint / rules / footer_rules.py FooterMaxLineLengthRule   10 1 0   90%
src / python_commitlint / rules / footer_rules.py FooterMinLengthRule   9 0 0   100%
src / python_commitlint / rules / footer_rules.py (no class)   28 0 0   100%
src / python_commitlint / rules / header_rules.py HeaderMaxLengthRule   7 0 0   100%
src / python_commitlint / rules / header_rules.py HeaderMinLengthRule   7 0 0   100%
src / python_commitlint / rules / header_rules.py HeaderTrimRule   6 0 0   100%
src / python_commitlint / rules / header_rules.py HeaderFullStopRule   10 0 0   100%
src / python_commitlint / rules / header_rules.py HeaderCaseRule   9 0 0   100%
src / python_commitlint / rules / header_rules.py (no class)   24 0 0   100%
src / python_commitlint / rules / registry.py RuleRegistry   4 1 0   75%
src / python_commitlint / rules / registry.py RuleRegistryFactory   6 1 0   83%
src / python_commitlint / rules / registry.py (no class)   17 0 0   100%
src / python_commitlint / rules / scope_rules.py ScopeEmptyRule   7 0 0   100%
src / python_commitlint / rules / scope_rules.py ScopeCaseRule   15 3 0   80%
src / python_commitlint / rules / scope_rules.py ScopeEnumRule   18 3 0   83%
src / python_commitlint / rules / scope_rules.py ScopeMinLengthRule   9 0 0   100%
src / python_commitlint / rules / scope_rules.py ScopeMaxLengthRule   9 0 0   100%
src / python_commitlint / rules / scope_rules.py (no class)   45 8 0   82%
src / python_commitlint / rules / subject_rules.py SubjectEmptyRule   7 0 0   100%
src / python_commitlint / rules / subject_rules.py SubjectCaseRule   9 0 0   100%
src / python_commitlint / rules / subject_rules.py SubjectFullStopRule   10 0 0   100%
src / python_commitlint / rules / subject_rules.py SubjectMinLengthRule   9 0 0   100%
src / python_commitlint / rules / subject_rules.py SubjectMaxLengthRule   9 0 0   100%
src / python_commitlint / rules / subject_rules.py (no class)   24 0 0   100%
src / python_commitlint / rules / type_rules.py TypeEmptyRule   7 0 0   100%
src / python_commitlint / rules / type_rules.py TypeCaseRule   9 0 0   100%
src / python_commitlint / rules / type_rules.py TypeEnumRule   12 0 0   100%
src / python_commitlint / rules / type_rules.py TypeMinLengthRule   9 0 0   100%
src / python_commitlint / rules / type_rules.py TypeMaxLengthRule   9 0 0   100%
src / python_commitlint / rules / type_rules.py (no class)   25 0 0   100%
Total     1086 52 12   95%

No items found using the specified filter.