Managing Analysis Reports
Downloading an Analysis Report
After an analysis task is created and the analysis is complete, you can download the analysis report in either of the following ways:
- Downloading it in the historical report list
- Click Source Code Porting in the navigation pane on the left. Historical reports are listed.
- Locate the report to be downloaded.
- Click
next to the task name and click Download Report (.csv) or Download Report (.html) to download the analysis report.
- Downloading it on the report details page
- Click Source Code Porting in the navigation pane on the left.
- In the historical report list, click the report name of the analysis task. The report page is displayed.
- In the upper right corner of the page, click Download Report. Then click Download Report (.csv) or Download Report (.html) to download the analysis report.
Viewing a Downloaded Analysis Report
The following uses a CSV report as an example. Figure 1 shows the basic information in an analysis report.
|
Parameter |
Description |
|---|---|
|
Report Generated |
Time when the report is generated. |
|
Configuration |
Task name, report generation time, source file storage path, target OS, target OS kernel version, compiler version, build tool, compile command, whether an interpretative language or Go language is included, and user-defined x86 macro. |
|
File Scan Statistics |
Number of scanned files and the number of files to be ported. |
|
Dependency File Statistics |
Number of architecture-related files on which the source package depends. |
|
Source File Statistics |
Number of scanned files, number of files to be modified, number of lines of code to be modified, and total number of rule and suggestion items. |
|
Architecture-related Dependencies |
Details about the dependency files related to the architecture.
|
|
Source File Scan Details |
Details of the source code analysis report:
|
Keyword types:
- Intrinsics: intrinsic inline function
- CompilerMacro: compiler macro
- Attribute: compiler attribute
- CompilerBuiltin: compiler built-in function
- CompilerOption: compiler option
- BuiltinAssembles: built-in assembly
- Libs: dynamic link libraries
- CompilerOptionSpecial: special compiler option
- ModuleFunction: module function
- PureAssembles: pure assembly file
- AutomakeFile: automake file
- InvalidCategory: invalid porting option type
- AarchSpecific: specific to the AArch platform
- FortranCompilerOption: GFortran compilation option
- FortranBuiltin: Fortran built-in function
- FortranGrammar: Fortran syntax
- PrecompiledMacro: precompiled macro
The description of the module function is as follows:
1 2 3 4 5 6 7 |
current usage: add_library(test1 STATIC attr_gcc5.1.c builtin_gcc5.1.c ) The general signature is: add_library(<name> [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [source1] [source2 ...]) For details: https://cmake.org/cmake/help/v3.13/command/add_library.html |
- current usage: function usage in the current file
- The general signature is: usage of the official general function
- For details: link to the official help document of the module function
Deleting an Analysis Report
- Click Source Code Porting in the navigation pane on the left. Historical reports are listed.
- In the Historical Reports area, locate the report to be deleted and click
.
- A maximum of 50 reports can be stored. You can click
next to a function name to delete all related historical reports. - After a report is deleted, the analysis data in the report cannot be restored. Exercise caution when performing this operation.
- A maximum of 50 reports can be stored. You can click
- In the displayed dialog box, click OK.
