Analyzing source code in an editor
With AppScan® Source, you can analyze or modify source code in an internal editor - or you can choose from a variety of external editors.
External editors allow you to review results in AppScan Source for Analysis and make code modifications in the development environment of your choice. External editors include:
Editor | Platform |
---|---|
Eclipse (see the AppScan Source system requirements to learn which versions of Eclipse are supported) | Windows™ and Linux™ |
Notepad | Windows |
vi | Linux |
System Default | Windows and Linux |
- vi
- Eclipse (see the AppScan Source system requirements to learn which versions of Eclipse are supported)
- System Default
Note: You cannot edit source files in a WAR file.
To view/modify source code in the editor, choose one of these options:
- Double-click a finding in the findings table. The internal editor opens at the line of code.
- Right-click a finding in the findings table and select Open in Internal Editor or (where <editor> is one of the supported external editors listed in the above table).
- Select a trace node and then select the Open in Internal Editor or toolbar button - or right-click the selection and select Open in Internal Editor or from the menu.
If you have opened a file in the editor, markers indicate locations in the file that represent findings. To follow these back to the findings table, right-click the line of code in the editor and then select Show in Findings View from the menu.