jarscan:maxMethodSize
Full name:
com.github.ferstl:jitwatch-jarscan-maven-plugin:1.1:maxMethodSize
Description:
List every method with bytecode larger than specified limit.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope: test.
- Requires dependency collection of artifacts in scope: test.
- The goal is thread-safe and supports parallel builds.
- Since version: 1.1.
- Binds by default to the lifecycle phase: verify.
Optional Parameters
Name |
Type |
Since |
Description |
analyzeDependencies |
boolean |
1.0.0 |
Analyze the dependencies of the project. Default value is: false. User property is: analyzeDependencies. |
excludes |
List |
1.0.0 |
List of artifacts to be excluded in the form of
groupId:artifactId:type:classifier. Only relevant when
analyzeDependencies=true. User property is: excludes. |
includes |
List |
1.0.0 |
List of artifacts to be included in the form of
groupId:artifactId:type:classifier. Only relevant when
analyzeDependencies=true. User property is: includes. |
limit |
int |
1.1 |
Report methods larger than the specified bytes. The default for
-XX:MaxInlineSize is 35. The default for
-XX:FreqInlineSize is 325. Default value is: 1. User property is: limit. |
packages |
List |
1.1 |
List of package name prefixes to analyze. User property is: packages. |
reportFile |
File |
1.0.0 |
The path of the report file. If not set the report is written to
the console. User property is: reportFile. |
scope |
String |
1.0.0 |
The scope of the artifacts that should be included. Only relevant
when analyzeDependencies=true. User property is: scope. |
Parameter Details
analyzeDependencies:
Analyze the dependencies of the project.
- Type: boolean
- Since: 1.0.0
- Required: No
- User Property: analyzeDependencies
- Default: false
excludes:
List of artifacts to be excluded in the form of
groupId:artifactId:type:classifier. Only relevant when
analyzeDependencies=true.
- Type: java.util.List
- Since: 1.0.0
- Required: No
- User Property: excludes
includes:
List of artifacts to be included in the form of
groupId:artifactId:type:classifier. Only relevant when
analyzeDependencies=true.
- Type: java.util.List
- Since: 1.0.0
- Required: No
- User Property: includes
limit:
Report methods larger than the specified bytes. The default for
-XX:MaxInlineSize is 35. The default for
-XX:FreqInlineSize is 325.
- Type: int
- Since: 1.1
- Required: No
- User Property: limit
- Default: 1
packages:
List of package name prefixes to analyze.
- Type: java.util.List
- Since: 1.1
- Required: No
- User Property: packages
reportFile:
The path of the report file. If not set the report is written to
the console.
- Type: java.io.File
- Since: 1.0.0
- Required: No
- User Property: reportFile
scope:
The scope of the artifacts that should be included. Only relevant
when analyzeDependencies=true.
- Type: java.lang.String
- Since: 1.0.0
- Required: No
- User Property: scope