How to Ignore Nodes and Classes



Ignore Nodes and Classes


Access the Call Tree of an Application

Take the following steps to explore the Call Tree of one part of an application:

  1. Log into the vFunction Server UI
  2. Select Analysis in the top, center menu bar
  3. Expand a given Domain in the right-hand sidebar by selecting its name
  4. Select Explore Tree next to the Entry Points for the Domain
  5. You will be shown a horizontal view of the Call Tree where moving to the left will move up the Tree and moving to the right will move down the Tree

Ignore a Node

It is possible to remove certain execution flows by clicking IGNORE NODE - the branch starting from this node will be removed from the Dynamic Analysis.

Take the following steps to ignore a Node as part of a Call Tree:

  1. Log into the vFunction Server UI
  2. Select Analysis in the top, center menu bar
  3. Expand a given Domain in the right-hand sidebar by selecting its name
  4. Select Explore Tree next to the Entry Points for the Domain
  5. You will be shown a horizontal view of the Call Tree where moving to the left will move up the Tree and moving to the right will move down the Tree
  6. Hover over the colored circle of a Third Party / Common / Domain Class or Entry Point
  7. In the submenu that appears, select Ignore Node

Ignore a Class

A user can choose to IGNORE CLASS to ensure that all nodes for methods calls of a class will be removed from the Dynamic Analysis.

This is an advanced feature to remove outdated mechanisms (deprecated code) from the Dynamic Analysis Scope, which in turn may also reduce the number of Static Classes and Resources. For example, suppose you have an internal logging framework which is to be replaced with a third-party logging framework, you can mark the corresponding classes to be ignored. The deprecated logging classes will be removed, and as a result the analysis will be simplified. Also, if you choose to create a service from one of the affected domains, then the calls to that outdated mechanism will be commented out by the extraction engine. These calls are commented out and not deleted as a reminder that these calls need to be replaced.

Take the following steps to ignore a class:

  1. Log into the vFunction Server UI
  2. Select Analysis in the top, center menu bar
  3. Expand a given Domain in the right-hand sidebar by selecting its name
  4. Select View next to the Dynamic Classes or Static Classes
  5. As desired, toggle through the Exclusive, Nonexclusive, Common Classess or All Classess
  6. If a Class should be ignored, select the down arrow next to the Class Name
  7. Select Ignore Class from the Class’s submenu under Actions

Reset Ignored Items

Take the following steps to revert ignoring nodes and classes. This will bring back all the Nodes and Classes that were manually removed from the Dynamic Analysis:

  1. Log into the vFunction Server UI
  2. Select Analysis in the top, center menu bar
  3. Select Reset Ignored Items in the left-hand sidebar under the Actions Header