-
Notifications
You must be signed in to change notification settings - Fork 26
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
Improve code coverage for regression test from 49% (to 80%) #33
Comments
@afni-rickr, if we put the test data in
https://github.com/NIFTI-Imaging/nifti-test-data.git we won't bloat this
repo in the process. If it ends up being too much for github we can address
that at a later date.
…On Mon, Dec 17, 2018 at 5:49 PM Hans Johnson ***@***.***> wrote:
@leej3 <https://github.com/leej3> mentioned that @afni-rickr
<https://github.com/afni-rickr> had more test cases that might be easily
added.
49% is pretty low for test coverage.
https://my.cdash.org/viewCoverage.php?buildid=1581308
At a minimum we should review what is not covered to identify functions
that are not needed, or verify that the uncovered code is of low importance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#33>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AFKsqMAzXDIxFw22jA1XSBjunxQoh3-Uks5u59k6gaJpZM4ZW1tr>
.
|
It looks like this 'commands' test tree is still the same as what I have for testing nifti1_tool (the NIFTI-1 only version of nifti_tool). The NIFTI-2 compatible nifti_tool actually does not have many new tests, with the newer ones looking at CIFTI input. Maybe it would be better to ponder some new tests that related to code coverage. |
@hjmjohnson Pondering coverage, do we have a current coverage result? I don't see anything at my.cdash.org, or maybe I just don't know how to find it. |
Making a coverage build it not that hard, we just need to add the right flags. Let me have a quick look to see if the flags would be easy to include. |
It appears that coverage testing is being done, but the my.cdash.org site is rejecting the results. I have sent an e-mail to the [email protected] to see what can be done about this.
|
FYI: Fixed coverage reporting on my.cdash.org: https://my.cdash.org/index.php?project=nifti_clib#!#Coverage I wonder if duplicating the nifti1 tests in nifti2 would drastically increase coverage. |
I wonder how these are being computed. Maybe the multiple-command script tests are not being properly evaluated. |
It would be ugly and irritating to break up those script tests, but maybe that is necessary for cdash to evaluate. I could add a single-line test based on c21.d.misc.tests just to see the effect, e.g. |
UPTO 60% with the shell scripts turned on! |
This is great, thanks! |
@leej3 mentioned that @afni-rickr had more test cases that might be easily added.
38% is pretty low for test coverage. https://my.cdash.org/index.php?project=nifti_clib#!#Coverage
At a minimum, we should review what is not covered to identify functions that are not needed or verify that the uncovered code is of low importance.
The text was updated successfully, but these errors were encountered: