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

Renderer: Fix bubble chart error type handling #596

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

wirew0rm
Copy link
Member

@wirew0rm wirew0rm commented Aug 9, 2023

As reported by @protogenes, there was a misstake in the handling of the Error type for BubbleCharts in the ErrorDataSetRender.

fixes #558

As reported by @protogenes, there was a misstake in the handling of the
Error type for BubbleCharts in the ErrorDataSetRender.

fixes #558
@wirew0rm wirew0rm temporarily deployed to coverage August 9, 2023 10:55 — with GitHub Actions Inactive
@wirew0rm wirew0rm temporarily deployed to coverage August 9, 2023 10:55 — with GitHub Actions Inactive
@wirew0rm wirew0rm temporarily deployed to coverage August 9, 2023 10:55 — with GitHub Actions Inactive
@pr-explainer-bot
Copy link

Pull Request Report

Changes

  1. Fixed the handling of the Error type for BubbleCharts in the ErrorDataSetRenderer class. (commit)

Suggestions

  • Line 8: Use && instead of || in the condition localCachedPoints.errorType[DataSet.DIM_X] != ErrorType.NO_ERROR && localCachedPoints.errorType[DataSet.DIM_Y] == ErrorType.NO_ERROR.
  • Line 19: Use && instead of || in the condition localCachedPoints.errorType[DataSet.DIM_X] == ErrorType.NO_ERROR && localCachedPoints.errorType[DataSet.DIM_Y] != ErrorType.NO_ERROR.
  • Line 30: Use && instead of || in the condition localCachedPoints.errorType[DataSet.DIM_X] != ErrorType.NO_ERROR && localCachedPoints.errorType[DataSet.DIM_Y] != ErrorType.NO_ERROR.

Bugs

  • No bugs found.

Improvements

  • No improvements found.

Rating

  • Readability: 8/10
  • Performance: 9/10
  • Security: 10/10

Greetings! Great job on the changes made in this pull request. I have reviewed the code and provided some suggestions for improvement. Keep up the good work!

@wirew0rm wirew0rm temporarily deployed to deploy August 9, 2023 10:59 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Patch coverage: 16.66% and project coverage change: -0.01% ⚠️

Comparison is base (7d41fec) 50.28% compared to head (88ac0ed) 50.27%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #596      +/-   ##
============================================
- Coverage     50.28%   50.27%   -0.01%     
+ Complexity     6270     6268       -2     
============================================
  Files           375      375              
  Lines         37531    37531              
  Branches       6143     6143              
============================================
- Hits          18871    18869       -2     
  Misses        17414    17414              
- Partials       1246     1248       +2     
Files Changed Coverage Δ
...acc/chartfx/renderer/spi/ErrorDataSetRenderer.java 79.15% <16.66%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wirew0rm wirew0rm temporarily deployed to deploy August 9, 2023 10:59 — with GitHub Actions Inactive
@wirew0rm wirew0rm closed this Aug 9, 2023
@wirew0rm wirew0rm reopened this Aug 9, 2023
@wirew0rm wirew0rm temporarily deployed to coverage August 9, 2023 11:03 — with GitHub Actions Inactive
@wirew0rm wirew0rm temporarily deployed to coverage August 9, 2023 11:03 — with GitHub Actions Inactive
@wirew0rm wirew0rm temporarily deployed to coverage August 9, 2023 11:03 — with GitHub Actions Inactive
@wirew0rm wirew0rm merged commit 110f856 into main Aug 9, 2023
13 of 15 checks passed
@wirew0rm wirew0rm deleted the fixBubbleChartConditions branch August 9, 2023 11:03
@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 2023

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

@wirew0rm wirew0rm temporarily deployed to deploy August 9, 2023 11:07 — with GitHub Actions Inactive
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.

wrong boolean expressions in ErrorDataSetRenderer.drawBubbles
1 participant