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

Added update user last_activity_at #1013

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Added update user last_activity_at #1013

wants to merge 2 commits into from

Conversation

cikzh
Copy link
Contributor

@cikzh cikzh commented Feb 10, 2025

No description provided.

Copy link

github-actions bot commented Feb 10, 2025

Sigrid maintainability feedback

✅ You wrote maintainable code and achieved your objective of 3.5 stars

Show details

Sigrid compared your code against the baseline of 2025-02-11.

👍 What went well?

You fixed or improved 0 refactoring candidates.

👎 What could be better?

Unfortunately, 3 refactoring candidates were introduced or got worse.

Risk System property Location
🔴 Duplication
(Introduced)
backend/src/authentication/user.rs (lines 215-226)
backend/src/authentication/user.rs (lines 239-250)
🔴 Duplication
(Introduced)
backend/src/authentication/user.rs (lines 171-178)
backend/src/authentication/user.rs (lines 265-272)
🔴 Duplication
(Introduced)
backend/src/authentication/api.rs (lines 266-276)
backend/src/authentication/api.rs (lines 84-94)

📚 Remaining technical debt

8 refactoring candidates didn't get better or worse, but are still present in the code you touched.

View this system in Sigrid** to explore your technical debt

⭐️ Sigrid ratings

System property System on 2025-02-11 Before changes New/changed code
Volume 5.2 N/A N/A
Duplication 4.3 3.6 3.3
Unit Size 2.4 3.0 3.1
Unit Complexity 3.4 5.5 5.5
Unit Interfacing 3.0 1.2 1.3
Module Coupling 4.0 5.5 5.5
Component Independence 2.8 N/A N/A
Component Entanglement 3.7 N/A N/A
Maintainability 3.6 4.2 4.2

💬 Did you find this feedback helpful?

We would like to know your thoughts to make Sigrid better.
Your username will remain confidential throughout the process.


View this system in Sigrid

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

Attention: Patch coverage is 91.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 89.76%. Comparing base (18917fc) to head (e90aebe).
Report is 2 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
backend/src/authentication/user.rs 88.23% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1013      +/-   ##
==========================================
- Coverage   89.76%   89.76%   -0.01%     
==========================================
  Files         248      248              
  Lines       12987    13003      +16     
  Branches     1318     1319       +1     
==========================================
+ Hits        11658    11672      +14     
- Misses       1235     1236       +1     
- Partials       94       95       +1     

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

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