forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add branch coverage tool, unit tests and refactoring for Authors::han…
…dleArgument (#3) * Added branch coverage tool to Authors::handleArgument including results before and after added tests * Add 4 unit tests to Authors::handleArgument in AuthorsTest increase branch coverage from 58% to 73% * Refactor Authors::handleArgument into a new file, AuthorsRefactor and unit tests file, AuthorsRefactorTest reduce cyclomatic complexity from 36 to 7 (larger than 35%) Co-authored-by: Simon Sirak <[email protected]>
- Loading branch information
1 parent
ec59705
commit 9330e7e
Showing
8 changed files
with
802 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
branch 0 was visited. | ||
branch 1 was not visited. | ||
branch 2 was visited. | ||
branch 3 was not visited. | ||
branch 4 was not visited. | ||
branch 5 was visited. | ||
branch 6 was visited. | ||
branch 7 was visited. | ||
branch 8 was not visited. | ||
branch 9 was visited. | ||
branch 10 was visited. | ||
branch 11 was not visited. | ||
branch 12 was not visited. | ||
branch 13 was visited. | ||
branch 14 was not visited. | ||
branch 15 was not visited. | ||
branch 16 was not visited. | ||
branch 17 was visited. | ||
branch 18 was not visited. | ||
branch 19 was visited. | ||
branch 20 was visited. | ||
branch 21 was visited. | ||
branch 22 was visited. | ||
branch 23 was visited. | ||
branch 24 was visited. | ||
branch 25 was visited. | ||
branch 26 was not visited. | ||
branch 27 was not visited. | ||
branch 28 was not visited. | ||
branch 29 was visited. | ||
branch 30 was not visited. | ||
branch 31 was visited. | ||
branch 32 was visited. | ||
branch 33 was visited. | ||
branch 34 was not visited. | ||
branch 35 was not visited. | ||
branch 36 was not visited. | ||
branch 37 was visited. | ||
branch 38 was visited. | ||
branch 39 was visited. | ||
branch 40 was visited. | ||
branch 41 was not visited. | ||
0.5714285714285714 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
branch 0 was visited. | ||
branch 1 was visited. | ||
branch 2 was visited. | ||
branch 3 was visited. | ||
branch 4 was visited. | ||
branch 5 was visited. | ||
branch 6 was visited. | ||
branch 7 was not visited. | ||
0.875 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
branch 0 was visited. | ||
branch 1 was visited. | ||
branch 2 was visited. | ||
branch 3 was not visited. | ||
branch 4 was not visited. | ||
branch 5 was visited. | ||
branch 6 was visited. | ||
branch 7 was visited. | ||
branch 8 was visited. | ||
branch 9 was visited. | ||
branch 10 was visited. | ||
branch 11 was not visited. | ||
branch 12 was not visited. | ||
branch 13 was visited. | ||
branch 14 was not visited. | ||
branch 15 was not visited. | ||
branch 16 was not visited. | ||
branch 17 was visited. | ||
branch 18 was not visited. | ||
branch 19 was visited. | ||
branch 20 was visited. | ||
branch 21 was visited. | ||
branch 22 was visited. | ||
branch 23 was visited. | ||
branch 24 was visited. | ||
branch 25 was visited. | ||
branch 26 was visited. | ||
branch 27 was visited. | ||
branch 28 was visited. | ||
branch 29 was visited. | ||
branch 30 was not visited. | ||
branch 31 was visited. | ||
branch 32 was visited. | ||
branch 33 was visited. | ||
branch 34 was not visited. | ||
branch 35 was not visited. | ||
branch 36 was not visited. | ||
branch 37 was visited. | ||
branch 38 was visited. | ||
branch 39 was visited. | ||
branch 40 was visited. | ||
branch 41 was not visited. | ||
0.6904761904761905 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.