Test Setup Failed
Push — 1.x ( abc0aa...81440b )
by Adrien
15:44
created

SplBoolBench::benchCreateFalse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * Part of SplTypes package.
5
 *
6
 * (c) Adrien Loyant <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ducks\Component\SplTypes\Tests\benchmark;
13
14
use Ducks\Component\SplTypes\SplBool;
15
16
class SplBoolBench
17
{
18
    /**
19
     * @Revs(1000)
20
     * @Iterations(5)
21
     *
22
     * @return void
23
     */
24
    public function benchCreateTrue()
25
    {
26
        new SplBool();
27
    }
28
29
    /**
30
     * @Revs(1000)
31
     * @Iterations(5)
32
     *
33
     * @return void
34
     */
35
    public function benchCreateFalse()
36
    {
37
        new SplBool();
38
    }
39
}
40