lefticus / json2cpp

Compiles JSON into static constexpr C++ data structures with nlohmann::json API
MIT License
259 stars 16 forks source link

Fix coverage #2

Closed lefticus closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #2 (804989d) into main (986cdb4) will increase coverage by 64.49%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##            main       #2       +/-   ##
==========================================
+ Coverage   0.00%   64.49%   +64.49%     
==========================================
  Files          7        8        +1     
  Lines        305      414      +109     
  Branches     128      256      +128     
==========================================
+ Hits           0      267      +267     
+ Misses       305       72      -233     
- Partials       0       75       +75     
Flag Coverage Δ
Linux 51.74% <ø> (+51.74%) :arrow_up:
Windows 74.00% <ø> (?)
macOS 21.80% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/json2cpp.hpp 100.00% <0.00%> (ø)
src/main.cpp 27.27% <0.00%> (+27.27%) :arrow_up:
src/json2cpp.cpp 38.20% <0.00%> (+38.20%) :arrow_up:
include/json2cpp/json2cpp_adapter.hpp 58.62% <0.00%> (+58.62%) :arrow_up:
include/json2cpp/constexpr_json.hpp 78.57% <0.00%> (+78.57%) :arrow_up:
test/valijson_tests.cpp 90.00% <0.00%> (+90.00%) :arrow_up:
test/tests.cpp 100.00% <0.00%> (+100.00%) :arrow_up:
test/constexpr_tests.cpp 100.00% <0.00%> (+100.00%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 986cdb4...804989d. Read the comment docs.