Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for coverage information #339

Open
niknetniko opened this issue Apr 15, 2023 · 1 comment
Open

Add support for coverage information #339

niknetniko opened this issue Apr 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@niknetniko
Copy link
Member

We could add coverage information, which can be useful, mainly for teachers. For example, we teachers can see if their tests cover all code in the submission from the student, or find superfluous code in the sample submission.

@niknetniko niknetniko added the enhancement New feature or request label Apr 15, 2023
@pdawyndt
Copy link
Contributor

Different ways to measure code coverage:

  • line coverage: how many of the lines in the submission have been executed
  • statement coverage: how many of the statements in the submission have been executed
  • branch coverage: how many of the branches of the control structures (if statements for instance) have been executed
  • condition coverage: how many of the boolean sub-expressions have been evaluated for a true and a false value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants