src/HttpMessage/Request.js   A
last analyzed

Size

Lines of Code 9

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
nc 1
dl 0
loc 9
ccs 5
cts 5
cp 1
rs 10
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A Request.js ➔ ??? 0 7 1
1
export default class Request {
2
    constructor(host, path, userAgent, referer = '', scheme = 'http') {
3 18
        this.host = host
4 18
        this.path = path
5 18
        this.userAgent = userAgent
6 18
        this.referer = referer
7 18
        this.scheme = scheme
8
    }
9
}
10