Bunoon: SHRINK | Manual | Report Details

Below is a list of functions that will return specific information about a minimization after it has been run. You can access all sorts of information, for example, getting the total comments remove, the total block comments remove, the total number of variables that have been shrunk, etc.

Returns the total number of comments that have been stripped from the code.

The return value for this function is as follows:

  • [Number] - A number containing the total comments stripped.

Below is an example of how to use this function:

var nValue = $S.GetTotalCommentsStripped();

Returns the total number of documentation headers that have been stripped from the code.

The return value for this function is as follows:

  • [Number] - A number containing the total documentation headers stripped.

Below is an example of how to use this function:

var nValue = $S.GetTotalDocumentationStripped();

Returns the total number of block comments that have been stripped from the code.

The return value for this function is as follows:

  • [Number] - A number containing the total block comments stripped.

Below is an example of how to use this function:

var nValue = $S.GetTotalBlockCommentsStripped();

Returns the total number of empty lines that have been stripped from the code.

The return value for this function is as follows:

  • [Number] - A number containing the total empty lines stripped.

Below is an example of how to use this function:

var nValue = $S.GetTotalEmptyLinesStripped();

Returns the total number of left/right empty space that have been stripped from the code.

The return value for this function is as follows:

  • [Number] - A number containing the total left/right empty space stripped.

Below is an example of how to use this function:

var nValue = $S.GetTotalLeftRightEmptySpaceStripped();

Returns the total number of variables that have been shrunk in the code.

The return value for this function is as follows:

  • [Number] - A number containing the total variables shrunk.

Below is an example of how to use this function:

var nValue = $S.GetTotalVariablesShrunk();

Returns the total number of internal functions that have been shrunk in the code.

The return value for this function is as follows:

  • [Number] - A number containing the total internal functions shrunk.

Below is an example of how to use this function:

var nValue = $S.GetTotalInternalFunctionsShrunk();

Returns the total number of new lines that have been stripped from the code.

The return value for this function is as follows:

  • [Number] - A number containing the total new lines stripped.

Below is an example of how to use this function:

var nValue = $S.GetTotalNewLinesStripped();