Completed
Push — master ( 148a23...d7820a )
by recca
05:29
created

Collection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 9
ccs 3
cts 3
cp 1
rs 10
wmc 1
lcom 1
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handleTableCreated() 0 4 1
1
<?php
2
3
namespace Recca0120\Repository;
4
5
abstract class Collection extends Sqlite
6
{
7
    protected $items = [];
8
9 1
    protected function handleTableCreated()
10
    {
11 1
        $this->newQuery()->insert($this->items);
12 1
    }
13
}
14