Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Fix/regression from 0.1.11 on lights. #42

Merged
merged 3 commits into from
Aug 3, 2022
Merged

Conversation

vlebourl
Copy link
Owner

@vlebourl vlebourl commented Aug 3, 2022

No description provided.

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Aug 3, 2022

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 0.11%.

Quality metrics Before After Change
Complexity 2.18 ⭐ 2.20 ⭐ 0.02 👎
Method Length 36.14 ⭐ 36.91 ⭐ 0.77 👎
Working memory 5.40 ⭐ 5.42 ⭐ 0.02 👎
Quality 83.64% 83.53% -0.11% 👎
Other metrics Before After Change
Lines 213 214 1
Changed files Quality Before Quality After Quality Change
custom_components/vesync/light.py 83.64% ⭐ 83.53% ⭐ -0.11% 👎

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
custom_components/vesync/light.py VeSyncBaseLight.turn_on 5 ⭐ 127 😞 10 😞 60.56% 🙂 Try splitting into smaller methods. Extract out complex expressions

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!

@github-actions github-actions bot added the bug Something isn't working label Aug 3, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 3, 2022

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@vlebourl vlebourl merged commit dc222cb into main Aug 3, 2022
@vlebourl vlebourl deleted the fix/regression-from-0.1.11 branch August 3, 2022 08:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
1 participant