postal.js/lib/report/files/__postal_js/report.json

2151 lines
No EOL
52 KiB
JSON
Executable file

{
"info": {
"file": "./postal.js",
"fileShort": "./postal.js",
"fileSafe": "__postal_js",
"link": "files/__postal_js/index.html"
},
"complexity": {
"aggregate": {
"line": 7,
"complexity": {
"sloc": {
"physical": 389,
"logical": 253
},
"cyclomatic": 49,
"halstead": {
"operators": {
"distinct": 28,
"total": 728,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 153,
"total": 861,
"identifiers": [
"__stripped__"
]
},
"length": 1589,
"vocabulary": 181,
"difficulty": 78.78431372549021,
"volume": 11917.255114575213,
"effort": 938892.7656933963,
"bugs": 3.972418371525071,
"time": 52160.70920518869
}
}
},
"functions": [
{
"name": "<anonymous>",
"line": 23,
"complexity": {
"sloc": {
"physical": 373,
"logical": 54
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 8,
"total": 114,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 46,
"total": 117,
"identifiers": [
"__stripped__"
]
},
"length": 231,
"vocabulary": 54,
"difficulty": 10.173913043478262,
"volume": 1329.3790129997615,
"effort": 13524.986480084532,
"bugs": 0.44312633766658716,
"time": 751.388137782474
}
}
},
{
"name": "ConsecutiveDistinctPredicate",
"line": 28,
"complexity": {
"sloc": {
"physical": 15,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"length": 5,
"vocabulary": 5,
"difficulty": 1.5,
"volume": 11.60964047443681,
"effort": 17.414460711655217,
"bugs": 0.0038698801581456034,
"time": 0.9674700395364009
}
}
},
{
"name": "<anonymous>",
"line": 30,
"complexity": {
"sloc": {
"physical": 12,
"logical": 8
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 9,
"total": 17,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 8,
"total": 21,
"identifiers": [
"__stripped__"
]
},
"length": 38,
"vocabulary": 17,
"difficulty": 11.8125,
"volume": 155.3235879675129,
"effort": 1834.7598828662462,
"bugs": 0.0517745293225043,
"time": 101.93110460368035
}
}
},
{
"name": "DistinctPredicate",
"line": 43,
"complexity": {
"sloc": {
"physical": 16,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 5,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 2,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"length": 8,
"vocabulary": 7,
"difficulty": 3.75,
"volume": 22.458839376460833,
"effort": 84.22064766172812,
"bugs": 0.007486279792153611,
"time": 4.678924870096007
}
}
},
{
"name": "<anonymous>",
"line": 46,
"complexity": {
"sloc": {
"physical": 12,
"logical": 4
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 8,
"total": 10,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 7,
"total": 11,
"identifiers": [
"__stripped__"
]
},
"length": 21,
"vocabulary": 15,
"difficulty": 6.285714285714286,
"volume": 82.0447025077789,
"effort": 515.7095586203245,
"bugs": 0.02734823416925963,
"time": 28.650531034462475
}
}
},
{
"name": "<anonymous>",
"line": 47,
"complexity": {
"sloc": {
"physical": 6,
"logical": 3
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 6,
"total": 11,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 6,
"total": 13,
"identifiers": [
"__stripped__"
]
},
"length": 24,
"vocabulary": 12,
"difficulty": 6.5,
"volume": 86.03910001730776,
"effort": 559.2541501125004,
"bugs": 0.028679700005769252,
"time": 31.069675006250023
}
}
},
{
"name": "ChannelDefinition",
"line": 59,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 4,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"length": 8,
"vocabulary": 7,
"difficulty": 1.875,
"volume": 22.458839376460833,
"effort": 42.11032383086406,
"bugs": 0.007486279792153611,
"time": 2.3394624350480036
}
}
},
{
"name": "<anonymous>.subscribe",
"line": 63,
"complexity": {
"sloc": {
"physical": 5,
"logical": 1
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 5,
"total": 14,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 9,
"total": 19,
"identifiers": [
"__stripped__"
]
},
"length": 33,
"vocabulary": 14,
"difficulty": 5.277777777777778,
"volume": 125.64271242790092,
"effort": 663.1143155916993,
"bugs": 0.04188090414263364,
"time": 36.83968419953885
}
}
},
{
"name": "<anonymous>.publish",
"line": 69,
"complexity": {
"sloc": {
"physical": 7,
"logical": 6
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 9,
"total": 29,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 19,
"total": 33,
"identifiers": [
"__stripped__"
]
},
"length": 62,
"vocabulary": 28,
"difficulty": 7.815789473684211,
"volume": 298.0560051675714,
"effort": 2329.5429877570714,
"bugs": 0.0993520017225238,
"time": 129.41905487539285
}
}
},
{
"name": "SubscriptionDefinition",
"line": 76,
"complexity": {
"sloc": {
"physical": 17,
"logical": 13
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 6,
"total": 27,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 17,
"total": 40,
"identifiers": [
"__stripped__"
]
},
"length": 67,
"vocabulary": 23,
"difficulty": 7.0588235294117645,
"volume": 303.0786510558199,
"effort": 2139.378713335199,
"bugs": 0.10102621701860663,
"time": 118.85437296306661
}
}
},
{
"name": "unsubscribe",
"line": 95,
"complexity": {
"sloc": {
"physical": 12,
"logical": 8
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 4,
"total": 18,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 13,
"total": 24,
"identifiers": [
"__stripped__"
]
},
"length": 42,
"vocabulary": 17,
"difficulty": 3.6923076923076925,
"volume": 171.67343933251428,
"effort": 633.8711606123604,
"bugs": 0.05722447977750476,
"time": 35.21506447846447
}
}
},
{
"name": "defer",
"line": 108,
"complexity": {
"sloc": {
"physical": 7,
"logical": 3
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 5,
"total": 7,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 4,
"total": 7,
"identifiers": [
"__stripped__"
]
},
"length": 14,
"vocabulary": 9,
"difficulty": 4.375,
"volume": 44.37895002019238,
"effort": 194.15790633834166,
"bugs": 0.014792983340064125,
"time": 10.786550352130092
}
}
},
{
"name": "<anonymous>.callback",
"line": 110,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 1,
"total": 1,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 4,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"length": 6,
"vocabulary": 5,
"difficulty": 0.625,
"volume": 13.931568569324174,
"effort": 8.707230355827608,
"bugs": 0.004643856189774725,
"time": 0.48373501976820044
}
}
},
{
"name": "disposeAfter",
"line": 116,
"complexity": {
"sloc": {
"physical": 15,
"logical": 6
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 10,
"total": 20,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 12,
"total": 22,
"identifiers": [
"__stripped__"
]
},
"length": 42,
"vocabulary": 22,
"difficulty": 9.166666666666666,
"volume": 187.29612798276648,
"effort": 1716.8811731753592,
"bugs": 0.06243204266092216,
"time": 95.38228739863106
}
}
},
{
"name": "<anonymous>",
"line": 121,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"length": 4,
"vocabulary": 4,
"difficulty": 1,
"volume": 8,
"effort": 8,
"bugs": 0.0026666666666666666,
"time": 0.4444444444444444
}
}
},
{
"name": "<anonymous>.callback",
"line": 125,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 6,
"total": 6,
"identifiers": [
"__stripped__"
]
},
"length": 10,
"vocabulary": 8,
"difficulty": 1,
"volume": 30,
"effort": 30,
"bugs": 0.01,
"time": 1.6666666666666667
}
}
},
{
"name": "distinctUntilChanged",
"line": 132,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 4,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 3,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"length": 8,
"vocabulary": 7,
"difficulty": 2.6666666666666665,
"volume": 22.458839376460833,
"effort": 59.89023833722889,
"bugs": 0.007486279792153611,
"time": 3.327235463179383
}
}
},
{
"name": "distinct",
"line": 137,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 4,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 3,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"length": 8,
"vocabulary": 7,
"difficulty": 2.6666666666666665,
"volume": 22.458839376460833,
"effort": 59.89023833722889,
"bugs": 0.007486279792153611,
"time": 3.327235463179383
}
}
},
{
"name": "once",
"line": 142,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"length": 5,
"vocabulary": 5,
"difficulty": 1,
"volume": 11.60964047443681,
"effort": 11.60964047443681,
"bugs": 0.0038698801581456034,
"time": 0.6449800263576005
}
}
},
{
"name": "withConstraint",
"line": 146,
"complexity": {
"sloc": {
"physical": 7,
"logical": 4
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 6,
"total": 9,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 7,
"total": 10,
"identifiers": [
"__stripped__"
]
},
"length": 19,
"vocabulary": 13,
"difficulty": 4.285714285714286,
"volume": 70.30835464468075,
"effort": 301.3215199057746,
"bugs": 0.02343611821489358,
"time": 16.7400844392097
}
}
},
{
"name": "withConstraints",
"line": 154,
"complexity": {
"sloc": {
"physical": 9,
"logical": 4
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 7,
"total": 9,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 7,
"total": 11,
"identifiers": [
"__stripped__"
]
},
"length": 20,
"vocabulary": 14,
"difficulty": 5.5,
"volume": 76.14709844115208,
"effort": 418.8090414263364,
"bugs": 0.025382366147050694,
"time": 23.267168968129802
}
}
},
{
"name": "<anonymous>",
"line": 157,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 3,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"length": 6,
"vocabulary": 5,
"difficulty": 1.3333333333333333,
"volume": 13.931568569324174,
"effort": 18.575424759098897,
"bugs": 0.004643856189774725,
"time": 1.0319680421721609
}
}
},
{
"name": "withContext",
"line": 164,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 2,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"length": 8,
"vocabulary": 5,
"difficulty": 3.75,
"volume": 18.575424759098897,
"effort": 69.65784284662087,
"bugs": 0.006191808253032966,
"time": 3.8698801581456035
}
}
},
{
"name": "withDebounce",
"line": 169,
"complexity": {
"sloc": {
"physical": 8,
"logical": 5
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 7,
"total": 12,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 8,
"total": 15,
"identifiers": [
"__stripped__"
]
},
"length": 27,
"vocabulary": 15,
"difficulty": 6.5625,
"volume": 105.48604608143,
"effort": 692.2521774093844,
"bugs": 0.03516201536047667,
"time": 38.45845430052136
}
}
},
{
"name": "withDelay",
"line": 178,
"complexity": {
"sloc": {
"physical": 12,
"logical": 5
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 8,
"total": 11,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 8,
"total": 12,
"identifiers": [
"__stripped__"
]
},
"length": 23,
"vocabulary": 16,
"difficulty": 6,
"volume": 92,
"effort": 552,
"bugs": 0.030666666666666665,
"time": 30.666666666666668
}
}
},
{
"name": "<anonymous>.callback",
"line": 183,
"complexity": {
"sloc": {
"physical": 5,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 4,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"length": 6,
"vocabulary": 6,
"difficulty": 1,
"volume": 15.509775004326936,
"effort": 15.509775004326936,
"bugs": 0.005169925001442312,
"time": 0.861654166907052
}
}
},
{
"name": "<anonymous>",
"line": 184,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 1,
"total": 1,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"length": 3,
"vocabulary": 3,
"difficulty": 0.5,
"volume": 4.754887502163469,
"effort": 2.3774437510817346,
"bugs": 0.0015849625007211565,
"time": 0.1320802083934297
}
}
},
{
"name": "withThrottle",
"line": 191,
"complexity": {
"sloc": {
"physical": 8,
"logical": 5
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 7,
"total": 12,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 8,
"total": 15,
"identifiers": [
"__stripped__"
]
},
"length": 27,
"vocabulary": 15,
"difficulty": 6.5625,
"volume": 105.48604608143,
"effort": 692.2521774093844,
"bugs": 0.03516201536047667,
"time": 38.45845430052136
}
}
},
{
"name": "subscribe",
"line": 200,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 2,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"length": 8,
"vocabulary": 5,
"difficulty": 3.75,
"volume": 18.575424759098897,
"effort": 69.65784284662087,
"bugs": 0.006191808253032966,
"time": 3.8698801581456035
}
}
},
{
"name": "compare",
"line": 208,
"complexity": {
"sloc": {
"physical": 19,
"logical": 10
},
"cyclomatic": 4,
"halstead": {
"operators": {
"distinct": 11,
"total": 43,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 24,
"total": 50,
"identifiers": [
"__stripped__"
]
},
"length": 93,
"vocabulary": 35,
"difficulty": 11.458333333333334,
"volume": 477.0233205758819,
"effort": 5465.892214931981,
"bugs": 0.15900777352529397,
"time": 303.6606786073323
}
}
},
{
"name": "reset",
"line": 228,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"length": 6,
"vocabulary": 6,
"difficulty": 1.5,
"volume": 15.509775004326936,
"effort": 23.264662506490403,
"bugs": 0.005169925001442312,
"time": 1.292481250360578
}
}
},
{
"name": "fireSub",
"line": 232,
"complexity": {
"sloc": {
"physical": 11,
"logical": 4
},
"cyclomatic": 4,
"halstead": {
"operators": {
"distinct": 6,
"total": 21,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 16,
"total": 26,
"identifiers": [
"__stripped__"
]
},
"length": 47,
"vocabulary": 22,
"difficulty": 4.875,
"volume": 209.59328607595296,
"effort": 1021.7672696202707,
"bugs": 0.06986442869198432,
"time": 56.76484831223726
}
}
},
{
"name": "<anonymous>",
"line": 234,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 3,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 6,
"total": 8,
"identifiers": [
"__stripped__"
]
},
"length": 13,
"vocabulary": 9,
"difficulty": 2,
"volume": 41.20902501875006,
"effort": 82.41805003750012,
"bugs": 0.013736341672916687,
"time": 4.578780557638896
}
}
},
{
"name": "addWireTap",
"line": 245,
"complexity": {
"sloc": {
"physical": 10,
"logical": 3
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 6,
"total": 7,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 6,
"total": 8,
"identifiers": [
"__stripped__"
]
},
"length": 15,
"vocabulary": 12,
"difficulty": 4,
"volume": 53.77443751081735,
"effort": 215.0977500432694,
"bugs": 0.017924812503605784,
"time": 11.949875002403855
}
}
},
{
"name": "<anonymous>",
"line": 248,
"complexity": {
"sloc": {
"physical": 6,
"logical": 3
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 7,
"total": 11,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 7,
"total": 12,
"identifiers": [
"__stripped__"
]
},
"length": 23,
"vocabulary": 14,
"difficulty": 6,
"volume": 87.56916320732489,
"effort": 525.4149792439493,
"bugs": 0.029189721069108297,
"time": 29.1897210691083
}
}
},
{
"name": "publish",
"line": 256,
"complexity": {
"sloc": {
"physical": 17,
"logical": 5
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 7,
"total": 18,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 10,
"total": 21,
"identifiers": [
"__stripped__"
]
},
"length": 39,
"vocabulary": 17,
"difficulty": 7.3500000000000005,
"volume": 159.41105080876326,
"effort": 1171.67122344441,
"bugs": 0.05313701693625442,
"time": 65.09284574691168
}
}
},
{
"name": "<anonymous>",
"line": 258,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 3,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"length": 7,
"vocabulary": 5,
"difficulty": 1.6666666666666667,
"volume": 16.253496664211536,
"effort": 27.089161107019226,
"bugs": 0.005417832221403845,
"time": 1.5049533948344014
}
}
},
{
"name": "<anonymous>",
"line": 262,
"complexity": {
"sloc": {
"physical": 8,
"logical": 6
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 8,
"total": 11,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 8,
"total": 15,
"identifiers": [
"__stripped__"
]
},
"length": 26,
"vocabulary": 16,
"difficulty": 7.5,
"volume": 104,
"effort": 780,
"bugs": 0.034666666666666665,
"time": 43.333333333333336
}
}
},
{
"name": "reset",
"line": 274,
"complexity": {
"sloc": {
"physical": 12,
"logical": 3
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 6,
"total": 9,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 5,
"total": 10,
"identifiers": [
"__stripped__"
]
},
"length": 19,
"vocabulary": 11,
"difficulty": 6,
"volume": 65.72920075410866,
"effort": 394.37520452465196,
"bugs": 0.021909733584702887,
"time": 21.909733584702888
}
}
},
{
"name": "<anonymous>",
"line": 276,
"complexity": {
"sloc": {
"physical": 7,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 3,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 4,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"length": 8,
"vocabulary": 7,
"difficulty": 1.875,
"volume": 22.458839376460833,
"effort": 42.11032383086406,
"bugs": 0.007486279792153611,
"time": 2.3394624350480036
}
}
},
{
"name": "<anonymous>",
"line": 277,
"complexity": {
"sloc": {
"physical": 5,
"logical": 2
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 3,
"total": 6,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 4,
"total": 6,
"identifiers": [
"__stripped__"
]
},
"length": 12,
"vocabulary": 7,
"difficulty": 2.25,
"volume": 33.68825906469125,
"effort": 75.79858289555531,
"bugs": 0.011229419688230418,
"time": 4.2110323830864065
}
}
},
{
"name": "subscribe",
"line": 287,
"complexity": {
"sloc": {
"physical": 12,
"logical": 12
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 9,
"total": 32,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 11,
"total": 37,
"identifiers": [
"__stripped__"
]
},
"length": 69,
"vocabulary": 20,
"difficulty": 15.136363636363637,
"volume": 298.213038547228,
"effort": 4513.860992555769,
"bugs": 0.09940434618240933,
"time": 250.7700551419872
}
}
},
{
"name": "unsubscribe",
"line": 304,
"complexity": {
"sloc": {
"physical": 12,
"logical": 7
},
"cyclomatic": 4,
"halstead": {
"operators": {
"distinct": 10,
"total": 34,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 11,
"total": 37,
"identifiers": [
"__stripped__"
]
},
"length": 71,
"vocabulary": 21,
"difficulty": 16.81818181818182,
"volume": 311.854537017292,
"effort": 5244.82630438173,
"bugs": 0.10395151233909733,
"time": 291.37923913231833
}
}
},
{
"name": "channel",
"line": 329,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 2,
"total": 3,
"identifiers": [
"__stripped__"
]
},
"length": 5,
"vocabulary": 4,
"difficulty": 1.5,
"volume": 10,
"effort": 15,
"bugs": 0.0033333333333333335,
"time": 0.8333333333333334
}
}
},
{
"name": "subscribe",
"line": 333,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 4,
"total": 6,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 6,
"total": 9,
"identifiers": [
"__stripped__"
]
},
"length": 15,
"vocabulary": 10,
"difficulty": 3,
"volume": 49.82892142331044,
"effort": 149.4867642699313,
"bugs": 0.016609640474436815,
"time": 8.304820237218406
}
}
},
{
"name": "publish",
"line": 337,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 5,
"total": 9,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 7,
"total": 11,
"identifiers": [
"__stripped__"
]
},
"length": 20,
"vocabulary": 12,
"difficulty": 3.9285714285714284,
"volume": 71.69925001442313,
"effort": 281.6756250566623,
"bugs": 0.02389975000480771,
"time": 15.648645836481238
}
}
},
{
"name": "addWireTap",
"line": 342,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 3,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 5,
"total": 6,
"identifiers": [
"__stripped__"
]
},
"length": 11,
"vocabulary": 8,
"difficulty": 1.7999999999999998,
"volume": 33,
"effort": 59.39999999999999,
"bugs": 0.011,
"time": 3.2999999999999994
}
}
},
{
"name": "linkChannels",
"line": 346,
"complexity": {
"sloc": {
"physical": 25,
"logical": 5
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 9,
"total": 19,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 7,
"total": 23,
"identifiers": [
"__stripped__"
]
},
"length": 42,
"vocabulary": 16,
"difficulty": 14.785714285714285,
"volume": 168,
"effort": 2484,
"bugs": 0.056,
"time": 138
}
}
},
{
"name": "<anonymous>",
"line": 350,
"complexity": {
"sloc": {
"physical": 19,
"logical": 2
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 6,
"total": 7,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 8,
"total": 9,
"identifiers": [
"__stripped__"
]
},
"length": 16,
"vocabulary": 14,
"difficulty": 3.375,
"volume": 60.91767875292166,
"effort": 205.5971657911106,
"bugs": 0.020305892917640553,
"time": 11.422064766172811
}
}
},
{
"name": "<anonymous>",
"line": 352,
"complexity": {
"sloc": {
"physical": 16,
"logical": 5
},
"cyclomatic": 4,
"halstead": {
"operators": {
"distinct": 8,
"total": 17,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 13,
"total": 20,
"identifiers": [
"__stripped__"
]
},
"length": 37,
"vocabulary": 21,
"difficulty": 6.153846153846154,
"volume": 162.51574464281416,
"effort": 1000.0968901096256,
"bugs": 0.05417191488093805,
"time": 55.56093833942364
}
}
},
{
"name": "callback",
"line": 358,
"complexity": {
"sloc": {
"physical": 7,
"logical": 5
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 6,
"total": 22,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 12,
"total": 29,
"identifiers": [
"__stripped__"
]
},
"length": 51,
"vocabulary": 18,
"difficulty": 7.25,
"volume": 212.66617507355792,
"effort": 1541.829769283295,
"bugs": 0.0708887250245193,
"time": 85.65720940462751
}
}
},
{
"name": "getSubscribersFor",
"line": 373,
"complexity": {
"sloc": {
"physical": 13,
"logical": 8
},
"cyclomatic": 4,
"halstead": {
"operators": {
"distinct": 10,
"total": 37,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 14,
"total": 39,
"identifiers": [
"__stripped__"
]
},
"length": 76,
"vocabulary": 24,
"difficulty": 13.928571428571427,
"volume": 348.4571500548079,
"effort": 4853.5103043348245,
"bugs": 0.11615238335160265,
"time": 269.6394613519347
}
}
},
{
"name": "reset",
"line": 387,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 8,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 5,
"total": 8,
"identifiers": [
"__stripped__"
]
},
"length": 16,
"vocabulary": 7,
"difficulty": 1.6,
"volume": 44.91767875292167,
"effort": 71.86828600467467,
"bugs": 0.014972559584307222,
"time": 3.9926825558152594
}
}
},
{
"name": "<anonymous>",
"line": 7,
"complexity": {
"sloc": {
"physical": 17,
"logical": 7
},
"cyclomatic": 3,
"halstead": {
"operators": {
"distinct": 10,
"total": 22,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 12,
"total": 23,
"identifiers": [
"__stripped__"
]
},
"length": 45,
"vocabulary": 22,
"difficulty": 9.583333333333334,
"volume": 200.67442283867837,
"effort": 1923.1298855373345,
"bugs": 0.06689147427955945,
"time": 106.84054919651858
}
}
},
{
"name": "module.exports",
"line": 10,
"complexity": {
"sloc": {
"physical": 4,
"logical": 2
},
"cyclomatic": 2,
"halstead": {
"operators": {
"distinct": 4,
"total": 5,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 4,
"total": 7,
"identifiers": [
"__stripped__"
]
},
"length": 12,
"vocabulary": 8,
"difficulty": 3.5,
"volume": 36,
"effort": 126,
"bugs": 0.012,
"time": 7
}
}
},
{
"name": "<anonymous>",
"line": 16,
"complexity": {
"sloc": {
"physical": 3,
"logical": 1
},
"cyclomatic": 1,
"halstead": {
"operators": {
"distinct": 2,
"total": 2,
"identifiers": [
"__stripped__"
]
},
"operands": {
"distinct": 3,
"total": 4,
"identifiers": [
"__stripped__"
]
},
"length": 6,
"vocabulary": 5,
"difficulty": 1.3333333333333333,
"volume": 13.931568569324174,
"effort": 18.575424759098897,
"bugs": 0.004643856189774725,
"time": 1.0319680421721609
}
}
}
],
"maintainability": 122.7195452557921,
"module": "./postal.js"
},
"jshint": {
"messages": [
{
"severity": "error",
"line": 13,
"column": 10,
"message": "Missing semicolon.",
"source": "Missing semicolon."
},
{
"severity": "error",
"line": 65,
"column": 2,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 66,
"column": 2,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 71,
"column": 2,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 72,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 213,
"column": 4,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 214,
"column": 4,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 215,
"column": 4,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 216,
"column": 4,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 233,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 234,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 235,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 236,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 237,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 238,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 239,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 240,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 241,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 262,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 263,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 264,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 265,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 265,
"column": 26,
"message": "Expected a conditional expression and instead saw an assignment.",
"source": "Expected a conditional expression and instead saw an assignment."
},
{
"severity": "error",
"line": 266,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 267,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 268,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 269,
"column": 1,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
},
{
"severity": "error",
"line": 381,
"column": 4,
"message": "Mixed spaces and tabs.",
"source": "Mixed spaces and tabs."
}
]
}
}