Java Impact Analysis

This workflow performs a comparison of two sets of Java class files, representing source and target systems. The differences between the class files are assessed for their impact on a third set of Java class files representing custom code. For example, the custom code may include a class which has a parent in the source and target systems. If the parent class is different in the source and target systems, the custom class is likely to be impacted if it is migrated to the target system.

Uploading Java Files

Before you begin, you will need to upload the appropriate Java files to the LiveCompare server.

Preparing the Workflow

To prepare the Java Impact Analysis workflow, drag its workflow template from the Templates folder into your own workspace, and modify the workflow as follows:

To specify the source Java class files:

  1. Select the Source Java Classes parameter and choose ‘Edit String List’ from its context menu to display the String List Editor dialog.

  2. Click 'Lookup' in the String List dialog, select the source java class files to be compared, then click 'Save'.

  3. Click 'Save' to close the String List dialog.

To specify the target Java class files:

  1. Select the Target Java Classes parameter and choose ‘Edit String List’ from its context menu to display the String List Editor dialog.

  2. Click 'Lookup' in the String List dialog, select the source java class files to be compared, then click 'Save'.

  3. Click 'Save' to close the String List dialog.

To specify the custom Java class files:

  1. Select the Custom Java Classes parameter and choose ‘Edit String List’ from its context menu to display the String List Editor dialog.

  2. Click 'Lookup' in the String List dialog, select the source java class files to be compared, then click 'Save'.

  3. Click 'Save' to close the String List dialog.

Save the workflow using the 'Save' toolbar button.

Running the Workflow

To run the Java Impact Analysis workflow, click the ‘Run’ toolbar button, choose ‘Run Now’ from the diagram’s context menu, or press F5. The currently running workflow action is marked with an animated display. When the workflow execution has completed, select the Report URL dataset and choose ‘View Details’ from the context menu access the generated report.

In the report:

  • Impacted classes are marked with a red hexagon.

  • Non impacted classes are marked with a green hexagon.

  • Select a class link to display the details for the selected class. Each class link is marked with an icon to indicate its overall comparison status.