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

Address SonarQube issues #1899

Merged
merged 5 commits into from
Feb 17, 2025
Merged

Address SonarQube issues #1899

merged 5 commits into from
Feb 17, 2025

Conversation

jmthomas
Copy link
Member

No description provided.

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.45%. Comparing base (92b60ed) to head (43d9536).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1899      +/-   ##
==========================================
+ Coverage   79.42%   79.45%   +0.03%     
==========================================
  Files         523      523              
  Lines       40926    40927       +1     
==========================================
+ Hits        32506    32520      +14     
+ Misses       8420     8407      -13     
Flag Coverage Δ
python 84.06% <ø> (+0.08%) ⬆️
ruby-api 48.45% <ø> (ø)
ruby-backend 82.55% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

<img
src={`${siteConfig.baseUrl}img/black_logo.svg`}
width="400px"
alt="OpenC3"
Copy link
Member Author

Choose a reason for hiding this comment

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

Everything here is formatting except for the addition of the alt tag

class Screen < OpenC3::TargetFile
def self.destroy(scope, target, screen)
# Override Screen.destroy to do nothing
Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't like a method without anything ... so I moved all the comments to inside the methods

)
await this.exec('inject_tlm', [target_name, packet_name, item_hash], {
type: value_type,
})
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure what this extra datais or how it even worked without being declared but I removed it

@@ -87,6 +87,7 @@ export default {
this.editor.setOptions({
useWorker: false,
})
break
Copy link
Member Author

Choose a reason for hiding this comment

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

bug

@@ -26,8 +26,7 @@

<script>
import { AstroStatuses, UnknownToAstroStatus } from '.'
import dark from '/icons/status-dark.png'
import light from '/icons/status-light.png'
import dark from '../../public/icons/status-dark.png'
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure how this ever worked but SonarQube doesn't like absolute paths

@@ -59,6 +59,7 @@ export default {
reduced: setting[5] || 'DECOM',
reducedType: setting[6] || null,
})
break
Copy link
Member Author

Choose a reason for hiding this comment

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

bug

Copy link

sonarqubecloud bot commented Feb 14, 2025

Quality Gate Passed Quality Gate passed

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@jmthomas jmthomas merged commit 0094b4c into main Feb 17, 2025
30 checks passed
@jmthomas jmthomas deleted the reliability branch February 17, 2025 05:26
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.

2 participants