GROOVY-12065: Implement peephole optimization for bytecode generation#2591
GROOVY-12065: Implement peephole optimization for bytecode generation#2591daniellansun wants to merge 1 commit into
Quality Gate passed
Annotations
Check warning on line 578 in src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java
sonarqubecloud / SonarCloud Code Analysis
Use a primitive boolean expression here.
See more on https://sonarcloud.io/project/issues?id=apache_groovy&issues=AZ6dYD-E1lza7NKJnwoB&open=AZ6dYD-E1lza7NKJnwoB&pullRequest=2591
Check warning on line 354 in src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 104 to 64, Complexity from 20 to 14, Nesting Level from 4 to 2, Number of Variables from 20 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_groovy&issues=AZ6dYD-q1lza7NKJnwoC&open=AZ6dYD-q1lza7NKJnwoC&pullRequest=2591
Check warning on line 619 in src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 80 to 64, Complexity from 21 to 14, Nesting Level from 3 to 2, Number of Variables from 19 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_groovy&issues=AZ6dYD-q1lza7NKJnwoD&open=AZ6dYD-q1lza7NKJnwoD&pullRequest=2591
Check warning on line 1979 in src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 106 to 64, Complexity from 19 to 14, Nesting Level from 3 to 2, Number of Variables from 14 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_groovy&issues=AZ6dYD-q1lza7NKJnwoE&open=AZ6dYD-q1lza7NKJnwoE&pullRequest=2591