Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
phpunit_coverage_info Class Reference

Coverage information for the tool_dataprivacy plugin. More...

Public Member Functions

 get_excludelists (string $plugindir)
 Get the formatted XML list of files and folders to exclude. More...
 
 get_whitelists (string $plugindir)
 Get the formatted XML list of files and folders to whitelist. More...
 

Protected Attributes

array $excludelistfiles = []
 The list of files relative to the plugin root to excludelist in coverage generation.
 
array $excludelistfolders
 The list of folders relative to the plugin root to excludelist in coverage generation. More...
 
array $whitelistfiles = []
 The list of files relative to the plugin root to whitelist in coverage generation.
 
array $whitelistfolders
 The list of folders relative to the plugin root to whitelist in coverage generation. More...
 
 $whitelistfolders
 

Detailed Description

Coverage information for the tool_dataprivacy plugin.

Coverage information for the core subsystem.

Coverage information for PHPUnit.

Coverage information for the core H5P subsystem.

Coverage information for the core_grades subsystem.

Coverage information for the core_grading subsystem.

Coverage information for the gradingform_rubric plugin.

Coverage information for the gradingform_guide plugin.

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_whitelists()

phpunit_coverage_info::get_whitelists ( string  $plugindir)
final

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

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

Member Data Documentation

◆ $excludelistfolders

array phpunit_coverage_info::$excludelistfolders
protected
Initial value:
= [
]

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

◆ $whitelistfolders [1/2]

array phpunit_coverage_info::$whitelistfolders
protected
Initial value:
= [
'classes',
]

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

◆ $whitelistfolders [2/2]

phpunit_coverage_info::$whitelistfolders
protected
Initial value:
= [
'classes',
'tests/generator',
]

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