"""NCover source."""

from shared_data_model.meta.source import Source
from shared_data_model.parameters import access_parameters

ALL_NCOVER_METRICS = ["source_up_to_dateness", "uncovered_branches", "uncovered_lines"]

NCOVER = Source(
    name="NCover",
    description="A .NET code coverage solution.",
    url="https://www.ncover.com/",
    parameters=access_parameters(
        ALL_NCOVER_METRICS,
        source_type="NCover report",
        source_type_format="HTML",
        include={"landing_url": False},
    ),
)
