Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Rounding down the percentage. #1194

@KommuSoft

Description

@KommuSoft

Right now if we compile documentation where only a small fraction is undocumented, we get 100% of the items being covered, for example:

 100% (446 /448) in 'Data.Char.Combining'
  Missing documentation for:
    composeCombiningSequence (src/Data/Char/Combining.hs:4016)
    composeCombiningSequence' (src/Data/Char/Combining.hs:4019)

It might be better to round down, so show 99%, since then it is clear if scanning through the output that there are items missing.

Furthermore, it is useful if people develop some tooling to search for percentages that are not 100%, for example \s[0-9][0-9]?[%] and for example let the build fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions