models/common/address.js   A
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 9
Function Count 0

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 9
rs 10
wmc 0
mnd 0
bc 0
fnc 0
bpm 0
cpm 0
noi 0
1
var address = {
2
  street: { type: String, required: true, default: '' },
3
  town: { type: String, required: false, default: '' },
4
  county: { type: String, default: 'Co. Kilkenny' },
5
  country: { type: String, default: 'Ireland' },
6
  postalCode: { type: String, required: false, default: '' }
7
}
8
9
module.exports = address
10