SysCodeCoverage Class [AX 2012]

The SysCodeCoverage class is an extension of the profiler that is intended to change profiler data in a way that allows for data to be used as a base measurement of code coverage.

class SysCodeCoverage extends profiler

Run On

Called

  MethodDescription
Gg916004.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif checkTreeNode
Gg916004.pubmethod(en-us,AX.60).gif collected (Inherited from profiler.)
Gg916004.pubmethod(en-us,AX.60).gif coverageNumbers Calculates a set of key figures for code coverage, based on the recorded code coverage.
Gg916004.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif flush (Inherited from profiler.)
Gg916004.protmethod(en-us,AX.60).gif flushData (Overrides the flushData Method.)
Gg916004.pubmethod(en-us,AX.60).gif flushInterval (Inherited from profiler.)
Gg916004.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif init
Gg916004.pubmethod(en-us,AX.60).gif new Initializes a new instance of the profiler class. (Inherited from profiler.)
Gg916004.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif parmPathMap Gets or sets the PathMap parameter.
Gg916004.pubmethod(en-us,AX.60).gif postUpdate Updates the source code data that is captured by the profiler.
Gg916004.pubmethod(en-us,AX.60).gif processData
Gg916004.pubmethod(en-us,AX.60).gif profileOff (Overrides the profileOff Method.)
Gg916004.pubmethod(en-us,AX.60).gif profileOn (Overrides the profileOn Method.)
Gg916004.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif tempPath (Inherited from profiler.)
Gg916004.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from profiler.)
Gg916004.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::buildPath Builds tree node paths to use for specific code coverage data from the recorded data.
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::construct Initializes a new instance of the SysCodeCoverage class.
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::constructServer
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::coveredTreenode Builds a tree node of the covered source code on a specific path.
Gg916004.protmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::insertLineNumbers Inserts line numbers into a string of source code.
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::mergeCoverageMaps Merges two code coverage maps into one.
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::mergeNumbers
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::modifyTreenode
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::originalTreenode Builds a tree node of the actual source code on a specific path.
Gg916004.pubmethod(en-us,AX.60).gif Gg916004.static(en-us,AX.60).gif ::uncoveredTreenode Builds a tree node of the uncovered source code in a specific path.
Top

Code coverage is the exactly X++ lines executed while the profiler is on.

Object Class
  profiler Class
    SysCodeCoverage Class

Community Additions

ADD
Show: