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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Code Quality #421

Merged
merged 18 commits into from Aug 17, 2023
Merged

Improve Code Quality #421

merged 18 commits into from Aug 17, 2023

Conversation

iamcarbon
Copy link
Sponsor Contributor

@iamcarbon iamcarbon commented Aug 11, 2023

This PR contains the remaining immutability work for the v4 release, along with a few code quality improvements.


position += 16;

#if NET8_0_OR_GREATER
Copy link
Sponsor Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For when we target net8.0

@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2023

Codecov Report

Merging #421 (d734a67) into master (bf75254) will increase coverage by 0.13%.
The diff coverage is 76.03%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master     #421      +/-   ##
==========================================
+ Coverage   75.06%   75.19%   +0.13%     
==========================================
  Files          96       99       +3     
  Lines        2783     2782       -1     
  Branches      458      459       +1     
==========================================
+ Hits         2089     2092       +3     
+ Misses        579      575       -4     
  Partials      115      115              
Files Changed Coverage Δ
Src/Fido2/Extensions/CryptoUtils.cs 88.17% <ø> (ø)
Src/Fido2/AuthenticatorAssertionResponse.cs 43.05% <39.39%> (+<0.01%) ⬆️
Src/Fido2/TrustAnchor.cs 46.66% <46.66%> (ø)
Src/Fido2/AuthenticatorAttestationResponse.cs 79.43% <52.17%> (+3.06%) ⬆️
Src/Fido2/AttestationFormat/AppleAppAttest.cs 70.83% <55.55%> (ø)
...ido2/Objects/DevicePublicKeyAuthenticatorOutput.cs 44.82% <58.82%> (+3.44%) ⬆️
Src/Fido2/AttestationFormat/AttestationVerifier.cs 75.67% <64.70%> (-9.33%) ⬇️
Src/Fido2/AttestationFormat/Apple.cs 93.54% <75.00%> (ø)
Src/Fido2/AttestationFormat/AndroidKey.cs 95.23% <77.77%> (ø)
Src/Fido2/Objects/AttestedCredentialData.cs 86.11% <80.00%> (+1.00%) ⬆️
... and 12 more

@iamcarbon iamcarbon changed the title [WIP] Improve Code Quality Improve Code Quality Aug 15, 2023
@iamcarbon
Copy link
Sponsor Contributor Author

@abergs Ready for review.

@abergs abergs self-requested a review August 17, 2023 07:25
@abergs abergs merged commit 86b6c6d into passwordless-lib:master Aug 17, 2023
7 checks passed
@abergs
Copy link
Collaborator

abergs commented Aug 17, 2023

@iamcarbon Nice work on this Jason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants