vgvassilev / clad

clad -- automatic differentiation for C/C++
GNU Lesser General Public License v3.0
291 stars 122 forks source link

[WIP] Add Useful Analysis to the forward mode #1120

Open ovdiiuv opened 1 month ago

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 20.12579% with 127 lines in your changes missing coverage. Please review.

Project coverage is 91.49%. Comparing base (2d08ce1) to head (cc32d1a). Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
lib/Differentiator/UsefulAnalyzer.cpp 0.00% 100 Missing :warning:
lib/Differentiator/DiffPlanner.cpp 47.36% 10 Missing :warning:
lib/Differentiator/UsefulAnalyzer.h 0.00% 8 Missing :warning:
tools/ClangPlugin.h 63.63% 4 Missing :warning:
tools/ClangPlugin.cpp 66.66% 3 Missing :warning:
lib/Differentiator/BaseForwardModeVisitor.cpp 81.81% 2 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/vgvassilev/clad/pull/1120/graphs/tree.svg?width=650&height=150&src=pr&token=9f6Q4em8hE&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev)](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev) ```diff @@ Coverage Diff @@ ## master #1120 +/- ## ========================================== - Coverage 94.36% 91.49% -2.88% ========================================== Files 50 52 +2 Lines 8365 8837 +472 ========================================== + Hits 7894 8085 +191 - Misses 471 752 +281 ``` | [Files with missing lines](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev) | Coverage Δ | | |---|---|---| | [include/clad/Differentiator/CladConfig.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FCladConfig.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0NsYWRDb25maWcuaA==) | `100.00% <ø> (ø)` | | | [include/clad/Differentiator/DiffPlanner.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FDiffPlanner.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0RpZmZQbGFubmVyLmg=) | `69.56% <100.00%> (+1.38%)` | :arrow_up: | | [lib/Differentiator/PushForwardModeVisitor.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FPushForwardModeVisitor.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL1B1c2hGb3J3YXJkTW9kZVZpc2l0b3IuY3Bw) | `100.00% <ø> (ø)` | | | [lib/Differentiator/BaseForwardModeVisitor.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FBaseForwardModeVisitor.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0Jhc2VGb3J3YXJkTW9kZVZpc2l0b3IuY3Bw) | `98.59% <81.81%> (-0.14%)` | :arrow_down: | | [tools/ClangPlugin.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=tools%2FClangPlugin.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-dG9vbHMvQ2xhbmdQbHVnaW4uY3Bw) | `94.97% <66.66%> (-1.18%)` | :arrow_down: | | [tools/ClangPlugin.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=tools%2FClangPlugin.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-dG9vbHMvQ2xhbmdQbHVnaW4uaA==) | `91.71% <63.63%> (-1.34%)` | :arrow_down: | | [lib/Differentiator/UsefulAnalyzer.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FUsefulAnalyzer.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL1VzZWZ1bEFuYWx5emVyLmg=) | `0.00% <0.00%> (ø)` | | | [lib/Differentiator/DiffPlanner.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FDiffPlanner.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0RpZmZQbGFubmVyLmNwcA==) | `93.54% <47.36%> (-5.02%)` | :arrow_down: | | [lib/Differentiator/UsefulAnalyzer.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FUsefulAnalyzer.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL1VzZWZ1bEFuYWx5emVyLmNwcA==) | `0.00% <0.00%> (ø)` | | ... and [29 files with indirect coverage changes](https://app.codecov.io/gh/vgvassilev/clad/pull/1120/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev) | [Files with missing lines](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev) | Coverage Δ | | |---|---|---| | [include/clad/Differentiator/CladConfig.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FCladConfig.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0NsYWRDb25maWcuaA==) | `100.00% <ø> (ø)` | | | [include/clad/Differentiator/DiffPlanner.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FDiffPlanner.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0RpZmZQbGFubmVyLmg=) | `69.56% <100.00%> (+1.38%)` | :arrow_up: | | [lib/Differentiator/PushForwardModeVisitor.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FPushForwardModeVisitor.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL1B1c2hGb3J3YXJkTW9kZVZpc2l0b3IuY3Bw) | `100.00% <ø> (ø)` | | | [lib/Differentiator/BaseForwardModeVisitor.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FBaseForwardModeVisitor.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0Jhc2VGb3J3YXJkTW9kZVZpc2l0b3IuY3Bw) | `98.59% <81.81%> (-0.14%)` | :arrow_down: | | [tools/ClangPlugin.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=tools%2FClangPlugin.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-dG9vbHMvQ2xhbmdQbHVnaW4uY3Bw) | `94.97% <66.66%> (-1.18%)` | :arrow_down: | | [tools/ClangPlugin.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=tools%2FClangPlugin.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-dG9vbHMvQ2xhbmdQbHVnaW4uaA==) | `91.71% <63.63%> (-1.34%)` | :arrow_down: | | [lib/Differentiator/UsefulAnalyzer.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FUsefulAnalyzer.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL1VzZWZ1bEFuYWx5emVyLmg=) | `0.00% <0.00%> (ø)` | | | [lib/Differentiator/DiffPlanner.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FDiffPlanner.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0RpZmZQbGFubmVyLmNwcA==) | `93.54% <47.36%> (-5.02%)` | :arrow_down: | | [lib/Differentiator/UsefulAnalyzer.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1120?src=pr&el=tree&filepath=lib%2FDifferentiator%2FUsefulAnalyzer.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL1VzZWZ1bEFuYWx5emVyLmNwcA==) | `0.00% <0.00%> (ø)` | | ... and [29 files with indirect coverage changes](https://app.codecov.io/gh/vgvassilev/clad/pull/1120/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev)