Skip to content

GROOVY-12065: Implement peephole optimization for bytecode generation#2591

Open
daniellansun wants to merge 1 commit into
masterfrom
GROOVY-12065
Open

GROOVY-12065: Implement peephole optimization for bytecode generation#2591
daniellansun wants to merge 1 commit into
masterfrom
GROOVY-12065

GROOVY-12065: Implement peephole optimization for bytecode generation

d61c051
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 4, 2026 in 2m 17s

Annotations

Check warning on line 578 in src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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

See this annotation in the file changed.

@sonarqubecloud 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