Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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.
 

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.


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