Rate This Document
Findability
Accuracy
Completeness
Readability

Content to Be Ported Not Included in the Specified Analysis Path or Analysis Package

Symptom

The source code porting result shows that the specified analysis path or analysis package does not contain the content to be ported, as shown in the following figure.

Figure 1 Scan result

Possible Causes

The tool scans and analyzes the source code. The tool does not find the items that need to be adapted for compatibility or be replaced.

Troubleshooting Procedure

The Porting Advisor statically scans and analyzes the code, and does not detect any content that needs to be adapted for compatibility or be replaced, that is, there are no lines of code for modification.

  • If the source file is written in Python, select Python for Source Code Type and keep defaults for the other parameters. If the analysis result reports "The specified path or package does not contain the content to be ported", the tool detects no item to be modified or replaced after scanning and analyzing the source code.
  • If the source file is written in Java, which is an interpreted language and has strong cross-platform compatibility, check whether any third-party library is invoked. If any items need to be modified or replaced but are not identified, the tool malfunctions.