pfh59 / eve-whmapper

simple eve online wormhole mapper.
MIT License
23 stars 7 forks source link

Do not check floating point equality with exact values, use a range instead. #268

Closed pfh59 closed 3 months ago

pfh59 commented 3 months ago

Floating point numbers should not be tested for equality csharpsquid:S1244

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
91.7% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 3 months ago

Overview

Image reference pfh59/eve-whmapper:latest pfh59/eve-whmapper:92b9e87
- digest 2bd8f2e106aa ff057849683f
- provenance https://github.com/pfh59/eve-whmapper/commit/42579d8b65325c5558d627c75007771335adc45f https://github.com/pfh59/eve-whmapper/commit/0f9ac9d576265c09e96d4f74f414001bb06cce14
- vulnerabilities critical: 0 high: 0 medium: 0 low: 0 critical: 0 high: 0 medium: 0 low: 0
- platform linux/amd64 linux/amd64
- size 58 MB 65 MB (+7.8 MB)
- packages 368 368
Base Image alpine:8.0-alpine
also known as:
3
3.19
3.19.1
latest
alpine:3
also known as:
3.19
3.19.1
latest
- vulnerabilities critical: 0 high: 0 medium: 4 low: 0 unspecified: 2 critical: 0 high: 0 medium: 4 low: 0 unspecified: 2
Labels (3 changes) > * `±` 3 changed > * _5 unchanged_ ```diff -org.opencontainers.image.created=2024-05-27T21:01:00.891Z +org.opencontainers.image.created=2024-05-27T21:28:55.963Z org.opencontainers.image.description=simple eve online wormhole mapper. org.opencontainers.image.licenses=MIT -org.opencontainers.image.revision=42579d8b65325c5558d627c75007771335adc45f +org.opencontainers.image.revision=0f9ac9d576265c09e96d4f74f414001bb06cce14 org.opencontainers.image.source=https://github.com/pfh59/eve-whmapper org.opencontainers.image.title=eve-whmapper org.opencontainers.image.url=https://github.com/pfh59/eve-whmapper -org.opencontainers.image.version=main +org.opencontainers.image.version=92b9e87 ```