Directory | Violation | File | Method Signature | Line Number | Description |
---|---|---|---|---|---|
c:\_git\InvoiceMicroservice\BusinessLogic | |||||
Method Too Big | ShippingLogic.cs | public decimal CalculateShipping(Order order) | 257 | Probable violation of Single Responsibility Principle. Method CalculateShipping is 251 lines long which is longer than the maximum of 50 lines long. Break up into smaller separate methods with a single responsibility for each method. See https://en.wikipedia.org/wiki/Single-responsibility_principle | |
File Too Big | ShippingLogic.cs | Probable violation of Single Responsibility Principle. File ShippingLogic.cs is 1042 lines long which is longer than the maximum of 500 lines long. Split up into different logic classes. See https://en.wikipedia.org/wiki/Single-responsibility_principle |