-
Notifications
You must be signed in to change notification settings - Fork 43
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
Comprehensive Refactoring for Enhanced Code Quality and Namespace Utilization #467
Merged
alihan98ersoy
merged 17 commits into
EvilMindDevs:master
from
Andronovo-bit:Refactor/DeepSource-Refactor-Tasks
Feb 22, 2024
Merged
Comprehensive Refactoring for Enhanced Code Quality and Namespace Utilization #467
alihan98ersoy
merged 17 commits into
EvilMindDevs:master
from
Andronovo-bit:Refactor/DeepSource-Refactor-Tasks
Feb 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…oid and name ends with "async". Related Issues: - [HUP-821] : Main Task
…mpty to check for empty string. Related Issues: - [HUP-821] : Main Task
…ormatted string. Related Issues: - [HUP-821]: Main Task
…ception's stack trace. Related Issues: - HUP-821: Main task
… be placed after all the required parameters Related Issues: - [HUP-821]: Main Task
…stem-specific information and changed with DateTime.UtcNow. Related Issues: - [HUP-821]: Main Task
…ing types and fix some method name, creating object style and duplicate methods. Related Issues: - [HUP-821]: <Description>
…t in switch-case statement and fix some duplicate codes. Related Issues: - [HUP-821]: Main Task
Related Issues: - [HUP-821]: Main Task
…r.cs for C# 7.3 version.
…eir bodies can be simplified. -Refactor collection and account classes Related Issues: - [HUP-821]: Main Task
…n type in settings files. Related Issues: - [HUP-821]: Main Task
-Update exception URLs to use Uri instead of string. Related Issues: - <[HUP-821]: Main Task
…ct and setting its properties Related Issues: - [HUP-821]: Main Task
…amespace. Namespaces are used to group related entities like classes and structs, providing scope and preventing name clashes. It is essential to declare a namespace to avoid placing entities in the global namespace. Related Issues: - [HUP-821]: Main Task
Andronovo-bit
force-pushed
the
Refactor/DeepSource-Refactor-Tasks
branch
from
February 21, 2024 12:03
52c64da
to
094139b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a series of refactoring changes aimed at enhancing code quality, improving readability, and ensuring adherence to best practices in our project's codebase. Major highlights include the adoption of namespace declarations, brace initialization for object creation, the use of System.URI over string literals for URLs, and various optimizations across different aspects of the code.
Related Issues
Closes [HUP-821], addressing the main task of codebase refactoring and optimization.
Checklist
Changes Summary
System.URI
for URL representations to enhance safety and readability.Any()
for emptiness checks, simplifying switch-case statements, and adoptingDateTime.UtcNow
overDateTime.Now
.Screenshots / Visuals
N/A - This pull request consists of backend code changes without direct visual impact.
Additional Context
The changes were meticulously tested to ensure compatibility and functionality within the intended Unity environment, focusing on non-breaking improvements and adherence to our coding standards.
Reviewer Guidance
Please review the changes with an emphasis on coding standards, optimization opportunities, and potential impacts on existing functionalities. Special attention should be given to the refactorings around namespace usage, error handling, and the overall consistency of the code enhancements.
Reviewer Checklist
Test Plan
Reviewers are encouraged to run the updated code within the Unity environment to verify the refactoring does not introduce regressions or negatively impact performance. Specific focus should be on areas of significant change such as namespace declaration and the use of
System.URI
.Deployment Notes
No special deployment steps are required for these changes. However, it's recommended to monitor application behavior closely following deployment due to the extensive nature of the refactoring.
Assignees