Skip to content

fix gcov coverage#1951

Merged
wanghan-iapcm merged 5 commits into
deepmodeling:develfrom
njzjz:fix-gcov
Sep 27, 2022
Merged

fix gcov coverage#1951
wanghan-iapcm merged 5 commits into
deepmodeling:develfrom
njzjz:fix-gcov

Conversation

@njzjz

@njzjz njzjz commented Sep 26, 2022

Copy link
Copy Markdown
Member

I just realized that --coverage is only passed to the UT executable but not libraries. This PR fixes it, and the codecov report should be updated.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@codecov-commenter

codecov-commenter commented Sep 26, 2022

Copy link
Copy Markdown

Codecov Report

Base: 78.16% // Head: 42.15% // Decreases project coverage by -36.01% ⚠️

Coverage data is based on head (ddf984b) compared to base (1ba6e53).
Patch has no changes to coverable lines.

❗ Current head ddf984b differs from pull request most recent head 4130bff. Consider uploading reports for the commit 4130bff to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##            devel    #1951       +/-   ##
===========================================
- Coverage   78.16%   42.15%   -36.02%     
===========================================
  Files         118       66       -52     
  Lines        9876     6528     -3348     
===========================================
- Hits         7720     2752     -4968     
- Misses       2156     3776     +1620     
Impacted Files Coverage Δ
source/lib/include/SimulationRegion.h 30.00% <0.00%> (-70.00%) ⬇️
source/lib/include/neighbor_list.h 100.00% <0.00%> (ø)
deepmd/entrypoints/config.py
deepmd/nvnmd/entrypoints/wrap.py
deepmd/utils/sess.py
deepmd/utils/plugin.py
deepmd/model/model_stat.py
source/op/_soft_min_force_grad.py
deepmd/nvnmd/utils/config.py
source/op/_prod_force_grad.py
... and 168 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wanghan-iapcm wanghan-iapcm merged commit 42a1d1f into deepmodeling:devel Sep 27, 2022
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
I just realized that `--coverage` is only passed to the UT executable
but not libraries. This PR fixes it, and the codecov report should be
updated.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants