Viewing a Configuration Migration Report
The tool scans the configuration file for configuration items such as paths and drivers, and provides modification suggestions.
Prerequisites
The analysis task is complete.
Viewing a Migration Report
- Click Source Code Porting in the navigation pane on the left. Historical reports are listed.
- In the historical report list, click the report name of the specified analysis task to enter the porting report page. Switch to the configuration migration report. You can download the modification suggestion summary file.Figure 1 Configuration Migration Report
Table 1 Parameter description Parameter
Description
File Name
File name.
Source Path
Source file path.
Source Package Name
Source package name.
Suggestions
Total number of suggestions in the file.
Guidance Suggestion
Click View Details to view the guidance details.
Status
Migration status of the file, which is Migrated, To be migrated, or Masked.
Status Source
Source of the component, which defaults to a migration by the tool. If you want to modify the component status, the status source will change to Customized.
Remarks
Supplementary information.
Updated
Time when the migration status is updated.
Operation
You can modify the migration status and add remarks.
- Click View Details in the Guidance column. The configuration migration guidance is displayed on the right.You can move the mouse pointer to the code with a red wavy line and click Quick Fix to replace the code with the recommended code. (You can choose Batch Apply This Suggestion to batch fix similar issues.) Alternatively, you can modify the configuration as prompted, for example, modify the IP address and port number.Figure 2 Guidance Suggestion
- You can modify the source file. After the modification is complete, click Save, Roll Back, or Cancel in the upper right corner as needed.
- You can click the arrow keys in the upper right corner of the source file module to go up and down.
- Click
in the file list on the left to download the required source file.
- After the migration is complete, you can close the sliding frame. Click Edit in the Operation column, select a state from the drop-down list, and click Save.
You can select multiple files and click Batch Edit in the left upper corner to edit the source files at the same time. Click OK to save the modification.