Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: formatting, coverage, and improvements #121

Merged
merged 7 commits into from Aug 20, 2019
Merged

style: formatting, coverage, and improvements #121

merged 7 commits into from Aug 20, 2019

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.

None yet

3 participants