GoRemoteQuery   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getBaseUrl() 0 4 1
A getKeyword() 0 4 1
1
<?php namespace JobApis\Jobs\Client\Queries;
2
3
class GoRemoteQuery extends AbstractQuery
4
{
5
    /**
6
     * GoRemote.io provides no search parameters, just
7
     * a feed of all their latest jobs via RSS.
8
     */
9
10
    /**
11
     * Get baseUrl
12
     *
13
     * @return  string Value of the base url to this api
14
     */
15 4
    public function getBaseUrl()
16
    {
17 4
        return 'https://goremote.io/rss';
18
    }
19
20
    /**
21
     * Get keyword
22
     *
23
     * @return  string Attribute being used as the search keyword
24
     */
25 4
    public function getKeyword()
26
    {
27 4
        return null;
28
    }
29
}
30