Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.

rt.cover

Implementation of code coverage analyzer.
License:
Distributed under theBoost Software License 1.0. (See accompanying file LICENSE)
Authors:
Walter Bright, Sean Kelly

Sourcert/cover.d

voiddmd_coverSourcePath(stringpathname);
Set path to where source files are located.
Parameters:
stringpathnameThe new path name.
voiddmd_coverDestPath(stringpathname);
Set path to where listing files are to be written.
Parameters:
stringpathnameThe new path name.
voiddmd_coverSetMerge(boolflag);
Set merge mode.
Parameters:
boolflagtrue means new data is summed with existing data in the listing file; false means a new listing file is always created.
void_d_cover_register2(stringfilename, size_t[]valid, uint[]data, ubyteminPercent);
The coverage callback.
Parameters:
stringfilenameThe name of the coverage file.
size_t[]validBit array containing the valid code lines for coverage
uint[]dataArray containg the coverage hits of each line
ubyteminPercentminimal coverage of the module
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Sat Feb 21 00:06:48 2026

[8]ページ先頭

©2009-2026 Movatter.jp