src/PAMI/Message/Event/DongleDeviceEntryEvent.php
DongleDeviceEntryEvent
has 59 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class DongleDeviceEntryEvent extends EventMessage
{
/**
* Returns key: 'Device'.
*
The class DongleDeviceEntryEvent has an overall complexity of 59 which is very high. The configured complexity threshold is 50. Open
Open
class DongleDeviceEntryEvent extends EventMessage
{
/**
* Returns key: 'Device'.
*
- Exclude checks
The class DongleDeviceEntryEvent has 59 public methods and attributes. Consider reducing the number of public items to less than 45. Open
Open
class DongleDeviceEntryEvent extends EventMessage
{
/**
* Returns key: 'Device'.
*
- Read upRead up
- Exclude checks
ExcessivePublicCount
Since: 0.1
A large number of public methods and attributes declared in a class can indicate the class may need to be broken up as increased effort will be required to thoroughly test it.
Example
public class Foo {
public $value;
public $something;
public $var;
// [... more more public attributes ...]
public function doWork() {}
public function doMoreWork() {}
public function doWorkAgain() {}
// [... more more public methods ...]
}