CodeTools - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Overview of the CodeTools Package

 

Calling Sequence

Description

List of CodeTools Package Commands

List of CodeTools:-Profiling Subpackage Commands

List of CodeTools:-Profiling:-Coverage Subpackage Commands

Calling Sequence

CodeTools:-command(arguments)

command(arguments)

Description

• 

The CodeTools package contains subpackages and commands to help improve the efficiency and quality of Maple code.

– 

The Profiling subpackage contains methods for performing statement level profiling of Maple code.  This means that profiling information can be obtained for each statement.

– 

The Profiling subpackage has a subpackage, Coverage, which analyzes the profiling data to generate information about code coverage.  The coverage information indicates which procedures and statements executed and which did not.  This is useful when testing code.

– 

The ProgramAnalysis subpackage contains commands to analyze data dependencies in for loops, to verify the correctness of while loops, and to create a static call graph from a procedure.

  

The CodeTools package also contains commands for working with the subpackages.

• 

Each command in the CodeTools package can be accessed by using either the long form or the short form of the command name in the command calling sequence.

  

The long form, CodeTools:-command, is always available. The short form can be used after loading the package.

List of CodeTools Package Commands

  

The following is a list of the commands available in the CodeTools package.

CPUTime

DecodeName

EncodeName

RealTime

Test

ThreadSafetyCheck

Usage

 

  

To display the help page for a particular CodeTools command, see Getting Help with a Command in a Package.

List of CodeTools:-Profiling Subpackage Commands

  

The following is a list of the commands available in the CodeTools:-Profiling subpackage.

Allow

Build

GetProfileTable

Ignore

IsProfiled

LoadProfiles

Merge

PrintProfiles

Profile

Remove

SaveProfiles

Select

SortBy

UnProfile

 

 

List of CodeTools:-Profiling:-Coverage Subpackage Commands

  

The following is a list of the commands available in the CodeTools:-Profiling:-Coverage subpackage.

Percent

PercentSelect

Print

TestCoverageWorksheet

See Also

CodeTools:-Profiling

CodeTools:-Profiling:-Coverage

help

module

symbol

UsingPackages

with