{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"A coverage plugin that automatically applies sensible default settings for code coverage measurement, including branch tracking, strict thresholds, and platform/version-aware exclusion rules.","skillfed_tags":["coverage-plugin","testing-automation"],"use_cases":["Enforce 100% branch coverage across a project without manually configuring coverage thresholds and exclusion patterns.","Automatically exclude platform-specific code branches (Windows vs. POSIX, CPython vs. PyPy) from coverage reports.","Skip version-gated code (e.g., Python 3.9+ features) from coverage when testing on older Python versions.","Reduce boilerplate in .coveragerc by inheriting sensible defaults for show_missing, skip_covered, and exclude_lines.","Maintain consistent coverage settings across multiple projects by relying on a shared plugin rather than duplicating configuration."],"what_it_does":"covdefaults is a plugin for the coverage tool that injects a curated set of default coverage settings so you don't have to configure them manually. When activated, it sets branch tracking on, establishes a 100% coverage threshold, and pre-defines exclusion rules for common non-testable patterns like `if __name__ == '__main__'`, type-checking blocks, and platform-specific code paths.\n\nThe plugin also generates automatic pragma tags based on your runtime environment\u2014marking code as excluded if it targets a different platform (Windows vs. Linux) or Python version than the one running tests. You can override or extend any of these defaults in your own coverage configuration; the plugin respects manually set values and allows you to add or subtract from its omit and exclude lists.","worth_installing":"Yes, if you want strict, opinionated coverage defaults with minimal setup. The plugin is actively maintained, has no known vulnerabilities, and low install friction. It's most valuable for projects that already target 100% coverage or want to enforce it; teams preferring lower thresholds or highly custom exclusion rules may find the defaults constraining and should verify they can override them to your satisfaction."},"id":"covdefaults","links":{"html":"https://skillfed.io/packages/covdefaults","md":"https://skillfed.io/packages/covdefaults.md","pypi":"https://pypi.org/project/covdefaults/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-03-05","license_spdx":null,"license_treatment":"permissive","name":"covdefaults","python_support":"supports_current","summary":"A coverage plugin to provide sensible default settings"},"popularity":{"monthly_downloads":616728,"position":5740,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.3.0"}
