Pointable   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A acoes() 0 9 1
A sobreVoce() 0 15 1
A feedbacks() 0 9 1
1
<?php
2
/**
3
 * Rotinas de Inclusão de Dados
4
 */
5
6
namespace Gamer\Pointable;
7
8
class Pointable
9
{
10
    public static function acoes()
11
    {
12
        PointType::create(
13
            [
14
            'description' => 'Interaja com Alguem',
15
            'points' => 1
16
            ]
17
        );
18
    }
19
20
    /** 
21
     * Complete seu Perfil
22
     */
23
    public static function sobreVoce()
24
    {
25
        PointType::create(
26
            [
27
            'description' => 'Preencha seu Whatsapp',
28
            'points' => 1
29
            ]
30
        );
31
        PointType::create(
32
            [
33
            'description' => 'Complete 100% o seu Perfil',
34
            'points' => 1
35
            ]
36
        );
37
    }
38
39
    public static function feedbacks()
40
    {
41
        PointType::create(
42
            [
43
            'description' => 'De uma boa sugestão para o sistema.',
44
            'points' => 1
45
            ]
46
        );
47
    }
48
}
49