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.
(fix) Billing response #192
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
Uh oh!
There was an error while loading. Please reload this page.
(fix) Billing response #192
Changes from all commits
b0d8439d75bed9e3f71f8ec37c181852b2fbc2e6eb5d150fc095f0a3fb91a0011f7fe13a32ae9b82481c9256840e0178e6af1ce88f39f9cd3aaedeab9daceea0db564e69bd07e42dd2e8043c715303826388e503File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check failure on line 62 in api/src/main/java/org/openmrs/module/billing/advice/GenerateBillFromOrderAdvice.java
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.
Check failure on line 127 in api/src/main/java/org/openmrs/module/billing/advice/GenerateBillFromOrderAdvice.java
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.
Check warning on line 138 in api/src/main/java/org/openmrs/module/billing/advice/GenerateBillFromOrderAdvice.java
Use isEmpty() to check whether the collection is empty or not.
Check warning on line 154 in api/src/main/java/org/openmrs/module/billing/advice/GenerateBillFromOrderAdvice.java
Merge this if statement with the enclosing one.
Check warning on line 164 in api/src/main/java/org/openmrs/module/billing/advice/GenerateBillFromOrderAdvice.java
Replace this if-then-else statement by a single return statement.
Check warning on line 195 in api/src/main/java/org/openmrs/module/billing/advice/GenerateBillFromOrderAdvice.java
This block of commented-out lines of code should be removed.
Check warning on line 202 in api/src/main/java/org/openmrs/module/billing/advice/GenerateBillFromOrderAdvice.java
Use "BigDecimal.valueOf" instead.
Check failure on line 68 in api/src/main/java/org/openmrs/module/billing/advice/OrderCreationMethodBeforeAdvice.java
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.
Check warning on line 116 in api/src/main/java/org/openmrs/module/billing/advice/OrderCreationMethodBeforeAdvice.java
Make sure this debug feature is deactivated before delivering the code in production.
Check warning on line 174 in api/src/main/java/org/openmrs/module/billing/advice/OrderCreationMethodBeforeAdvice.java
Make sure this debug feature is deactivated before delivering the code in production.
Uh oh!
There was an error while loading. Please reload this page.