Completed
Push — master ( 3d4150...00d7a1 )
by Nicolas
03:57
created

RecipeDatabaseSeeder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 6 1
1
<?php namespace Modules\Recipe\Database\Seeders;
2
3
use Illuminate\Database\Seeder;
4
use Illuminate\Database\Eloquent\Model;
5
6
class RecipeDatabaseSeeder extends Seeder {
7
8
	/**
9
	 * Run the database seeds.
10
	 *
11
	 * @return void
12
	 */
13
	public function run()
14
	{
15
		Model::unguard();
16
		
17
		// $this->call("OthersTableSeeder");
0 ignored issues
show
Unused Code Comprehensibility introduced by
75% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
18
	}
19
20
}