AccountTrack   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 8 2
1
<?php
2
namespace Finder\Pipelines\Track;
3
4
use Finder\Contracts\Spider\Track;
5
6
/**
7
 * Run all script analysers and outputs their result.
8
 */
9
class AccountTrack extends Track
10
{
11
12
    public function run()
13
    {
14
        // Caso Seja Instagram
15
        if ($this->model->integration_id == \Integrations\Connectors\Instagram\Instagram::getPrimary()) {
16
            $this->addInformateArray(\Integrations\Connectors\Instagram\Profile::getProfile($this->model->username));
17
        }
18
        return true;
19
    }
20
21
22
}