Skip to content

style: formatting, coverage, and improvements#121

Merged
faustbrian merged 7 commits intoArkEcosystemArchive:developfrom
sleepdefic1t:style/formatting-and-coverage
Aug 20, 2019
Merged

style: formatting, coverage, and improvements#121
faustbrian merged 7 commits intoArkEcosystemArchive:developfrom
sleepdefic1t:style/formatting-and-coverage

Conversation

@sleepdefic1t
Copy link
Contributor

This PR updates style and improves formatting, coverage, and the overall implementation.

These are basically fixes for things showing up in Codacy/Codefactor/Codecov.

I did not attempt to update Transactions-related classes and tests; that's next for updates.

Changelog, I think Codacy needs configured for the format our Organization uses.
I followed as closely to keepachangelog.com as possible,
but Codacy still complains 🤷‍♂

What kind of change does this PR introduce?

  • Code style update

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

The PR fulfills these requirements:

  • It's submitted to the develop branch, not the master branch
  • All tests are passing
  • New/updated tests are included

@ghost ghost added Complexity: Undetermined Needs specialized, in-depth review. Type: Standards The issue reports problems with the compliance of contribution guidelines or code standards. Status: In Progress The issue or pull request is being worked on. labels Aug 1, 2019
@codecov-io
Copy link

codecov-io commented Aug 2, 2019

Codecov Report

Merging #121 into develop will increase coverage by 0.37%.
The diff coverage is 84.94%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #121      +/-   ##
===========================================
+ Coverage    91.44%   91.82%   +0.37%     
===========================================
  Files           33       33              
  Lines          877      856      -21     
===========================================
- Hits           802      786      -16     
+ Misses          75       70       -5
Impacted Files Coverage Δ
src/include/cpp-crypto/common/configuration.hpp 100% <ø> (ø) ⬆️
src/crypto/message.cpp 100% <ø> (ø) ⬆️
src/managers/network_manager.cpp 100% <ø> (ø) ⬆️
src/transactions/transaction.cpp 89.52% <100%> (ø) ⬆️
src/common/network.cpp 100% <100%> (ø) ⬆️
src/crypto/slot.cpp 100% <100%> (ø) ⬆️
src/include/cpp-crypto/defaults/static_fees.hpp 100% <100%> (ø)
src/common/configuration.cpp 100% <100%> (ø) ⬆️
src/managers/fee_manager.cpp 100% <100%> (+11.11%) ⬆️
src/include/cpp-crypto/networks/devnet.hpp 100% <100%> (ø)
... and 12 more

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 8d7e531...3cd7e28. Read the comment docs.

@sleepdefic1t
Copy link
Contributor Author

@faustbrian

Codacy should ignore src/lib, test/lib, and docs (readme, docs/, changelog, etc).

Current Codacy analysis with those filtered at : codacy.com/sleepdefic1t/cpp-crypto.

This one is good to go 👍

@sleepdefic1t sleepdefic1t marked this pull request as ready for review August 8, 2019 09:01
@sleepdefic1t
Copy link
Contributor Author

Passing Codacy here (ignoring changelog): codacy/sleepdefic1t/cpp-crypto.

This is good to go otherwise, @faustbrian @supaiku0 @kristjank 👍

faustbrian
faustbrian previously approved these changes Aug 20, 2019
@faustbrian
Copy link
Contributor

@sleepdefic1t conflicts

@faustbrian faustbrian merged commit 4469607 into ArkEcosystemArchive:develop Aug 20, 2019
@ghost ghost removed the Status: In Progress The issue or pull request is being worked on. label Aug 20, 2019
@sleepdefic1t sleepdefic1t deleted the style/formatting-and-coverage branch August 20, 2019 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complexity: Undetermined Needs specialized, in-depth review. Type: Standards The issue reports problems with the compliance of contribution guidelines or code standards.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants