Chapter 6. Reviewing an analysis report
After analyzing an application, you can access an analysis report to check the details of the application migration effort.
6.1. Accessing an analysis report
When you run an application analysis, a report is generated in the output directory that you specify by using the --output
argument in the command line.
Procedure
Copy the path of the
index.html
file from the analysis output and paste it in a browser of your choice:Report created: <output_report_directory>/index.html Access it at this URL: file:///<output_report_directory>/index.html
Report created: <output_report_directory>/index.html Access it at this URL: file:///<output_report_directory>/index.html
Copy to Clipboard Copied! Alternatively, press Ctrl and click on the path of the
index.html
file.
6.2. Analysis report sections
The following are sections of an analysis report that are available after the application analysis is complete. These sections contain additional details about the migration of an application.
You can only review the report applicable to the current application.
Insights is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
Section | Description |
---|---|
Dashboard | An overview of the incidents and total story points, sorted by category. |
Issues | A concise summary of all issues and their details that require attention. |
Dependencies | All Java-packaged dependencies found within the application. |
Technologies | All embedded libraries grouped by functionality. Use this report to display the technologies used in each application. |
Insights | Information about a violation generated by a rule with zero effort. Issues are generated by general rules, whereas string tags are generated by the tagging rules. String tags indicate the presence of a technology but do not show the code location. Insights contain information about the technologies used in the application and their usage in the code. Insights do not impact the migration. For example, a rule searching for deprecated API usage in the code that does not impact the current migration but can be tracked and fixed when needed in the future. Unlike with issues, you do not need to fix insights for a successful migration. They are generated by any rule that does not have a positive effort value and category assigned. They might have a message and tag. |
6.3. Reviewing the analysis issues and incidents
After an analysis is complete, you can review issues that might appear during an application migration. Each issue contains a list of files where a rule matched one or more times. These files include all the incidents within the issue. Each incident contains a detailed explanation of the issue and how to fix this issue.
Procedure
- Open the analysis report. For more information, see Accessing an analysis report.
- Click Issues.
- Click on the issue you want to check.
- Under the File tab, click on a file to display an incident or incidents that triggered the issue.
Display the incident message by hovering over the line that triggered the incident, for example:
Use the Quarkus Maven plugin adding the following sections to the pom.xml file: <properties> <quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> <quarkus.platform.version>3.1.0.Final</quarkus.platform.version> </properties> <build> <plugins> <plugin> <groupId>$</groupId> <artifactId>quarkus-maven-plugin</artifactId> <version>$</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>build</goal> <goal>generate-code</goal> <goal>generate-code-tests</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
Use the Quarkus Maven plugin adding the following sections to the pom.xml file: <properties> <quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id> <quarkus.platform.version>3.1.0.Final</quarkus.platform.version> </properties> <build> <plugins> <plugin> <groupId>$</groupId> <artifactId>quarkus-maven-plugin</artifactId> <version>$</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>build</goal> <goal>generate-code</goal> <goal>generate-code-tests</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
Copy to Clipboard Copied!