HELICS icon indicating copy to clipboard operation
HELICS copied to clipboard

Code coverage to 80%

Open phlptp opened this issue 6 years ago • 8 comments

I would like to set a goal of 80% code coverage for the 2.5 release.
We are likely around 71.5% for the 2.4 release and 100% on the shared_api library, so that is a big improvement.

Ultimately I would like to be at >95% but That will take a long time so this is a shorter term goal.

  • [x] 65%
  • [x] 66%
  • [x] 67%
  • [x] 68%
  • [x] 69%
  • [x] 70%
  • [x] 71%
  • [x] 72%
  • [x] 73%
  • [x] 74%
  • [x] 75%
  • [ ] 76%
  • [ ] 77%
  • [ ] 78%
  • [ ] 79%
  • [ ] 80%

phlptp avatar Nov 14 '19 04:11 phlptp

@nightlark @kdheepak Can you take a look through codecov results and maybe pick out a couple places we should add some coverage, or places that are showing up that wouldn't need to be covered by HELICS tests.

phlptp avatar Nov 18 '19 15:11 phlptp

I think we should aim to have complete code coverage in the Python and Julia interfaces first. Maybe that means getting to 100% code coverage in the C interface in the short run.

kdheepak avatar Nov 18 '19 15:11 kdheepak

What kind of automated ways do we have to measure and track the coverage for Julia and Python interfaces? I don't think we are measuring coverage in those interfaces currently.

phlptp avatar Nov 18 '19 17:11 phlptp

as of #990 we are at 66.68%

phlptp avatar Dec 18 '19 00:12 phlptp

#1024 increased to 71.49%

phlptp avatar Jan 17 '20 15:01 phlptp

#1082 increased to 72.5% #1088 increased to 73.2%

phlptp avatar Feb 19 '20 20:02 phlptp

I think for Python it's harder to do. But for Julia, I'm tracking it here:

Codecov Coverage Status

At the time of this comment it is between 57% and 59%.

kdheepak avatar Mar 05 '20 04:03 kdheepak

#1158 to 75.04%

phlptp avatar Mar 25 '20 21:03 phlptp