| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class Check extends CheckAbstract |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var CpuPerformance |
||
| 27 | */ |
||
| 28 | private $checker; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param float $minPerformance The minimum performance ratio, where 1 is equal the computational |
||
| 32 | * performance of AWS EC2 Micro Instance. For example, a value of 2 means |
||
| 33 | * at least double the baseline experience, value of 0.5 means at least |
||
| 34 | * half the performance. Defaults to 0.5 |
||
| 35 | * |
||
| 36 | * @throws \InvalidArgumentException |
||
| 37 | */ |
||
| 38 | 2 | public function __construct($minPerformance = 0.5) |
|
| 41 | 2 | } |
|
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | 2 | public function check() |
|
| 51 |