Skip to content

Commit 13bd928

Browse files
authored
Merge pull request #51 from KTH-Software-Engineering-DD2480/branch-coverage-heap-down-docs-#5
doc: describe branch coverage improvement
2 parents 3596497 + 6ed7e0c commit 13bd928

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Diff for: report.md

+29
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,20 @@ git diff ...
358358
What kinds of constructs does your tool support, and how accurate is
359359
its output?
360360

361+
#### @nolanderc
362+
363+
See `git show 9ef482092816b3367f4d4b45214821ee11019fe3`
364+
365+
It supports `if` statements, `while` loops and `for` loops. The output should
366+
show exactly how many times a code block was executed, and also notify if a code
367+
block has not been executed. Example:
368+
369+
```
370+
BranchCoverageTest.branchCoverageWithNotReached:
371+
- entry point: 1
372+
- not reached: 0 <-- NOT REACHED
373+
```
374+
361375
### Evaluation
362376

363377
1. How detailed is your coverage measurement?
@@ -382,6 +396,7 @@ Number of test cases added: two per team member (P) or at least four (P+).
382396

383397
### NOTES
384398

399+
385400
#### @ekorre1001
386401

387402
Changed to another function because:
@@ -394,6 +409,20 @@ The requirements + report can be found [here](https://docs.google.com/document/d
394409

395410
5 Test cases added and can be found in the PrimeTest.java
396411

412+
413+
#### @nolanderc
414+
415+
`BinaryHeapArray.heapDown` before: 94.1%. `BinaryHeapArray.heapDown` after: 100.0%.
416+
417+
Branch coverage report: https://docs.google.com/document/d/1IVLQTIkl8IiemVskQ_JFw1sNe5EBXXEWpTxYIQ4-NV0/edit?usp=sharing
418+
419+
For new test cases, see:
420+
421+
```sh
422+
git show 8e6d8c7d8d36417133fe66f2c8d80a153d23b3f9
423+
git show 3596497b8e0af7a31921f6693173bdca5b2f2a36
424+
```
425+
397426
## Self-assessment: Way of working
398427

399428
Current state according to the Essence standard: ...

0 commit comments

Comments
 (0)