Passed
Push — main ( 7044f1...4122b8 )
by Miaad
01:31
created

tools::easyKey()   D

Complexity

Conditions 18
Paths 24

Size

Total Lines 60
Code Lines 43

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 43
c 0
b 0
f 0
dl 0
loc 60
rs 4.8666
cc 18
nc 24
nop 2

How to fix   Long Method    Complexity   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
3
namespace BPT;
4
5
use BPT\tools\{is,file,convert,generator,encrypt};
6
7
class tools{
8
    use is;
0 ignored issues
show
Bug introduced by
The trait BPT\tools\is requires the property $status which is not provided by BPT\tools.
Loading history...
9
    use file;
10
    use convert;
11
    use generator;
12
    use encrypt;
13
}