Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
bbb_coverage Class Reference

Class bbb_coverage information for the core subsystem. More...

Inheritance diagram for bbb_coverage:
phpunit_coverage_info

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 excludelist in coverage generation.
 
array $excludelistfolders = []
 The list of folders relative to the plugin root to excludelist in coverage generation.
 
array $includelistfiles
 The list of files relative to the plugin root to includelist in coverage generation.
 
array $includelistfolders
 The list of folders relative to the plugin root to includelist in coverage generation.
 
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.
 

Detailed Description

Class bbb_coverage information for the core subsystem.

Note that we had to change the definition of this class due to a bug in local_moodlecheck https://github.com/moodlehq/moodle-local_moodlecheck/issues/50

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Laurent David (laure.nosp@m.nt@c.nosp@m.all-l.nosp@m.earn.nosp@m.ing.f.nosp@m.r)

Member Function Documentation

◆ get_excludelists()

phpunit_coverage_info::get_excludelists ( string $plugindir)
finalinherited

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)
finalinherited

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 bbb_coverage::$includelistfiles
protected
Initial value:
= [
'lib.php',
]

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

◆ $includelistfolders

array bbb_coverage::$includelistfolders
protected
Initial value:
= [
'classes',
'backup',
]

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

◆ $whitelistfiles

array phpunit_coverage_info::$whitelistfiles = []
protectedinherited

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

Deprecated
since Moodle 3.11 MDL-70745 - please don't use this property any more.
Todo
MDL-71067 - remove in Moodle 4.3

◆ $whitelistfolders

array phpunit_coverage_info::$whitelistfolders = []
protectedinherited

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

Deprecated
since Moodle 3.11 MDL-70745 - please don't use this property any more.
Todo
MDL-71067 - remove in Moodle 4.3

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