New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

complexity-report

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

complexity-report - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

package.json
{
"name": "complexity-report",
"version": "0.8.0",
"version": "0.8.1",
"author": "Phil Booth <pmbooth@gmail.com>",

@@ -5,0 +5,0 @@ "description": "A tool for reporting code complexity metrics in JavaScript projects.",

@@ -53,5 +53,5 @@ # complexityReport.js

The tool will automatically
recursively read files from any directories
that it encounters.
The tool will recursively read files
from any directories that it encounters
automatically.

@@ -58,0 +58,0 @@ #### Options

@@ -7,3 +7,2 @@ # Complexity report ~ Sunday, February 17, 2013

* Aggregate cyclomatic complexity: 25
* Function: **parseCommandLine**

@@ -17,3 +16,2 @@ * Line No.: 26

* Halstead effort: 7095.356983444953
* Function: **readFiles**

@@ -27,3 +25,2 @@ * Line No.: 103

* Halstead effort: 93.01398665684617
* Function: **&lt;anonymous>**

@@ -37,3 +34,2 @@ * Line No.: 104

* Halstead effort: 366.3435320959681
* Function: **readDirectory**

@@ -47,3 +43,2 @@ * Line No.: 117

* Halstead effort: 72.1157937828126
* Function: **&lt;anonymous>**

@@ -57,3 +52,2 @@ * Line No.: 119

* Halstead effort: 42.11032383086406
* Function: **readFile**

@@ -67,3 +61,2 @@ * Line No.: 125

* Halstead effort: 112.92631877271643
* Function: **&lt;anonymous>**

@@ -77,3 +70,2 @@ * Line No.: 128

* Halstead effort: 206.13534379146648
* Function: **error**

@@ -87,3 +79,2 @@ * Line No.: 143

* Halstead effort: 82.41805003750012
* Function: **fail**

@@ -97,3 +88,2 @@ * Line No.: 147

* Halstead effort: 38.5
* Function: **beginsWithShebang**

@@ -107,3 +97,2 @@ * Line No.: 152

* Halstead effort: 115.38527005250016
* Function: **commentFirstLine**

@@ -117,3 +106,2 @@ * Line No.: 156

* Halstead effort: 15
* Function: **getReport**

@@ -127,3 +115,2 @@ * Line No.: 160

* Halstead effort: 830.1479929051858
* Function: **isTooComplex**

@@ -137,3 +124,2 @@ * Line No.: 172

* Halstead effort: 285.5516191543203
* Function: **isModuleComplexityThresholdSet**

@@ -147,3 +133,2 @@ * Line No.: 181

* Halstead effort: 33.68825906469125
* Function: **isModuleTooComplex**

@@ -157,3 +142,2 @@ * Line No.: 185

* Halstead effort: 93.01398665684617
* Function: **isThresholdBreached**

@@ -167,3 +151,2 @@ * Line No.: 191

* Halstead effort: 166.4210625757214
* Function: **isFunctionComplexityThresholdSet**

@@ -177,3 +160,2 @@ * Line No.: 195

* Halstead effort: 506.0654253549418
* Function: **isFunctionTooComplex**

@@ -187,3 +169,2 @@ * Line No.: 199

* Halstead effort: 5082.662616152224
* Function: **finish**

@@ -197,3 +178,2 @@ * Line No.: 223

* Halstead effort: 614.5335136115052
* Function: **writeReport**

@@ -207,3 +187,2 @@ * Line No.: 237

* Halstead effort: 652.2591372826461
* Function: **&lt;anonymous>**

@@ -218,2 +197,15 @@ * Line No.: 241

##/Users/phil/Code/complexityReport.js/src/formats/json.js
* Maintainability index: 157.71800752429994
* Aggregate cyclomatic complexity: 1
* Function: **format**
* Line No.: 7
* Physical SLOC: 3
* Logical SLOC: 1
* Cyclomatic complexity: 1
* Halstead difficulty: 1.7999999999999998
* Halstead volume: 27
* Halstead effort: 48.599999999999994
##/Users/phil/Code/complexityReport.js/src/complexityReport.js

@@ -223,3 +215,2 @@

* Aggregate cyclomatic complexity: 31
* Function: **run**

@@ -233,3 +224,2 @@ * Line No.: 28

* Halstead effort: 2341.9565217391305
* Function: **getDefaultSettings**

@@ -243,3 +233,2 @@ * Line No.: 55

* Halstead effort: 128.43139884190967
* Function: **createReport**

@@ -253,3 +242,2 @@ * Line No.: 65

* Halstead effort: 161.4401422030739
* Function: **createFunctionReport**

@@ -263,3 +251,2 @@ * Line No.: 72

* Halstead effort: 1348.5321214759188
* Function: **createInitialHalsteadState**

@@ -273,3 +260,2 @@ * Line No.: 87

* Halstead effort: 82.5
* Function: **createInitialHalsteadItemState**

@@ -283,3 +269,2 @@ * Line No.: 94

* Halstead effort: 115.38527005250016
* Function: **processTree**

@@ -293,3 +278,2 @@ * Line No.: 102

* Halstead effort: 796.0765911844414
* Function: **processNode**

@@ -303,3 +287,2 @@ * Line No.: 112

* Halstead effort: 1802.607070308403
* Function: **processLloc**

@@ -313,3 +296,2 @@ * Line No.: 133

* Halstead effort: 14.475790004038473
* Function: **incrementCounter**

@@ -323,3 +305,2 @@ * Line No.: 137

* Halstead effort: 976.8000000000001
* Function: **incrementLogicalSloc**

@@ -333,3 +314,2 @@ * Line No.: 147

* Halstead effort: 239.17882283189013
* Function: **processComplexity**

@@ -343,3 +323,2 @@ * Line No.: 155

* Halstead effort: 14.475790004038473
* Function: **incrementComplexity**

@@ -353,3 +332,2 @@ * Line No.: 159

* Halstead effort: 190.19550008653874
* Function: **processOperators**

@@ -363,3 +341,2 @@ * Line No.: 167

* Halstead effort: 12.190122498158651
* Function: **processOperands**

@@ -373,3 +350,2 @@ * Line No.: 171

* Halstead effort: 12.190122498158651
* Function: **processHalsteadMetric**

@@ -383,3 +359,2 @@ * Line No.: 175

* Halstead effort: 8082.465880643498
* Function: **halsteadItemEncountered**

@@ -393,3 +368,2 @@ * Line No.: 196

* Halstead effort: 175.13835632968778
* Function: **incrementHalsteadItems**

@@ -403,3 +377,2 @@ * Line No.: 204

* Halstead effort: 31.019550008653873
* Function: **incrementDistinctHalsteadItems**

@@ -413,3 +386,2 @@ * Line No.: 209

* Halstead effort: 715.3059972188095
* Function: **isHalsteadMetricDistinct**

@@ -423,3 +395,2 @@ * Line No.: 219

* Halstead effort: 254.4052306222001
* Function: **recordDistinctHalsteadMetric**

@@ -433,3 +404,2 @@ * Line No.: 223

* Halstead effort: 72.45542860439572
* Function: **incrementHalsteadMetric**

@@ -443,3 +413,2 @@ * Line No.: 227

* Halstead effort: 126.7970000576925
* Function: **incrementTotalHalsteadItems**

@@ -453,3 +422,2 @@ * Line No.: 233

* Halstead effort: 12.190122498158651
* Function: **processChildrenInNewScope**

@@ -463,3 +431,2 @@ * Line No.: 237

* Halstead effort: 326.04777879714726
* Function: **processChildren**

@@ -473,3 +440,2 @@ * Line No.: 245

* Halstead effort: 2456.7450448967597
* Function: **processChild**

@@ -483,3 +449,2 @@ * Line No.: 259

* Halstead effort: 285.6276907440155
* Function: **calculateMetrics**

@@ -493,3 +458,2 @@ * Line No.: 264

* Halstead effort: 11067.477280584959
* Function: **&lt;anonymous>**

@@ -503,3 +467,2 @@ * Line No.: 289

* Halstead effort: 15
* Function: **calculateHalsteadMetrics**

@@ -513,3 +476,2 @@ * Line No.: 299

* Halstead effort: 9958.534463787488
* Function: **nilHalsteadMetrics**

@@ -523,3 +485,2 @@ * Line No.: 315

* Halstead effort: 151.147728317375
* Function: **sumMaintainabilityMetrics**

@@ -533,3 +494,2 @@ * Line No.: 325

* Halstead effort: 243.77745004903863
* Function: **calculateMaintainabilityIndex**

@@ -544,16 +504,2 @@ * Line No.: 331

##/Users/phil/Code/complexityReport.js/src/formats/json.js
* Maintainability index: 157.71800752429994
* Aggregate cyclomatic complexity: 1
* Function: **format**
* Line No.: 7
* Physical SLOC: 3
* Logical SLOC: 1
* Cyclomatic complexity: 1
* Halstead difficulty: 1.7999999999999998
* Halstead volume: 27
* Halstead effort: 48.599999999999994
##/Users/phil/Code/complexityReport.js/src/formats/markdown.js

@@ -563,3 +509,2 @@

* Aggregate cyclomatic complexity: 3
* Function: **format**

@@ -573,3 +518,2 @@ * Line No.: 7

* Halstead effort: 1477.4158603892195
* Function: **formatModule**

@@ -583,3 +527,2 @@ * Line No.: 17

* Halstead effort: 334.9494273537706
* Function: **formatFunctions**

@@ -593,3 +536,2 @@ * Line No.: 28

* Halstead effort: 1027.8865128555299
* Function: **formatFunction**

@@ -608,3 +550,2 @@ * Line No.: 38

* Aggregate cyclomatic complexity: 3
* Function: **format**

@@ -618,3 +559,2 @@ * Line No.: 7

* Halstead effort: 1027.8865128555299
* Function: **formatModule**

@@ -628,3 +568,2 @@ * Line No.: 17

* Halstead effort: 197.3567849675249
* Function: **formatFunctions**

@@ -638,3 +577,2 @@ * Line No.: 26

* Halstead effort: 1027.8865128555299
* Function: **formatFunction**

@@ -653,3 +591,2 @@ * Line No.: 36

* Aggregate cyclomatic complexity: 3
* Function: **format**

@@ -663,3 +600,2 @@ * Line No.: 7

* Halstead effort: 1027.8865128555299
* Function: **formatModule**

@@ -673,3 +609,2 @@ * Line No.: 17

* Halstead effort: 322.8424910217125
* Function: **formatFunctions**

@@ -683,3 +618,2 @@ * Line No.: 27

* Halstead effort: 1027.8865128555299
* Function: **formatFunction**

@@ -698,3 +632,2 @@ * Line No.: 37

* Aggregate cyclomatic complexity: 5
* Function: **format**

@@ -708,3 +641,2 @@ * Line No.: 7

* Halstead effort: 1010.908748381081
* Function: **createElementWithAttributes**

@@ -718,3 +650,2 @@ * Line No.: 19

* Halstead effort: 157.31702335073723
* Function: **createElementWithTags**

@@ -728,3 +659,2 @@ * Line No.: 23

* Halstead effort: 462
* Function: **indent**

@@ -738,3 +668,2 @@ * Line No.: 29

* Halstead effort: 161.4401422030739
* Function: **formatModule**

@@ -748,3 +677,2 @@ * Line No.: 33

* Halstead effort: 2647.173913043478
* Function: **incrementIndentation**

@@ -758,3 +686,2 @@ * Line No.: 47

* Halstead effort: 15
* Function: **formatFunction**

@@ -768,3 +695,2 @@ * Line No.: 51

* Halstead effort: 692.3267587934404
* Function: **createElement**

@@ -778,3 +704,2 @@ * Line No.: 61

* Halstead effort: 67.3765181293825
* Function: **formatComplexity**

@@ -788,3 +713,2 @@ * Line No.: 65

* Halstead effort: 699.9277487535508
* Function: **formatSlocComplexity**

@@ -798,3 +722,2 @@ * Line No.: 76

* Halstead effort: 63.39850002884626
* Function: **formatSlocMetrics**

@@ -808,3 +731,2 @@ * Line No.: 83

* Halstead effort: 250.94737505048096
* Function: **formatCyclomaticComplexity**

@@ -818,3 +740,2 @@ * Line No.: 88

* Halstead effort: 35.372672017925815
* Function: **formatHalsteadComplexity**

@@ -828,3 +749,2 @@ * Line No.: 92

* Halstead effort: 63.39850002884626
* Function: **formatHalsteadMetrics**

@@ -838,3 +758,2 @@ * Line No.: 99

* Halstead effort: 1417.1082699225192
* Function: **formatAggregate**

@@ -853,3 +772,2 @@ * Line No.: 109

* Aggregate cyclomatic complexity: 3
* Function: **module.exports**

@@ -864,16 +782,2 @@ * Line No.: 7

##/Users/phil/Code/complexityReport.js/src/syntax/ArrayExpression.js
* Maintainability index: 156.55238607408194
* Aggregate cyclomatic complexity: 1
* Function: **get**
* Line No.: 9
* Physical SLOC: 3
* Logical SLOC: 1
* Cyclomatic complexity: 1
* Halstead difficulty: 1.7142857142857142
* Halstead volume: 39.863137138648355
* Halstead effort: 68.33680652339717
##/Users/phil/Code/complexityReport.js/src/syntax/AssignmentExpression.js

@@ -883,3 +787,2 @@

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -893,3 +796,2 @@ * Line No.: 10

* Halstead effort: 204.85500004120897
* Function: **&lt;anonymous>**

@@ -903,3 +805,2 @@ * Line No.: 13

* Halstead effort: 15
* Function: **&lt;anonymous>**

@@ -914,2 +815,15 @@ * Line No.: 17

##/Users/phil/Code/complexityReport.js/src/syntax/ArrayExpression.js
* Maintainability index: 156.55238607408194
* Aggregate cyclomatic complexity: 1
* Function: **get**
* Line No.: 9
* Physical SLOC: 3
* Logical SLOC: 1
* Cyclomatic complexity: 1
* Halstead difficulty: 1.7142857142857142
* Halstead volume: 39.863137138648355
* Halstead effort: 68.33680652339717
##/Users/phil/Code/complexityReport.js/src/syntax/BinaryExpression.js

@@ -919,3 +833,2 @@

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -929,3 +842,2 @@ * Line No.: 9

* Halstead effort: 161.32331253245204
* Function: **&lt;anonymous>**

@@ -944,3 +856,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -959,3 +870,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -974,3 +884,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -984,3 +893,2 @@ * Line No.: 9

* Halstead effort: 145.70481390180552
* Function: **&lt;anonymous>**

@@ -999,3 +907,2 @@ * Line No.: 11

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1009,3 +916,2 @@ * Line No.: 9

* Halstead effort: 158.6397884190668
* Function: **&lt;anonymous>**

@@ -1024,3 +930,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1039,3 +944,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1054,3 +958,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1064,3 +967,2 @@ * Line No.: 9

* Halstead effort: 145.70481390180552
* Function: **&lt;anonymous>**

@@ -1079,3 +981,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1094,3 +995,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1104,3 +1004,2 @@ * Line No.: 9

* Halstead effort: 171.90318620677482
* Function: **&lt;anonymous>**

@@ -1119,3 +1018,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1129,3 +1027,2 @@ * Line No.: 9

* Halstead effort: 171.90318620677482
* Function: **&lt;anonymous>**

@@ -1144,3 +1041,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1154,3 +1050,2 @@ * Line No.: 10

* Halstead effort: 171.90318620677482
* Function: **&lt;anonymous>**

@@ -1169,3 +1064,2 @@ * Line No.: 13

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1179,3 +1073,2 @@ * Line No.: 10

* Halstead effort: 186.13735174503842
* Function: **&lt;anonymous>**

@@ -1194,3 +1087,2 @@ * Line No.: 13

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1204,3 +1096,2 @@ * Line No.: 9

* Halstead effort: 76.07820003461549
* Function: **&lt;anonymous>**

@@ -1219,3 +1110,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1229,3 +1119,2 @@ * Line No.: 9

* Halstead effort: 515.4152049644882
* Function: **&lt;anonymous>**

@@ -1239,3 +1128,2 @@ * Line No.: 11

* Halstead effort: 42.11032383086406
* Function: **filter**

@@ -1254,3 +1142,2 @@ * Line No.: 19

* Aggregate cyclomatic complexity: 6
* Function: **getSyntax**

@@ -1264,3 +1151,2 @@ * Line No.: 12

* Halstead effort: 1074.9813879647113
* Function: **loadSyntaxModules**

@@ -1274,3 +1160,2 @@ * Line No.: 29

* Halstead effort: 1610.6385366946904
* Function: **getSyntaxFileNames**

@@ -1284,3 +1169,2 @@ * Line No.: 44

* Halstead effort: 23.264662506490403
* Function: **isSyntaxDefinition**

@@ -1294,3 +1178,2 @@ * Line No.: 48

* Halstead effort: 672.0245656851504
* Function: **pathify**

@@ -1304,3 +1187,2 @@ * Line No.: 56

* Halstead effort: 30.95904126516483
* Function: **loadSyntaxModule**

@@ -1314,3 +1196,2 @@ * Line No.: 60

* Halstead effort: 69.29999999999998
* Function: **setSyntax**

@@ -1325,24 +1206,22 @@ * Line No.: 64

##/Users/phil/Code/complexityReport.js/src/syntax/NewExpression.js
##/Users/phil/Code/complexityReport.js/src/syntax/Literal.js
* Maintainability index: 154.55182726218618
* Maintainability index: 141.08130561946314
* Aggregate cyclomatic complexity: 2
* Function: **get**
* Line No.: 9
* Physical SLOC: 8
* Line No.: 10
* Physical SLOC: 13
* Logical SLOC: 1
* Cyclomatic complexity: 1
* Halstead difficulty: 2.8125
* Halstead volume: 51.80615605397529
* Halstead effort: 145.70481390180552
* Halstead difficulty: 2.4
* Halstead volume: 31.699250014423125
* Halstead effort: 76.07820003461549
* Function: **&lt;anonymous>**
* Line No.: 11
* Physical SLOC: 3
* Logical SLOC: 1
* Line No.: 13
* Physical SLOC: 8
* Logical SLOC: 3
* Cyclomatic complexity: 2
* Halstead difficulty: 2.3333333333333335
* Halstead volume: 39.863137138648355
* Halstead effort: 93.01398665684617
* Halstead difficulty: 5.5
* Halstead volume: 69.76048999263462
* Halstead effort: 383.6826949594904

@@ -1353,3 +1232,2 @@ ##/Users/phil/Code/complexityReport.js/src/syntax/LogicalExpression.js

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1363,3 +1241,2 @@ * Line No.: 9

* Halstead effort: 185.0219859070546
* Function: **&lt;anonymous>**

@@ -1373,3 +1250,2 @@ * Line No.: 12

* Halstead effort: 143.39850002884623
* Function: **&lt;anonymous>**

@@ -1384,25 +1260,2 @@ * Line No.: 15

##/Users/phil/Code/complexityReport.js/src/syntax/Literal.js
* Maintainability index: 141.08130561946314
* Aggregate cyclomatic complexity: 2
* Function: **get**
* Line No.: 10
* Physical SLOC: 13
* Logical SLOC: 1
* Cyclomatic complexity: 1
* Halstead difficulty: 2.4
* Halstead volume: 31.699250014423125
* Halstead effort: 76.07820003461549
* Function: **&lt;anonymous>**
* Line No.: 13
* Physical SLOC: 8
* Logical SLOC: 3
* Cyclomatic complexity: 2
* Halstead difficulty: 5.5
* Halstead volume: 69.76048999263462
* Halstead effort: 383.6826949594904
##/Users/phil/Code/complexityReport.js/src/syntax/MemberExpression.js

@@ -1412,3 +1265,2 @@

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1422,3 +1274,2 @@ * Line No.: 9

* Halstead effort: 145.70481390180552
* Function: **&lt;anonymous>**

@@ -1433,2 +1284,23 @@ * Line No.: 11

##/Users/phil/Code/complexityReport.js/src/syntax/NewExpression.js
* Maintainability index: 154.55182726218618
* Aggregate cyclomatic complexity: 2
* Function: **get**
* Line No.: 9
* Physical SLOC: 8
* Logical SLOC: 1
* Cyclomatic complexity: 1
* Halstead difficulty: 2.8125
* Halstead volume: 51.80615605397529
* Halstead effort: 145.70481390180552
* Function: **&lt;anonymous>**
* Line No.: 11
* Physical SLOC: 3
* Logical SLOC: 1
* Cyclomatic complexity: 2
* Halstead difficulty: 2.3333333333333335
* Halstead volume: 39.863137138648355
* Halstead effort: 93.01398665684617
##/Users/phil/Code/complexityReport.js/src/syntax/ObjectExpression.js

@@ -1438,3 +1310,2 @@

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1453,3 +1324,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1463,3 +1333,2 @@ * Line No.: 10

* Halstead effort: 158.6397884190668
* Function: **&lt;anonymous>**

@@ -1478,3 +1347,2 @@ * Line No.: 13

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1493,3 +1361,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1508,3 +1375,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 3
* Function: **get**

@@ -1518,3 +1384,2 @@ * Line No.: 9

* Halstead effort: 185.0219859070546
* Function: **&lt;anonymous>**

@@ -1528,3 +1393,2 @@ * Line No.: 12

* Halstead effort: 93.01398665684617
* Function: **&lt;anonymous>**

@@ -1543,3 +1407,2 @@ * Line No.: 15

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1558,3 +1421,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1573,3 +1435,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1588,3 +1449,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 3
* Function: **actualiseTraits**

@@ -1598,3 +1458,2 @@ * Line No.: 11

* Halstead effort: 1111.2789599649361
* Function: **safeArray**

@@ -1613,3 +1472,2 @@ * Line No.: 23

* Aggregate cyclomatic complexity: 2
* Function: **actualiseOperands**

@@ -1628,3 +1486,2 @@ * Line No.: 7

* Aggregate cyclomatic complexity: 3
* Function: **actualiseOperators**

@@ -1643,3 +1500,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1658,3 +1514,2 @@ * Line No.: 9

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1668,3 +1523,2 @@ * Line No.: 9

* Halstead effort: 149.90870347428287
* Function: **&lt;anonymous>**

@@ -1683,3 +1537,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1693,3 +1546,2 @@ * Line No.: 9

* Halstead effort: 149.90870347428287
* Function: **&lt;anonymous>**

@@ -1708,3 +1560,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1718,3 +1569,2 @@ * Line No.: 9

* Halstead effort: 149.90870347428287
* Function: **&lt;anonymous>**

@@ -1733,3 +1583,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1743,3 +1592,2 @@ * Line No.: 10

* Halstead effort: 427.22777060231687
* Function: **filter**

@@ -1753,3 +1601,2 @@ * Line No.: 15

* Halstead effort: 36.57036749447595
* Function: **&lt;anonymous>**

@@ -1768,3 +1615,2 @@ * Line No.: 20

* Aggregate cyclomatic complexity: 2
* Function: **get**

@@ -1778,3 +1624,2 @@ * Line No.: 9

* Halstead effort: 145.70481390180552
* Function: **&lt;anonymous>**

@@ -1793,3 +1638,2 @@ * Line No.: 12

* Aggregate cyclomatic complexity: 1
* Function: **get**

@@ -1796,0 +1640,0 @@ * Line No.: 9

@@ -32,3 +32,3 @@ /*globals exports */

for (i = 0; i < report.length; i += 1) {
formatted += '\n\n' + formatFunction(report[i]);
formatted += '\n' + formatFunction(report[i]);
}

@@ -35,0 +35,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc