Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D debexpo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mentors.debian.net
  • debexpo
  • Merge requests
  • !187

Increase code coverage to 100% using branch coverage

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Baptiste Beauplat requested to merge lyknode/debexpo:branch-coverage into live Jan 07, 2022
  • Overview 1
  • Commits 41
  • Pipelines 1
  • Changes 39

This MR provide additional tests and various modifications in order to reach 100% code coverage using the branch coverage.

To achieve this the following modifications were made:

  1. Addition of unit and functional tests
  2. Fix of newly found issues
  3. Exclusion of coverage if a condition is now useless but may become useful in future code modification
  4. Removal of useless condition check that may not become useful in case of code modification

Some more justification may be found in the commit message.

Closes #136 (closed).

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: branch-coverage