Plug-in (Function & Smart Service)Free

Calculate Unused Variables

by Appian Corporation

Description

There are a lot of variables that are created during the development of an Appian application and a lot of those variables end up not being used. The best case scenario of these unused variables is that they are confusing for anyone who is trying to develop in the application. The worst case scenario of these unused variables is that when they are declared, they take a long time to run some complex logic or query the database which slows down the application for the end user. A developer usually has to go through each object in an application one by one to find these unused variables and then remove them which takes a lot of time.

The Calculate Unused Variables function looks through the environment that it is used in to automatically identify all unused variables for every object. This removes the time that a developer spends performing their code review and gets rid of any human error when they are searching for them.

This function should be used during a code quality check on the development environment before an application is deployed into a higher environment.

Features

  • Identifies all unused variables in an Appian environment
  • Search filter to narrow down the objects the calculation in performed on (this can be used with the prefix of the application to only find unused variables for that application)
  • Safety mechanism so that the function does not return too many results or run for too long