Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jpamb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Systems Engineering
jpamb
Commits
90226efd
Commit
90226efd
authored
1 year ago
by
chrg
Browse files
Options
Downloads
Patches
Plain Diff
Small fixes
parent
488e7ca7
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/jpamb/Runtime.java
+2
-1
2 additions, 1 deletion
src/main/java/jpamb/Runtime.java
stats/distribution.csv
+15
-0
15 additions, 0 deletions
stats/distribution.csv
with
17 additions
and
1 deletion
src/main/java/jpamb/Runtime.java
+
2
−
1
View file @
90226efd
...
...
@@ -17,7 +17,8 @@ import jpamb.cases.*;
public
class
Runtime
{
static
List
<
Class
<?>>
caseclasses
=
List
.
of
(
Simple
.
class
,
Loops
.
class
);
Loops
.
class
,
Tricky
.
class
);
public
static
Case
[]
cases
(
Method
m
)
{
var
cases
=
m
.
getAnnotation
(
Cases
.
class
);
...
...
This diff is collapsed.
Click to expand it.
stats/distribution.csv
0 → 100644
+
15
−
0
View file @
90226efd
methodid,*,assertion error,divide by zero,ok
jpamb.cases.Loops.forever:()V,1,0,0,0
jpamb.cases.Loops.neverAsserts:()V,1,0,0,0
jpamb.cases.Loops.neverDivides:()I,1,0,0,0
jpamb.cases.Loops.terminates:()V,0,1,0,0
jpamb.cases.Simple.assertBoolean:(Z)V,0,1,0,1
jpamb.cases.Simple.assertFalse:()V,0,1,0,0
jpamb.cases.Simple.assertInteger:(I)V,0,1,0,1
jpamb.cases.Simple.assertPositive:(I)V,0,1,0,1
jpamb.cases.Simple.divideByN:(I)I,0,0,1,1
jpamb.cases.Simple.divideByZero:()I,0,0,1,0
jpamb.cases.Simple.divideZeroByZero:(II)I,0,0,1,1
jpamb.cases.Simple.multiError:(Z)I,0,1,1,0
jpamb.cases.Tricky.collatz:(I)V,0,0,0,1
-,5.8%,11.5%,7.7%,11.5%
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment