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 using
			a local clone.
		
	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
- voiddmd_coverSourcePath(stringpathname);
- Set path to where source files are located.Parameters:string pathnameThe new path name. 
- voiddmd_coverDestPath(stringpathname);
- Set path to where listing files are to be written.Parameters:string pathnameThe new path name. 
- voiddmd_coverSetMerge(boolflag);
- Set merge mode.Parameters:bool flagtrue 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 filenameThe 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 ubyte minPercentminimal coverage of the module 
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:28:11 2025