ページの改善
いますぐフォークしてオンライン編集し、このページのプルリクエストを送信します。
Github へのログインが必要です。 これは小さな変更に適しています。
大きな変更を加えたい場合は、通常の cloneの使用をお勧めします。
日本語版について
個人的な学習のために、dlang.orgを翻訳したサイトです。
翻訳に際して、様々なサイトを参考にしています。
rt.cover
Implementation of code coverage analyzer.
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Walter Bright, Sean Kelly
Source rt/cover.d
- void
dmd_coverSourcePath
(stringpathname
); - Set path to where source files are located.Parameters:
string pathname
The new path name. - void
dmd_coverDestPath
(stringpathname
); - Set path to where listing files are to be written.Parameters:
string pathname
The new path name. - void
dmd_coverSetMerge
(boolflag
); - Set merge mode.Parameters:
bool flag
true 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:
string filename
The name of the coverage file. size_t[] valid
Bit array containing the valid code lines for coverage uint[] data
Array containg the coverage hits of each line ubyte minPercent
minimal coverage of the module
Copyright © 1999-2022 by the D Language Foundation | Page generated by
Ddoc on Wed Nov 23 08:33:11 2022