DB   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A dbCreate() 0 4 1
1
<?php
2
namespace PressCLI\WPCLI;
3
4
use PressCLI\WPCLI\CLI;
5
6
trait DB
7
{
8
    /**
9
     * Creates the database.
10
     */
11
    public static function dbCreate()
12
    {
13
        CLI::execCommand('db', ['create']);
14
    }
15
}
16