Codeunit 9990 "Code Coverage Mgt."
Base Application · System.TestTools.CodeCoverage
Across versions
- BC23-30present
Neighbourhood 5 connected objects and pages
Base Application · System.TestTools.CodeCoverage · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| SingleInstance | true |
Procedures
Start(MultiSessionValue: Boolean)Stop()Refresh()Clear()Import()Include(var AllObj: Record AllObj)Running(): BooleanStartApplicationCoverage()StopApplicationCoverage()ApplicationHits(): IntegerGetNoOfHitsCoverageForObject(ObjectType: Option; ObjectID: Integer; CodeLine: Text): IntegerCoveragePercent(NoCodeLines: Integer; NoCodeLinesHit: Integer): DecimalObjectCoverage(var CodeCoverage: Record "Code Coverage"; var NoCodeLines: Integer; var NoCodeLinesHit: Integer): DecimalObjectsCoverage(var CodeCoverage: Record "Code Coverage"; var NoCodeLines: Integer; var NoCodeLinesHit: Integer): DecimalFunctionCoverage(var CodeCoverage: Record "Code Coverage"; var NoCodeLines: Integer; var NoCodeLinesHit: Integer): DecimalCreateBackupFile(BackupPath: Text)CreateSummaryFile(SummaryPath: Text)StartAutomaticBackup(TimeInterval: Integer; BackupPath: Text[1024]; SummaryPath: Text[1024])UpdateAutomaticBackupSettings(TimeInterval: Integer; BackupPath: Text[1024]; SummaryPath: Text[1024])
Triggers
OnRun, Timer::Elapsed, Timer::ExceptionOccurred
Called by
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 130400 “CAL Test Runner” (2 calls:
RunTests → Start,RunTests → Stop) - Codeunit 130402 “CAL Command Line Test Runner” (2 calls:
OnRun → Start,OnRun → Stop) - Page 9990 “Code Coverage” (2 calls:
OnAfterGetRecord → FunctionCoverage,OnAfterGetRecord → ObjectCoverage) - XMLport 9991 “Code Coverage Detailed” (2 calls:
OnPostXmlPort → Import,OnPreXmlPort → Clear) - Page 9991 “Code Coverage Setup” (1 call:
OnOpenPage → StartAutomaticBackup)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Code Coverage Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.