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

tools::zip()   B

Complexity

Conditions 11
Paths 7

Size

Total Lines 47
Code Lines 31

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 31
c 0
b 0
f 0
dl 0
loc 47
rs 7.3166
cc 11
nc 7
nop 4

How to fix   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
}