lib/http/index.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 32
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 0
c 3
b 0
f 0
nc 1
dl 0
loc 32
rs 10
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A Object.forEach 0 3 1
1
var _ = require('./_common')
2
var exports = {}
3
4
Object.keys(_).forEach(function (k) {
5
  exports[k] = _[k]
6
})
7
/** @deprecated */
8
exports.basic = require('./basic')
9
/** @deprecated */
10
exports.rest = require('./rest')
11
exports.Rest = exports.rest.Client
12
exports.Basic = exports.basic.Client
13
14
/**
15
 * @namespace
16
 *
17
 * @property {Function} NetworkException
18
 * @property {Function} IllegalUrlException
19
 * @property {Function} MissingHostException
20
 * @property {Function} ConnectionErrorException
21
 * @property {Function} RedirectVortexException
22
 * @property {Function} NetworkErrorException
23
 * @property {Function} TimeoutException
24
 * @property {Function} VoxEngineErrorException
25
 * @property {Function} HttpException
26
 * @property {Function} ServerErrorException
27
 * @property {Function} ClientErrorException
28
 * @property {Function} NotFoundException
29
 * @property {Function} InvalidConfigurationException
30
 * @property {Method} Method
31
 */
32
module.exports = exports
33