Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
phpunit_coverage_info Class Reference

Coverage information for the core subsystem. More...

Inheritance diagram for phpunit_coverage_info:
bbb_coverage

Public Member Functions

 get_excludelists (string $plugindir)
 Get the formatted XML list of files and folders to exclude.
 
 get_includelists (string $plugindir)
 Get the formatted XML list of files and folders to include.
 

Protected Attributes

array $excludelistfiles = []
 The list of files relative to the plugin root to exclude from coverage generation.
 
array $excludelistfolders = []
 The list of folders relative to the plugin root to exclude from coverage generation.
 
array $includelistfiles
 The list of files relative to the plugin root to include in coverage generation.
 
array $includelistfolders
 The list of folders relative to the plugin root to include in coverage generation.
 

Detailed Description

Coverage information for the core subsystem.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_excludelists()

phpunit_coverage_info::get_excludelists ( string $plugindir)
final

Get the formatted XML list of files and folders to exclude.

Parameters
string$plugindirThe root of the plugin, relative to the dataroot.
Return values
array

◆ get_includelists()

phpunit_coverage_info::get_includelists ( string $plugindir)
final

Get the formatted XML list of files and folders to include.

Parameters
string$plugindirThe root of the plugin, relative to the dataroot.
Return values
array

Member Data Documentation

◆ $includelistfiles

array phpunit_coverage_info::$includelistfiles
protected
Initial value:
= [
'moodleblock.class.php',
]

The list of files relative to the plugin root to include in coverage generation.

◆ $includelistfolders

array phpunit_coverage_info::$includelistfolders
protected
Initial value:
= [
'criteria',
]

The list of folders relative to the plugin root to include in coverage generation.


The documentation for this class was generated from the following files: