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

Flag status #26

Merged
merged 5 commits into from
Aug 23, 2023
Merged

Flag status #26

merged 5 commits into from
Aug 23, 2023

Conversation

ABTastyAdel
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #26 (ae3150d) into master (d73771e) will increase coverage by 0.02%.
The diff coverage is 88.23%.

❗ Current head ae3150d differs from pull request most recent head 1948c70. Consider uploading reports for the commit 1948c70 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   84.37%   84.40%   +0.02%     
==========================================
  Files          61       61              
  Lines        3175     3200      +25     
==========================================
+ Hits         2679     2701      +22     
- Misses        496      499       +3     
Files Changed Coverage Δ
FlagShip/Source/Core/FSFlag.swift 82.95% <73.33%> (-2.19%) ⬇️
FlagShip/Source/Logger/FlagshipLogManager.swift 75.00% <80.00%> (ø)
FlagShip/Source/Models/FSContext.swift 88.46% <92.85%> (-0.43%) ⬇️
...agShip/Source/Core/FSVisitor+Reconcilliation.swift 100.00% <100.00%> (ø)
FlagShip/Source/Core/FSVisitor.swift 92.63% <100.00%> (+0.49%) ⬆️
FlagShip/Source/Logger/FlagshipConstants.swift 77.27% <100.00%> (ø)
FlagShip/Source/Strategy/FSDefaultStrategy.swift 89.60% <100.00%> (+0.16%) ⬆️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

/**
* This status represent the flag status depend on visitor actions
*/
@objc public enum FlagSynchStatus: Int {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

should be internal

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

case UNAUTHENTICATED

func warningMessage(_ flagKey: String, _ visitorId: String)->String {
var ret = "Visitor `\(visitorId)` has been created without calling `fetchFlags` method afterwards, the value of the flag `\(flagKey)` may be outdated."
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

clean this part

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ABTastyAdel ABTastyAdel merged commit af5f45b into master Aug 23, 2023
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.

1 participant