-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: magic5644/codeLineCounter
base: refactor-code-introduce-exceptions
head repository: magic5644/codeLineCounter
compare: main
- 14 commits
- 20 files changed
- 4 contributors
Commits on Feb 18, 2025
-
Merge pull request #28 from magic5644/refactor-code-introduce-exceptions
Summary of PR #28: Refactor error handling and simplify graph processing Title: Refactor error handling and simplify graph processing Description: Introduces custom exception classes for better error handling and user feedback. Simplifies node and edge extraction processes. Enhances degree calculation and error messaging in DependencyGraphGenerator and CoreUtils. File Changes: CodeLineCounter.Tests/CodeAnalyzerTests.cs Refactored tests to remove redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/CodeDuplicationCheckerTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/CoreUtilsTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/CsvHandlerTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/CyclomaticComplexityCalculatorTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/DataExporterTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/DependencyGraphGeneratorTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/FileUtilsTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/HashUtilsTests.cs Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/JsonHandlerTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/SolutionAnalyzerTests.cs Refactored tests to inherit from TestBase. Removed redundant console output redirection. Simplified test setup and assertions. CodeLineCounter.Tests/TestBase.cs Added a new base class for tests to handle console redirection and cleanup. CodeLineCounter/Exceptions/HelpRequestedException.cs Added a new custom exception for help requests. CodeLineCounter/Exceptions/InvalidExportFormatException.cs Added a new custom exception for invalid export formats. CodeLineCounter/Exceptions/InvalidNumberException.cs Added a new custom exception for invalid number inputs. CodeLineCounter/Exceptions/InvalidSelectionException.cs Added a new custom exception for invalid selection inputs. CodeLineCounter/Models/Settings.cs Updated IsValid method to throw custom exceptions. CodeLineCounter/Program.cs Added try-catch blocks for better error handling. CodeLineCounter/Services/DependencyGraphGenerator.cs Minor formatting changes. CodeLineCounter/Services/SolutionAnalyzer.cs Updated error handling to use Console.WriteLine instead of Console.Error.WriteLine. CodeLineCounter/Utils/CoreUtils.cs Updated methods to throw custom exceptions for invalid inputs.
Configuration menu - View commit details
-
Copy full SHA for 94662ee - Browse repository at this point
Copy the full SHA 94662eeView commit details
Commits on Feb 21, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 350c452 - Browse repository at this point
Copy the full SHA 350c452View commit details
Commits on Feb 26, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f6b4409 - Browse repository at this point
Copy the full SHA f6b4409View commit details -
refactor: add case-insensitive regex option with timeout for project …
…extension matching
Configuration menu - View commit details
-
Copy full SHA for 6847219 - Browse repository at this point
Copy the full SHA 6847219View commit details -
Merge pull request #29 from magic5644/refactore_code_and_optimize
Refactor exception handling and improve project extension matching
Configuration menu - View commit details
-
Copy full SHA for 6e16189 - Browse repository at this point
Copy the full SHA 6e16189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a59a6d - Browse repository at this point
Copy the full SHA 5a59a6dView commit details -
Merge pull request #30 from magic5644/refactor_locking_system
Refactor locking mechanism for resource management improvements
Configuration menu - View commit details
-
Copy full SHA for d209732 - Browse repository at this point
Copy the full SHA d209732View commit details
Commits on Feb 27, 2025
-
refactor: implement hashing functionality with IHashUtils interface a…
…nd service class
Configuration menu - View commit details
-
Copy full SHA for 72b1913 - Browse repository at this point
Copy the full SHA 72b1913View commit details -
Configuration menu - View commit details
-
Copy full SHA for 110c01c - Browse repository at this point
Copy the full SHA 110c01cView commit details -
refactor: remove unnecessary verification in HashUtilsMockTests and u…
…pdate type assertion in HashUtilsTests
Configuration menu - View commit details
-
Copy full SHA for f31c89f - Browse repository at this point
Copy the full SHA f31c89fView commit details -
Update CodeLineCounter/Utils/HashUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 07a2151 - Browse repository at this point
Copy the full SHA 07a2151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 141dace - Browse repository at this point
Copy the full SHA 141daceView commit details -
Merge pull request #31 from magic5644/feature-add-hashutils-interface
Implement hashing functionality with IHashUtils interface and service class
Configuration menu - View commit details
-
Copy full SHA for 8c11145 - Browse repository at this point
Copy the full SHA 8c11145View commit details
Commits on Mar 31, 2025
-
Configuration menu - View commit details
-
Copy full SHA for b1381df - Browse repository at this point
Copy the full SHA b1381dfView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff refactor-code-introduce-exceptions...main