codeunitAL Developmentofficial - Microsoftderived - from the source, no model text

Codeunit 9990 "Code Coverage Mgt."

Base Application · System.TestTools.CodeCoverage

Across versions

  1. BC23-30present

Neighbourhood 5 connected objects and pages

Codeunit 130400 "CAL Test Runner" (calls, 2 links)CAL Test RunnerCodeunit 130402 "CAL Command Line Test Runner" (calls, 2 links)CAL Command Line Test RunnerPage 9990 "Code Coverage" (calls, 2 links)Code CoverageXMLport 9991 "Code Coverage Detailed" (calls, 2 links)Code Coverage DetailedPage 9991 "Code Coverage Setup" (calls)Code Coverage Setup

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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(): Boolean
  • StartApplicationCoverage()
  • StopApplicationCoverage()
  • ApplicationHits(): Integer
  • GetNoOfHitsCoverageForObject(ObjectType: Option; ObjectID: Integer; CodeLine: Text): Integer
  • CoveragePercent(NoCodeLines: Integer; NoCodeLinesHit: Integer): Decimal
  • ObjectCoverage(var CodeCoverage: Record "Code Coverage"; var NoCodeLines: Integer; var NoCodeLinesHit: Integer): Decimal
  • ObjectsCoverage(var CodeCoverage: Record "Code Coverage"; var NoCodeLines: Integer; var NoCodeLinesHit: Integer): Decimal
  • FunctionCoverage(var CodeCoverage: Record "Code Coverage"; var NoCodeLines: Integer; var NoCodeLinesHit: Integer): Decimal
  • CreateBackupFile(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.

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.

Evidence 1 sources