From 7ee3eb5f859a50f48e505100ebe9d5fd6682590b Mon Sep 17 00:00:00 2001 From: Brian Wilke Date: Mon, 23 Feb 2015 19:45:27 -0700 Subject: [PATCH] 0.0.3 release with support for sets, sorted sets, and hashes. --- README.md | 10 +- package.json | 2 +- plato/files/redis_mock_js/index.html | 258 +++++++++++++++++- plato/files/redis_mock_js/report.history.js | 2 +- plato/files/redis_mock_js/report.history.json | 2 +- plato/files/redis_mock_js/report.js | 2 +- plato/files/redis_mock_js/report.json | 2 +- plato/index.html | 10 +- plato/report.history.js | 2 +- plato/report.history.json | 2 +- plato/report.js | 2 +- plato/report.json | 2 +- redis-mock.js | 119 +++++++- test/mocha/redismockSortedSetTest.js | 212 ++++++++++++++ 14 files changed, 595 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 423bdaa..9860be0 100644 --- a/README.md +++ b/README.md @@ -13,15 +13,22 @@ javascript. - Mocha tests for all supported commands. - Browser testing and compatibility determination. * 1.0.0 + - Support for different versions of mock redis that mimic different + redis versions. - Support for multiple mock redis instances. - Support for migrating data between mock redis instances. + - Support for persisting a mock redis instance. * 2.0.0 - Support for migrating data from a mock redis instance to a real redis instance. - - ? + - HyperLogLog support. ## Versions +* 0.0.3 + - Set, sorted set, and hash support. + - Unit tests for implemented list, set, and sorted set commands. + - Bug squashes. * 0.0.2 - Transaction support that works. - Bug squashes. @@ -30,3 +37,4 @@ javascript. - DEPRECATED - Initial implementation. - Numerous bugs. + - Incomplete commands. diff --git a/package.json b/package.json index b835270..ce7a3a5 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "url": "git://github.com/wilkenstein/redis-mock-js.git" }, "main": "redis-mock.js", - "version": "0.0.2", + "version": "0.0.3", "devDependencies": { "docco": "*", "chance": "0.6.1", diff --git a/plato/files/redis_mock_js/index.html b/plato/files/redis_mock_js/index.html index c74bdab..8ab47d0 100644 --- a/plato/files/redis_mock_js/index.html +++ b/plato/files/redis_mock_js/index.html @@ -45,11 +45,11 @@

redis-mock.js

Maintainability

-

72.09

+

72.14

Lines of code

-

839

+

1075

@@ -63,11 +63,11 @@

Lines of code

Difficulty

-

180.11

+

196.70

Estimated Errors

-

9.99

+

13.05

@@ -148,8 +148,11 @@

By SLOC By SLOC By SLOC By SLOC ","line":4,"complexity":{"sloc":{"physical":839,"logical":78},"cyclomatic":5,"halstead":{"operators":{"distinct":15,"total":231,"identifiers":["__stripped__"]},"operands":{"distinct":87,"total":228,"identifiers":["__stripped__"]},"length":459,"vocabulary":102,"difficulty":19.655172413793103,"volume":3062.643231964916,"effort":60196.78076620697,"bugs":1.0208810773216388,"time":3344.2655981226094},"params":0}},{"name":"setImmediate","line":28,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":1,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":5,"vocabulary":4,"difficulty":0.6666666666666666,"volume":10,"effort":6.666666666666666,"bugs":0.0033333333333333335,"time":0.37037037037037035},"params":1}},{"name":"cb","line":44,"complexity":{"sloc":{"physical":14,"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},"params":2}},{"name":"","line":45,"complexity":{"sloc":{"physical":12,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":20,"difficulty":8.555555555555555,"volume":125.33591475173351,"effort":1072.3183817648312,"bugs":0.041778638250577836,"time":59.57324343137951},"params":0}},{"name":"","line":48,"complexity":{"sloc":{"physical":3,"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},"params":0}},{"name":"gather","line":59,"complexity":{"sloc":{"physical":22,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":10,"vocabulary":9,"difficulty":3.125,"volume":31.699250014423125,"effort":99.06015629507226,"bugs":0.010566416671474375,"time":5.503342016392903},"params":1}},{"name":"","line":61,"complexity":{"sloc":{"physical":19,"logical":14},"cyclomatic":5,"halstead":{"operators":{"distinct":17,"total":32,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":36,"identifiers":["__stripped__"]},"length":68,"vocabulary":29,"difficulty":25.5,"volume":330.34270766867496,"effort":8423.739045551212,"bugs":0.11011423588955832,"time":467.9855025306229},"params":0}},{"name":"wrongType","line":82,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":7,"difficulty":1.875,"volume":25.26619429851844,"effort":47.374114309722074,"bugs":0.008422064766172813,"time":2.6318952394290043},"params":1}},{"name":"redismock.ifType","line":86,"complexity":{"sloc":{"physical":37,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":4.199999999999999,"volume":104,"effort":436.79999999999995,"bugs":0.034666666666666665,"time":24.266666666666666},"params":3}},{"name":"thenex","line":89,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"thennx","line":93,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"then","line":97,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"end","line":101,"complexity":{"sloc":{"physical":20,"logical":12},"cyclomatic":6,"halstead":{"operators":{"distinct":10,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":35,"identifiers":["__stripped__"]},"length":71,"vocabulary":23,"difficulty":13.461538461538463,"volume":321.1728988800479,"effort":4323.481331077569,"bugs":0.10705763296001597,"time":240.19340728208715},"params":0}},{"name":"redismock.set","line":124,"complexity":{"sloc":{"physical":37,"logical":19},"cyclomatic":7,"halstead":{"operators":{"distinct":10,"total":51,"identifiers":["__stripped__"]},"operands":{"distinct":27,"total":61,"identifiers":["__stripped__"]},"length":112,"vocabulary":37,"difficulty":11.296296296296296,"volume":583.4587769504424,"effort":6590.923221106848,"bugs":0.1944862589834808,"time":366.1624011726027},"params":3}},{"name":"","line":128,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":24,"identifiers":["__stripped__"]},"length":45,"vocabulary":20,"difficulty":5.142857142857142,"volume":194.4867642699313,"effort":1000.2176448167895,"bugs":0.06482892142331044,"time":55.56764693426609},"params":2}},{"name":"redismock.get","line":162,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":13,"difficulty":4.6875,"volume":96.21143267166839,"effort":450.9910906484456,"bugs":0.032070477557222796,"time":25.05506059158031},"params":2}},{"name":"redismock.getset","line":169,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":4.166666666666667,"volume":91.37651812938249,"effort":380.7354922057604,"bugs":0.03045883937646083,"time":21.15197178920891},"params":3}},{"name":"redismock.expire","line":175,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":9,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":3,"volume":43.18506523353572,"effort":129.55519570060716,"bugs":0.014395021744511906,"time":7.197510872255953},"params":3}},{"name":"redismock.pexpire","line":179,"complexity":{"sloc":{"physical":23,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":17,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":24,"identifiers":["__stripped__"]},"length":41,"vocabulary":20,"difficulty":6.461538461538462,"volume":177.19905189038187,"effort":1144.9784891378522,"bugs":0.05906635063012729,"time":63.60991606321401},"params":3}},{"name":"","line":184,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":5,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":22,"identifiers":["__stripped__"]},"length":47,"vocabulary":10,"difficulty":11,"volume":156.13062045970605,"effort":1717.4368250567666,"bugs":0.05204354015323535,"time":95.41315694759814},"params":0}},{"name":"redismock.psetex","line":203,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setex","line":209,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setnx","line":215,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":30,"vocabulary":15,"difficulty":4.5,"volume":117.20671786825557,"effort":527.43023040715,"bugs":0.03906890595608519,"time":29.30167946706389},"params":3}},{"name":"redismock.strlen","line":223,"complexity":{"sloc":{"physical":10,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":37,"vocabulary":19,"difficulty":4.384615384615384,"volume":157.17331799741265,"effort":689.1445481425015,"bugs":0.05239110599913755,"time":38.285808230138976},"params":2}},{"name":"","line":230,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":229,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.exists","line":234,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":32,"vocabulary":16,"difficulty":5.4,"volume":128,"effort":691.2,"bugs":0.042666666666666665,"time":38.400000000000006},"params":2}},{"name":"redismock.del","line":238,"complexity":{"sloc":{"physical":24,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":24,"identifiers":["__stripped__"]},"length":43,"vocabulary":22,"difficulty":4.5,"volume":191.75555960140377,"effort":862.900018206317,"bugs":0.0639185198671346,"time":47.938889900350944},"params":2}},{"name":"","line":243,"complexity":{"sloc":{"physical":17,"logical":13},"cyclomatic":6,"halstead":{"operators":{"distinct":7,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":28,"identifiers":["__stripped__"]},"length":57,"vocabulary":16,"difficulty":10.88888888888889,"volume":228,"effort":2482.666666666667,"bugs":0.076,"time":137.92592592592595},"params":1}},{"name":"redismock.lpush","line":263,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":269,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":268,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.lpushx","line":276,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":283,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":279,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.rpush","line":287,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":293,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":292,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.rpushx","line":300,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":307,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":303,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.lpop","line":311,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":315,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":314,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.rpop","line":319,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":323,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":322,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.lindex","line":327,"complexity":{"sloc":{"physical":15,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":18,"difficulty":3.75,"volume":116.75790004038474,"effort":437.84212515144276,"bugs":0.03891930001346158,"time":24.324562508413486},"params":3}},{"name":"","line":339,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":331,"complexity":{"sloc":{"physical":8,"logical":5},"cyclomatic":3,"halstead":{"operators":{"distinct":8,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":24,"identifiers":["__stripped__"]},"length":47,"vocabulary":15,"difficulty":13.714285714285714,"volume":183.62385799360038,"effort":2518.2700524836623,"bugs":0.06120795266453346,"time":139.9038918046479},"params":0}},{"name":"redismock.ltrim","line":343,"complexity":{"sloc":{"physical":32,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":2.8,"volume":95.18387305144009,"effort":266.51484454403226,"bugs":0.03172795768381336,"time":14.806380252446237},"params":4}},{"name":"","line":367,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":24,"vocabulary":16,"difficulty":4.666666666666666,"volume":96,"effort":447.99999999999994,"bugs":0.032,"time":24.888888888888886},"params":0}},{"name":"","line":346,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":6,"halstead":{"operators":{"distinct":13,"total":44,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":52,"identifiers":["__stripped__"]},"length":96,"vocabulary":24,"difficulty":30.72727272727273,"volume":440.15640006923104,"effort":13524.805747581828,"bugs":0.14671880002307702,"time":751.3780970878793},"params":0}},{"name":"redismock.lrange","line":376,"complexity":{"sloc":{"physical":28,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":4}},{"name":"","line":401,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":380,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":5,"halstead":{"operators":{"distinct":13,"total":45,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":53,"identifiers":["__stripped__"]},"length":98,"vocabulary":25,"difficulty":28.708333333333336,"volume":455.097906597923,"effort":13065.102401915374,"bugs":0.15169930219930766,"time":725.8390223286319},"params":0}},{"name":"redismock.linsert","line":405,"complexity":{"sloc":{"physical":19,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":2.5,"volume":104,"effort":260,"bugs":0.034666666666666665,"time":14.444444444444445},"params":5}},{"name":"","line":421,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":408,"complexity":{"sloc":{"physical":13,"logical":9},"cyclomatic":4,"halstead":{"operators":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":34,"identifiers":["__stripped__"]},"length":63,"vocabulary":27,"difficulty":11.6875,"volume":299.55791263629857,"effort":3501.0831039367395,"bugs":0.09985263754543286,"time":194.50461688537442},"params":0}},{"name":"redismock.llen","line":425,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":429,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":428,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.rpoplpush","line":433,"complexity":{"sloc":{"physical":14,"logical":10},"cyclomatic":4,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"length":50,"vocabulary":18,"difficulty":9.227272727272727,"volume":208.4962500721156,"effort":1923.8517620290665,"bugs":0.06949875002403853,"time":106.88065344605926},"params":3}},{"name":"redismock.lrem","line":448,"complexity":{"sloc":{"physical":24,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":16,"identifiers":["__stripped__"]},"length":29,"vocabulary":19,"difficulty":3.6923076923076925,"volume":123.18989788986397,"effort":454.85500759334394,"bugs":0.04106329929662132,"time":25.269722644074662},"params":4}},{"name":"","line":469,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":452,"complexity":{"sloc":{"physical":17,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":25,"identifiers":["__stripped__"]},"length":50,"vocabulary":26,"difficulty":14.583333333333334,"volume":235.02198590705464,"effort":3427.403961144547,"bugs":0.07834066196901822,"time":190.41133117469704},"params":0}},{"name":"redismock.lset","line":473,"complexity":{"sloc":{"physical":13,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":15,"difficulty":2.5454545454545454,"volume":97.67226489021297,"effort":248.62031062963302,"bugs":0.03255742163007099,"time":13.812239479424058},"params":4}},{"name":"","line":483,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":476,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":0}},{"name":"redismock.sadd","line":487,"complexity":{"sloc":{"physical":18,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":494,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":12,"difficulty":2,"volume":53.77443751081735,"effort":107.5488750216347,"bugs":0.017924812503605784,"time":5.974937501201928},"params":0}},{"name":"","line":495,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":7,"volume":106.6059378176129,"effort":746.2415647232903,"bugs":0.035535312605870964,"time":41.457864706849456},"params":1}},{"name":"","line":493,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.scard","line":506,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":510,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":509,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":17,"vocabulary":12,"difficulty":1.5,"volume":60.94436251225966,"effort":91.41654376838949,"bugs":0.020314787504086555,"time":5.078696876021638},"params":0}},{"name":"redismock.sismember","line":514,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":518,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":517,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.smembers","line":522,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":526,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":525,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":11,"difficulty":1.5,"volume":51.89147427955947,"effort":77.8372114193392,"bugs":0.01729715809318649,"time":4.324289523296622},"params":0}},{"name":"redismock.spop","line":530,"complexity":{"sloc":{"physical":12,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":26,"identifiers":["__stripped__"]},"length":47,"vocabulary":17,"difficulty":9.1,"volume":192.11075353876598,"effort":1748.2078572027704,"bugs":0.06403691784625533,"time":97.12265873348724},"params":2}},{"name":"redismock.srandmember","line":543,"complexity":{"sloc":{"physical":25,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":20,"difficulty":6.333333333333333,"volume":151.26748332105768,"effort":958.0273943666986,"bugs":0.05042249444035256,"time":53.22374413148325},"params":3}},{"name":"","line":565,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":550,"complexity":{"sloc":{"physical":15,"logical":11},"cyclomatic":4,"halstead":{"operators":{"distinct":13,"total":49,"identifiers":["__stripped__"]},"operands":{"distinct":21,"total":54,"identifiers":["__stripped__"]},"length":103,"vocabulary":34,"difficulty":16.714285714285715,"volume":524.008672648785,"effort":8758.430671415408,"bugs":0.174669557549595,"time":486.5794817453004},"params":0}},{"name":"redismock.srem","line":569,"complexity":{"sloc":{"physical":21,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":587,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":575,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":3.9000000000000004,"volume":108,"effort":421.20000000000005,"bugs":0.036,"time":23.400000000000002},"params":0}},{"name":"","line":576,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":14,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":7,"volume":108,"effort":756,"bugs":0.036,"time":42},"params":1}},{"name":"redismock.smove","line":591,"complexity":{"sloc":{"physical":12,"logical":9},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":30,"identifiers":["__stripped__"]},"length":50,"vocabulary":19,"difficulty":8.75,"volume":212.39637567217926,"effort":1858.4682871315686,"bugs":0.07079879189072642,"time":103.24823817397603},"params":4}},{"name":"redismock.zadd","line":604,"complexity":{"sloc":{"physical":30,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":24,"identifiers":["__stripped__"]},"length":43,"vocabulary":22,"difficulty":4.5,"volume":191.75555960140377,"effort":862.900018206317,"bugs":0.0639185198671346,"time":47.938889900350944},"params":4}},{"name":"","line":610,"complexity":{"sloc":{"physical":22,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":12,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":2.4,"volume":95.18387305144009,"effort":228.44129532345622,"bugs":0.03172795768381336,"time":12.691183073525345},"params":0}},{"name":"","line":622,"complexity":{"sloc":{"physical":8,"logical":5},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":22,"identifiers":["__stripped__"]},"length":43,"vocabulary":18,"difficulty":8.8,"volume":179.30677506201943,"effort":1577.899620545771,"bugs":0.059768925020673144,"time":87.66109003032062},"params":1}},{"name":"","line":619,"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},"params":1}},{"name":"","line":613,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":16,"difficulty":5.444444444444445,"volume":100,"effort":544.4444444444445,"bugs":0.03333333333333333,"time":30.246913580246915},"params":2}},{"name":"","line":609,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.hdel","line":638,"complexity":{"sloc":{"physical":17,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":652,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":644,"complexity":{"sloc":{"physical":8,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":645,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":11,"identifiers":["__stripped__"]},"length":20,"vocabulary":11,"difficulty":4.583333333333333,"volume":69.18863237274596,"effort":317.11456504175226,"bugs":0.023062877457581985,"time":17.617475835652904},"params":1}},{"name":"redismock.hexists","line":656,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":660,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":659,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.hget","line":664,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":668,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":667,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":1.5,"volume":43.18506523353572,"effort":64.77759785030358,"bugs":0.014395021744511906,"time":3.5987554361279765},"params":0}},{"name":"redismock.subscribe","line":672,"complexity":{"sloc":{"physical":20,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":27,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":32,"identifiers":["__stripped__"]},"length":59,"vocabulary":27,"difficulty":17.230769230769234,"volume":280.5383626276447,"effort":4833.891786814802,"bugs":0.09351278754254823,"time":268.54954371193344},"params":2}},{"name":"","line":685,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":10,"identifiers":["__stripped__"]},"length":19,"vocabulary":12,"difficulty":7,"volume":68.11428751370197,"effort":476.80001259591376,"bugs":0.022704762504567322,"time":26.488889588661877},"params":1}},{"name":"redismock.unsubscribe","line":693,"complexity":{"sloc":{"physical":19,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":28,"identifiers":["__stripped__"]},"length":53,"vocabulary":26,"difficulty":16.333333333333336,"volume":249.1233050614779,"effort":4069.0139826708064,"bugs":0.08304110168715931,"time":226.05633237060036},"params":1}},{"name":"","line":705,"complexity":{"sloc":{"physical":5,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":6,"difficulty":5,"volume":23.264662506490403,"effort":116.32331253245201,"bugs":0.007754887502163467,"time":6.462406251802889},"params":1}},{"name":"redismock.publish","line":713,"complexity":{"sloc":{"physical":7,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":10,"difficulty":4,"volume":46.50699332842308,"effort":186.0279733136923,"bugs":0.01550233110947436,"time":10.33488740631624},"params":2}},{"name":"","line":715,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":2,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":0.625,"volume":16.253496664211536,"effort":10.15843541513221,"bugs":0.005417832221403845,"time":0.5643575230629005},"params":1}},{"name":"redismock.watch","line":721,"complexity":{"sloc":{"physical":4,"logical":2},"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},"params":1}},{"name":"redismock.multi","line":726,"complexity":{"sloc":{"physical":41,"logical":8},"cyclomatic":1,"halstead":{"operators":{"distinct":8,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"length":38,"vocabulary":19,"difficulty":6.545454545454546,"volume":161.42124551085624,"effort":1056.5754251619683,"bugs":0.05380708183695208,"time":58.69863473122046},"params":0}},{"name":"","line":731,"complexity":{"sloc":{"physical":18,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":2,"volume":18.094737505048094,"effort":36.18947501009619,"bugs":0.006031579168349364,"time":2.0105263894497885},"params":1}},{"name":"rc.key","line":732,"complexity":{"sloc":{"physical":16,"logical":6},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":21,"difficulty":5.846153846153846,"volume":153.73110979725664,"effort":898.7357188147311,"bugs":0.05124370326575221,"time":49.92976215637395},"params":0}},{"name":"","line":737,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":4,"volume":43.18506523353572,"effort":172.74026093414287,"bugs":0.014395021744511906,"time":9.596681163007936},"params":2}},{"name":"rc.exec","line":749,"complexity":{"sloc":{"physical":16,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":4.166666666666667,"volume":106.6059378176129,"effort":444.1914075733871,"bugs":0.035535312605870964,"time":24.677300420743727},"params":1}},{"name":"","line":750,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":13,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":6.5,"volume":95.18387305144009,"effort":618.6951748343606,"bugs":0.03172795768381336,"time":34.37195415746448},"params":1}},{"name":"","line":760,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":6,"difficulty":2,"volume":33.60451250937503,"effort":67.20902501875005,"bugs":0.011201504169791677,"time":3.7338347232638918},"params":1}},{"name":"redismock.type","line":768,"complexity":{"sloc":{"physical":23,"logical":17},"cyclomatic":8,"halstead":{"operators":{"distinct":11,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":19,"total":40,"identifiers":["__stripped__"]},"length":76,"vocabulary":30,"difficulty":11.578947368421051,"volume":372.92368526624745,"effort":4318.063724135496,"bugs":0.12430789508874915,"time":239.8924291186387},"params":2}},{"name":"redismock.info","line":792,"complexity":{"sloc":{"physical":4,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":1.25,"volume":20.67970000576925,"effort":25.84962500721156,"bugs":0.006893233335256416,"time":1.43609027817842},"params":1}},{"name":"redismock.dump","line":797,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":4.375,"volume":38.03910001730775,"effort":166.4210625757214,"bugs":0.012679700005769252,"time":9.245614587540079},"params":1}},{"name":"redismock.warnings","line":804,"complexity":{"sloc":{"physical":20,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":18,"identifiers":["__stripped__"]},"length":36,"vocabulary":20,"difficulty":11,"volume":155.58941141594505,"effort":1711.4835255753956,"bugs":0.05186313713864835,"time":95.08241808752197},"params":1}},{"name":"","line":814,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.mod","line":816,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":9,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":25,"identifiers":["__stripped__"]},"length":48,"vocabulary":24,"difficulty":7.5,"volume":220.07820003461552,"effort":1650.5865002596165,"bugs":0.07335940001153851,"time":91.69925001442314},"params":0}},{"name":"","line":832,"complexity":{"sloc":{"physical":10,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.modifier","line":834,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":12,"identifiers":["__stripped__"]},"length":22,"vocabulary":15,"difficulty":5.25,"volume":85.95159310338741,"effort":451.2458637927839,"bugs":0.02865053103446247,"time":25.06921465515466},"params":0}}],"maintainability":72.09247379589301,"params":1.193798449612403,"module":"redis-mock.js"},"jshint":{"messages":[]}} \ No newline at end of file +__report = {"info":{"file":"redis-mock.js","fileShort":"redis-mock.js","fileSafe":"redis_mock_js","link":"files/redis_mock_js/index.html"},"complexity":{"aggregate":{"line":4,"complexity":{"sloc":{"physical":1075,"logical":663},"cyclomatic":142,"halstead":{"operators":{"distinct":37,"total":2246,"identifiers":["__stripped__"]},"operands":{"distinct":242,"total":2573,"identifiers":["__stripped__"]},"length":4819,"vocabulary":279,"difficulty":196.69628099173553,"volume":39150.14060170485,"effort":7700687.056658891,"bugs":13.05004686723495,"time":427815.9475921606},"params":194}},"functions":[{"name":"","line":4,"complexity":{"sloc":{"physical":1075,"logical":84},"cyclomatic":5,"halstead":{"operators":{"distinct":15,"total":249,"identifiers":["__stripped__"]},"operands":{"distinct":93,"total":246,"identifiers":["__stripped__"]},"length":495,"vocabulary":108,"difficulty":19.838709677419352,"volume":3343.6693135709174,"effort":66334.08476922948,"bugs":1.1145564378569726,"time":3685.22693162386},"params":0}},{"name":"setImmediate","line":28,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":1,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":5,"vocabulary":4,"difficulty":0.6666666666666666,"volume":10,"effort":6.666666666666666,"bugs":0.0033333333333333335,"time":0.37037037037037035},"params":1}},{"name":"cb","line":44,"complexity":{"sloc":{"physical":14,"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},"params":2}},{"name":"","line":45,"complexity":{"sloc":{"physical":12,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":20,"difficulty":8.555555555555555,"volume":125.33591475173351,"effort":1072.3183817648312,"bugs":0.041778638250577836,"time":59.57324343137951},"params":0}},{"name":"","line":48,"complexity":{"sloc":{"physical":3,"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},"params":0}},{"name":"gather","line":59,"complexity":{"sloc":{"physical":25,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":11,"difficulty":5.4,"volume":55.350905898196764,"effort":298.8948918502625,"bugs":0.018450301966065587,"time":16.60527176945903},"params":2}},{"name":"","line":64,"complexity":{"sloc":{"physical":19,"logical":14},"cyclomatic":5,"halstead":{"operators":{"distinct":19,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":40,"identifiers":["__stripped__"]},"length":76,"vocabulary":33,"difficulty":27.142857142857142,"volume":383.37395307124245,"effort":10405.864440505153,"bugs":0.12779131769041416,"time":578.103580028064},"params":0}},{"name":"wrongType","line":85,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":7,"difficulty":1.875,"volume":25.26619429851844,"effort":47.374114309722074,"bugs":0.008422064766172813,"time":2.6318952394290043},"params":1}},{"name":"redismock.ifType","line":89,"complexity":{"sloc":{"physical":37,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":4.199999999999999,"volume":104,"effort":436.79999999999995,"bugs":0.034666666666666665,"time":24.266666666666666},"params":3}},{"name":"thenex","line":92,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"thennx","line":96,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"then","line":100,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"end","line":104,"complexity":{"sloc":{"physical":20,"logical":12},"cyclomatic":6,"halstead":{"operators":{"distinct":10,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":35,"identifiers":["__stripped__"]},"length":71,"vocabulary":23,"difficulty":13.461538461538463,"volume":321.1728988800479,"effort":4323.481331077569,"bugs":0.10705763296001597,"time":240.19340728208715},"params":0}},{"name":"redismock.set","line":127,"complexity":{"sloc":{"physical":37,"logical":19},"cyclomatic":7,"halstead":{"operators":{"distinct":10,"total":51,"identifiers":["__stripped__"]},"operands":{"distinct":27,"total":61,"identifiers":["__stripped__"]},"length":112,"vocabulary":37,"difficulty":11.296296296296296,"volume":583.4587769504424,"effort":6590.923221106848,"bugs":0.1944862589834808,"time":366.1624011726027},"params":3}},{"name":"","line":131,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":24,"identifiers":["__stripped__"]},"length":45,"vocabulary":20,"difficulty":5.142857142857142,"volume":194.4867642699313,"effort":1000.2176448167895,"bugs":0.06482892142331044,"time":55.56764693426609},"params":2}},{"name":"redismock.get","line":165,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":13,"difficulty":4.6875,"volume":96.21143267166839,"effort":450.9910906484456,"bugs":0.032070477557222796,"time":25.05506059158031},"params":2}},{"name":"redismock.getset","line":172,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":4.166666666666667,"volume":91.37651812938249,"effort":380.7354922057604,"bugs":0.03045883937646083,"time":21.15197178920891},"params":3}},{"name":"redismock.expire","line":178,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":9,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":3,"volume":43.18506523353572,"effort":129.55519570060716,"bugs":0.014395021744511906,"time":7.197510872255953},"params":3}},{"name":"redismock.pexpire","line":182,"complexity":{"sloc":{"physical":23,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":17,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":24,"identifiers":["__stripped__"]},"length":41,"vocabulary":20,"difficulty":6.461538461538462,"volume":177.19905189038187,"effort":1144.9784891378522,"bugs":0.05906635063012729,"time":63.60991606321401},"params":3}},{"name":"","line":187,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":5,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":22,"identifiers":["__stripped__"]},"length":47,"vocabulary":10,"difficulty":11,"volume":156.13062045970605,"effort":1717.4368250567666,"bugs":0.05204354015323535,"time":95.41315694759814},"params":0}},{"name":"redismock.psetex","line":206,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setex","line":212,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setnx","line":218,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":30,"vocabulary":15,"difficulty":4.5,"volume":117.20671786825557,"effort":527.43023040715,"bugs":0.03906890595608519,"time":29.30167946706389},"params":3}},{"name":"redismock.strlen","line":226,"complexity":{"sloc":{"physical":10,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":37,"vocabulary":19,"difficulty":4.384615384615384,"volume":157.17331799741265,"effort":689.1445481425015,"bugs":0.05239110599913755,"time":38.285808230138976},"params":2}},{"name":"","line":233,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":232,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.exists","line":237,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":32,"vocabulary":16,"difficulty":5.4,"volume":128,"effort":691.2,"bugs":0.042666666666666665,"time":38.400000000000006},"params":2}},{"name":"redismock.del","line":241,"complexity":{"sloc":{"physical":24,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":24,"identifiers":["__stripped__"]},"length":43,"vocabulary":22,"difficulty":4.5,"volume":191.75555960140377,"effort":862.900018206317,"bugs":0.0639185198671346,"time":47.938889900350944},"params":2}},{"name":"","line":246,"complexity":{"sloc":{"physical":17,"logical":13},"cyclomatic":6,"halstead":{"operators":{"distinct":7,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":28,"identifiers":["__stripped__"]},"length":57,"vocabulary":16,"difficulty":10.88888888888889,"volume":228,"effort":2482.666666666667,"bugs":0.076,"time":137.92592592592595},"params":1}},{"name":"redismock.lpush","line":266,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":272,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":271,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.lpushx","line":279,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":286,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":282,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.rpush","line":290,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":296,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":295,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.rpushx","line":303,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":310,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":306,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.lpop","line":314,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":318,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":317,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.rpop","line":322,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":326,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":325,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.lindex","line":330,"complexity":{"sloc":{"physical":15,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":18,"difficulty":3.75,"volume":116.75790004038474,"effort":437.84212515144276,"bugs":0.03891930001346158,"time":24.324562508413486},"params":3}},{"name":"","line":342,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":334,"complexity":{"sloc":{"physical":8,"logical":5},"cyclomatic":3,"halstead":{"operators":{"distinct":8,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":24,"identifiers":["__stripped__"]},"length":47,"vocabulary":15,"difficulty":13.714285714285714,"volume":183.62385799360038,"effort":2518.2700524836623,"bugs":0.06120795266453346,"time":139.9038918046479},"params":0}},{"name":"redismock.ltrim","line":346,"complexity":{"sloc":{"physical":32,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":2.8,"volume":95.18387305144009,"effort":266.51484454403226,"bugs":0.03172795768381336,"time":14.806380252446237},"params":4}},{"name":"","line":370,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":24,"vocabulary":16,"difficulty":4.666666666666666,"volume":96,"effort":447.99999999999994,"bugs":0.032,"time":24.888888888888886},"params":0}},{"name":"","line":349,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":6,"halstead":{"operators":{"distinct":13,"total":44,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":52,"identifiers":["__stripped__"]},"length":96,"vocabulary":24,"difficulty":30.72727272727273,"volume":440.15640006923104,"effort":13524.805747581828,"bugs":0.14671880002307702,"time":751.3780970878793},"params":0}},{"name":"redismock.lrange","line":379,"complexity":{"sloc":{"physical":28,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":4}},{"name":"","line":404,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":383,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":5,"halstead":{"operators":{"distinct":13,"total":45,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":53,"identifiers":["__stripped__"]},"length":98,"vocabulary":25,"difficulty":28.708333333333336,"volume":455.097906597923,"effort":13065.102401915374,"bugs":0.15169930219930766,"time":725.8390223286319},"params":0}},{"name":"redismock.linsert","line":408,"complexity":{"sloc":{"physical":19,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":2.5,"volume":104,"effort":260,"bugs":0.034666666666666665,"time":14.444444444444445},"params":5}},{"name":"","line":424,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":411,"complexity":{"sloc":{"physical":13,"logical":9},"cyclomatic":4,"halstead":{"operators":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":34,"identifiers":["__stripped__"]},"length":63,"vocabulary":27,"difficulty":11.6875,"volume":299.55791263629857,"effort":3501.0831039367395,"bugs":0.09985263754543286,"time":194.50461688537442},"params":0}},{"name":"redismock.llen","line":428,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":432,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":431,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.rpoplpush","line":436,"complexity":{"sloc":{"physical":14,"logical":10},"cyclomatic":4,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"length":50,"vocabulary":18,"difficulty":9.227272727272727,"volume":208.4962500721156,"effort":1923.8517620290665,"bugs":0.06949875002403853,"time":106.88065344605926},"params":3}},{"name":"redismock.lrem","line":451,"complexity":{"sloc":{"physical":24,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":16,"identifiers":["__stripped__"]},"length":29,"vocabulary":19,"difficulty":3.6923076923076925,"volume":123.18989788986397,"effort":454.85500759334394,"bugs":0.04106329929662132,"time":25.269722644074662},"params":4}},{"name":"","line":472,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":455,"complexity":{"sloc":{"physical":17,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":25,"identifiers":["__stripped__"]},"length":50,"vocabulary":26,"difficulty":14.583333333333334,"volume":235.02198590705464,"effort":3427.403961144547,"bugs":0.07834066196901822,"time":190.41133117469704},"params":0}},{"name":"redismock.lset","line":476,"complexity":{"sloc":{"physical":13,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":15,"difficulty":2.5454545454545454,"volume":97.67226489021297,"effort":248.62031062963302,"bugs":0.03255742163007099,"time":13.812239479424058},"params":4}},{"name":"","line":486,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":479,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":0}},{"name":"redismock.sadd","line":490,"complexity":{"sloc":{"physical":18,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":497,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":12,"difficulty":2,"volume":53.77443751081735,"effort":107.5488750216347,"bugs":0.017924812503605784,"time":5.974937501201928},"params":0}},{"name":"","line":498,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":7,"volume":106.6059378176129,"effort":746.2415647232903,"bugs":0.035535312605870964,"time":41.457864706849456},"params":1}},{"name":"","line":496,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.scard","line":509,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":513,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":512,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":17,"vocabulary":12,"difficulty":1.5,"volume":60.94436251225966,"effort":91.41654376838949,"bugs":0.020314787504086555,"time":5.078696876021638},"params":0}},{"name":"redismock.sismember","line":517,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":521,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":520,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.smembers","line":525,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":529,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":528,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":11,"difficulty":1.5,"volume":51.89147427955947,"effort":77.8372114193392,"bugs":0.01729715809318649,"time":4.324289523296622},"params":0}},{"name":"redismock.spop","line":533,"complexity":{"sloc":{"physical":12,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":26,"identifiers":["__stripped__"]},"length":47,"vocabulary":17,"difficulty":9.1,"volume":192.11075353876598,"effort":1748.2078572027704,"bugs":0.06403691784625533,"time":97.12265873348724},"params":2}},{"name":"redismock.srandmember","line":546,"complexity":{"sloc":{"physical":25,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":20,"difficulty":6.333333333333333,"volume":151.26748332105768,"effort":958.0273943666986,"bugs":0.05042249444035256,"time":53.22374413148325},"params":3}},{"name":"","line":568,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":553,"complexity":{"sloc":{"physical":15,"logical":11},"cyclomatic":4,"halstead":{"operators":{"distinct":13,"total":49,"identifiers":["__stripped__"]},"operands":{"distinct":21,"total":54,"identifiers":["__stripped__"]},"length":103,"vocabulary":34,"difficulty":16.714285714285715,"volume":524.008672648785,"effort":8758.430671415408,"bugs":0.174669557549595,"time":486.5794817453004},"params":0}},{"name":"redismock.srem","line":572,"complexity":{"sloc":{"physical":21,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":590,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":578,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":3.9000000000000004,"volume":108,"effort":421.20000000000005,"bugs":0.036,"time":23.400000000000002},"params":0}},{"name":"","line":579,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":14,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":7,"volume":108,"effort":756,"bugs":0.036,"time":42},"params":1}},{"name":"redismock.smove","line":594,"complexity":{"sloc":{"physical":12,"logical":9},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":30,"identifiers":["__stripped__"]},"length":50,"vocabulary":19,"difficulty":8.75,"volume":212.39637567217926,"effort":1858.4682871315686,"bugs":0.07079879189072642,"time":103.24823817397603},"params":4}},{"name":"redismock.zadd","line":607,"complexity":{"sloc":{"physical":51,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":44,"vocabulary":23,"difficulty":4.411764705882353,"volume":199.03672606650858,"effort":878.1032032345968,"bugs":0.06634557535550285,"time":48.783511290810935},"params":4}},{"name":"","line":613,"complexity":{"sloc":{"physical":43,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":17,"difficulty":3.8181818181818183,"volume":118.53642239625987,"effort":452.59361278571953,"bugs":0.03951214079875329,"time":25.14408959920664},"params":0}},{"name":"","line":626,"complexity":{"sloc":{"physical":28,"logical":9},"cyclomatic":3,"halstead":{"operators":{"distinct":10,"total":39,"identifiers":["__stripped__"]},"operands":{"distinct":18,"total":38,"identifiers":["__stripped__"]},"length":77,"vocabulary":28,"difficulty":10.555555555555555,"volume":370.16632899843546,"effort":3907.311250539041,"bugs":0.12338877633281183,"time":217.07284725216894},"params":1}},{"name":"","line":641,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":15,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":4.5,"volume":108,"effort":486,"bugs":0.036,"time":27},"params":1}},{"name":"","line":638,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":2,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":4,"volume":20.67970000576925,"effort":82.718800023077,"bugs":0.006893233335256416,"time":4.5954888901709445},"params":1}},{"name":"","line":635,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":12,"difficulty":2.5,"volume":64.52932501298082,"effort":161.32331253245206,"bugs":0.02150977500432694,"time":8.962406251802893},"params":1}},{"name":"","line":623,"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},"params":1}},{"name":"","line":617,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":16,"difficulty":5.444444444444445,"volume":100,"effort":544.4444444444445,"bugs":0.03333333333333333,"time":30.246913580246915},"params":2}},{"name":"","line":612,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.zcard","line":659,"complexity":{"sloc":{"physical":12,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":668,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":662,"complexity":{"sloc":{"physical":6,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":13,"identifiers":["__stripped__"]},"length":25,"vocabulary":18,"difficulty":3.25,"volume":104.2481250360578,"effort":338.80640636718783,"bugs":0.03474937501201927,"time":18.822578131510436},"params":0}},{"name":"","line":663,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":9,"difficulty":2,"volume":44.37895002019238,"effort":88.75790004038475,"bugs":0.014792983340064125,"time":4.930994446688042},"params":2}},{"name":"redismock.zcount","line":672,"complexity":{"sloc":{"physical":20,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":15,"difficulty":2.5454545454545454,"volume":97.67226489021297,"effort":248.62031062963302,"bugs":0.03255742163007099,"time":13.812239479424058},"params":4}},{"name":"","line":689,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":675,"complexity":{"sloc":{"physical":14,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":17,"identifiers":["__stripped__"]},"length":35,"vocabulary":20,"difficulty":3.6428571428571423,"volume":151.26748332105768,"effort":551.0458320981386,"bugs":0.05042249444035256,"time":30.613657338785476},"params":0}},{"name":"","line":684,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":9,"difficulty":2,"volume":44.37895002019238,"effort":88.75790004038475,"bugs":0.014792983340064125,"time":4.930994446688042},"params":2}},{"name":"","line":681,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":6,"difficulty":2.5,"volume":23.264662506490403,"effort":58.161656266226004,"bugs":0.007754887502163467,"time":3.2312031259014447},"params":1}},{"name":"","line":678,"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},"params":1}},{"name":"redismock.zrange","line":693,"complexity":{"sloc":{"physical":43,"logical":9},"cyclomatic":4,"halstead":{"operators":{"distinct":13,"total":33,"identifiers":["__stripped__"]},"operands":{"distinct":20,"total":39,"identifiers":["__stripped__"]},"length":72,"vocabulary":33,"difficulty":12.674999999999999,"volume":363.1963765938086,"effort":4603.514073326524,"bugs":0.12106545886460288,"time":255.75078185147356},"params":4}},{"name":"","line":733,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":707,"complexity":{"sloc":{"physical":26,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":7,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":18,"identifiers":["__stripped__"]},"length":38,"vocabulary":22,"difficulty":4.2,"volume":169.4584015082173,"effort":711.7252863345127,"bugs":0.05648613383607243,"time":39.5402936852507},"params":0}},{"name":"","line":716,"complexity":{"sloc":{"physical":15,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":11,"identifiers":["__stripped__"]},"length":21,"vocabulary":16,"difficulty":3.3000000000000003,"volume":84,"effort":277.20000000000005,"bugs":0.028,"time":15.400000000000002},"params":1}},{"name":"","line":717,"complexity":{"sloc":{"physical":9,"logical":5},"cyclomatic":3,"halstead":{"operators":{"distinct":6,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":24,"vocabulary":15,"difficulty":4.666666666666667,"volume":93.76537429460444,"effort":437.5717467081541,"bugs":0.03125512476486815,"time":24.309541483786337},"params":1}},{"name":"","line":712,"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},"params":1}},{"name":"redismock.zrangebyscore","line":737,"complexity":{"sloc":{"physical":86,"logical":34},"cyclomatic":12,"halstead":{"operators":{"distinct":16,"total":95,"identifiers":["__stripped__"]},"operands":{"distinct":41,"total":108,"identifiers":["__stripped__"]},"length":203,"vocabulary":57,"difficulty":21.073170731707318,"volume":1184.0766728754427,"effort":24952.24988693616,"bugs":0.3946922242918142,"time":1386.2361048297867},"params":4}},{"name":"","line":820,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":780,"complexity":{"sloc":{"physical":40,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":17,"difficulty":2.1538461538461537,"volume":118.53642239625987,"effort":255.3092174688674,"bugs":0.03951214079875329,"time":14.183845414937077},"params":0}},{"name":"","line":787,"complexity":{"sloc":{"physical":31,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":14,"identifiers":["__stripped__"]},"length":28,"vocabulary":21,"difficulty":5.25,"volume":122.9848878378053,"effort":645.6706611484778,"bugs":0.04099496261260177,"time":35.87059228602655},"params":1}},{"name":"","line":788,"complexity":{"sloc":{"physical":25,"logical":15},"cyclomatic":9,"halstead":{"operators":{"distinct":14,"total":40,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":40,"identifiers":["__stripped__"]},"length":80,"vocabulary":30,"difficulty":17.5,"volume":392.5512476486815,"effort":6869.646833851926,"bugs":0.13085041588289384,"time":381.647046325107},"params":1}},{"name":"","line":783,"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},"params":1}},{"name":"redismock.zrank","line":824,"complexity":{"sloc":{"physical":26,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":847,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":827,"complexity":{"sloc":{"physical":20,"logical":5},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":24,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":22,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":5.866666666666666,"volume":208.0838499786226,"effort":1220.7585865412525,"bugs":0.06936128332620753,"time":67.81992147451403},"params":0}},{"name":"","line":835,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":17,"difficulty":4.2,"volume":94.01164534875782,"effort":394.8489104647829,"bugs":0.031337215116252606,"time":21.936050581376826},"params":1}},{"name":"","line":831,"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},"params":1}},{"name":"redismock.zrem","line":851,"complexity":{"sloc":{"physical":22,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":870,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":857,"complexity":{"sloc":{"physical":13,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":858,"complexity":{"sloc":{"physical":11,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":11,"difficulty":1.5,"volume":51.89147427955947,"effort":77.8372114193392,"bugs":0.01729715809318649,"time":4.324289523296622},"params":1}},{"name":"","line":861,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":18,"difficulty":7.6,"volume":145.94737505048093,"effort":1109.200050383655,"bugs":0.04864912501682698,"time":61.622225021314165},"params":1}},{"name":"redismock.hdel","line":874,"complexity":{"sloc":{"physical":17,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":888,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":880,"complexity":{"sloc":{"physical":8,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":881,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":11,"identifiers":["__stripped__"]},"length":20,"vocabulary":11,"difficulty":4.583333333333333,"volume":69.18863237274596,"effort":317.11456504175226,"bugs":0.023062877457581985,"time":17.617475835652904},"params":1}},{"name":"redismock.hexists","line":892,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":896,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":895,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.hget","line":900,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":904,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":903,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":1.5,"volume":43.18506523353572,"effort":64.77759785030358,"bugs":0.014395021744511906,"time":3.5987554361279765},"params":0}},{"name":"redismock.subscribe","line":908,"complexity":{"sloc":{"physical":20,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":27,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":32,"identifiers":["__stripped__"]},"length":59,"vocabulary":27,"difficulty":17.230769230769234,"volume":280.5383626276447,"effort":4833.891786814802,"bugs":0.09351278754254823,"time":268.54954371193344},"params":2}},{"name":"","line":921,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":10,"identifiers":["__stripped__"]},"length":19,"vocabulary":12,"difficulty":7,"volume":68.11428751370197,"effort":476.80001259591376,"bugs":0.022704762504567322,"time":26.488889588661877},"params":1}},{"name":"redismock.unsubscribe","line":929,"complexity":{"sloc":{"physical":19,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":28,"identifiers":["__stripped__"]},"length":53,"vocabulary":26,"difficulty":16.333333333333336,"volume":249.1233050614779,"effort":4069.0139826708064,"bugs":0.08304110168715931,"time":226.05633237060036},"params":1}},{"name":"","line":941,"complexity":{"sloc":{"physical":5,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":6,"difficulty":5,"volume":23.264662506490403,"effort":116.32331253245201,"bugs":0.007754887502163467,"time":6.462406251802889},"params":1}},{"name":"redismock.publish","line":949,"complexity":{"sloc":{"physical":7,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":10,"difficulty":4,"volume":46.50699332842308,"effort":186.0279733136923,"bugs":0.01550233110947436,"time":10.33488740631624},"params":2}},{"name":"","line":951,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":2,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":0.625,"volume":16.253496664211536,"effort":10.15843541513221,"bugs":0.005417832221403845,"time":0.5643575230629005},"params":1}},{"name":"redismock.watch","line":957,"complexity":{"sloc":{"physical":4,"logical":2},"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},"params":1}},{"name":"redismock.multi","line":962,"complexity":{"sloc":{"physical":41,"logical":8},"cyclomatic":1,"halstead":{"operators":{"distinct":8,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"length":38,"vocabulary":19,"difficulty":6.545454545454546,"volume":161.42124551085624,"effort":1056.5754251619683,"bugs":0.05380708183695208,"time":58.69863473122046},"params":0}},{"name":"","line":967,"complexity":{"sloc":{"physical":18,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":2,"volume":18.094737505048094,"effort":36.18947501009619,"bugs":0.006031579168349364,"time":2.0105263894497885},"params":1}},{"name":"rc.key","line":968,"complexity":{"sloc":{"physical":16,"logical":6},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":21,"difficulty":5.846153846153846,"volume":153.73110979725664,"effort":898.7357188147311,"bugs":0.05124370326575221,"time":49.92976215637395},"params":0}},{"name":"","line":973,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":4,"volume":43.18506523353572,"effort":172.74026093414287,"bugs":0.014395021744511906,"time":9.596681163007936},"params":2}},{"name":"rc.exec","line":985,"complexity":{"sloc":{"physical":16,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":4.166666666666667,"volume":106.6059378176129,"effort":444.1914075733871,"bugs":0.035535312605870964,"time":24.677300420743727},"params":1}},{"name":"","line":986,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":13,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":6.5,"volume":95.18387305144009,"effort":618.6951748343606,"bugs":0.03172795768381336,"time":34.37195415746448},"params":1}},{"name":"","line":996,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":6,"difficulty":2,"volume":33.60451250937503,"effort":67.20902501875005,"bugs":0.011201504169791677,"time":3.7338347232638918},"params":1}},{"name":"redismock.type","line":1004,"complexity":{"sloc":{"physical":23,"logical":17},"cyclomatic":8,"halstead":{"operators":{"distinct":11,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":19,"total":40,"identifiers":["__stripped__"]},"length":76,"vocabulary":30,"difficulty":11.578947368421051,"volume":372.92368526624745,"effort":4318.063724135496,"bugs":0.12430789508874915,"time":239.8924291186387},"params":2}},{"name":"redismock.info","line":1028,"complexity":{"sloc":{"physical":4,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":1.25,"volume":20.67970000576925,"effort":25.84962500721156,"bugs":0.006893233335256416,"time":1.43609027817842},"params":1}},{"name":"redismock.dump","line":1033,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":4.375,"volume":38.03910001730775,"effort":166.4210625757214,"bugs":0.012679700005769252,"time":9.245614587540079},"params":1}},{"name":"redismock.warnings","line":1040,"complexity":{"sloc":{"physical":20,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":18,"identifiers":["__stripped__"]},"length":36,"vocabulary":20,"difficulty":11,"volume":155.58941141594505,"effort":1711.4835255753956,"bugs":0.05186313713864835,"time":95.08241808752197},"params":1}},{"name":"","line":1050,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.mod","line":1052,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":9,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":25,"identifiers":["__stripped__"]},"length":48,"vocabulary":24,"difficulty":7.5,"volume":220.07820003461552,"effort":1650.5865002596165,"bugs":0.07335940001153851,"time":91.69925001442314},"params":0}},{"name":"","line":1068,"complexity":{"sloc":{"physical":10,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.modifier","line":1070,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":12,"identifiers":["__stripped__"]},"length":22,"vocabulary":15,"difficulty":5.25,"volume":85.95159310338741,"effort":451.2458637927839,"bugs":0.02865053103446247,"time":25.06921465515466},"params":0}}],"maintainability":72.1449170251016,"params":1.1829268292682926,"module":"redis-mock.js"},"jshint":{"messages":[]}} \ No newline at end of file diff --git a/plato/files/redis_mock_js/report.json b/plato/files/redis_mock_js/report.json index 1225d95..b788a0f 100644 --- a/plato/files/redis_mock_js/report.json +++ b/plato/files/redis_mock_js/report.json @@ -1 +1 @@ -{"info":{"file":"redis-mock.js","fileShort":"redis-mock.js","fileSafe":"redis_mock_js","link":"files/redis_mock_js/index.html"},"complexity":{"aggregate":{"line":4,"complexity":{"sloc":{"physical":839,"logical":528},"cyclomatic":110,"halstead":{"operators":{"distinct":37,"total":1751,"identifiers":["__stripped__"]},"operands":{"distinct":208,"total":2025,"identifiers":["__stripped__"]},"length":3776,"vocabulary":245,"difficulty":180.1081730769231,"volume":29968.74485767371,"effort":5397615.885724046,"bugs":9.98958161922457,"time":299867.54920689145},"params":154}},"functions":[{"name":"","line":4,"complexity":{"sloc":{"physical":839,"logical":78},"cyclomatic":5,"halstead":{"operators":{"distinct":15,"total":231,"identifiers":["__stripped__"]},"operands":{"distinct":87,"total":228,"identifiers":["__stripped__"]},"length":459,"vocabulary":102,"difficulty":19.655172413793103,"volume":3062.643231964916,"effort":60196.78076620697,"bugs":1.0208810773216388,"time":3344.2655981226094},"params":0}},{"name":"setImmediate","line":28,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":1,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":5,"vocabulary":4,"difficulty":0.6666666666666666,"volume":10,"effort":6.666666666666666,"bugs":0.0033333333333333335,"time":0.37037037037037035},"params":1}},{"name":"cb","line":44,"complexity":{"sloc":{"physical":14,"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},"params":2}},{"name":"","line":45,"complexity":{"sloc":{"physical":12,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":20,"difficulty":8.555555555555555,"volume":125.33591475173351,"effort":1072.3183817648312,"bugs":0.041778638250577836,"time":59.57324343137951},"params":0}},{"name":"","line":48,"complexity":{"sloc":{"physical":3,"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},"params":0}},{"name":"gather","line":59,"complexity":{"sloc":{"physical":22,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":10,"vocabulary":9,"difficulty":3.125,"volume":31.699250014423125,"effort":99.06015629507226,"bugs":0.010566416671474375,"time":5.503342016392903},"params":1}},{"name":"","line":61,"complexity":{"sloc":{"physical":19,"logical":14},"cyclomatic":5,"halstead":{"operators":{"distinct":17,"total":32,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":36,"identifiers":["__stripped__"]},"length":68,"vocabulary":29,"difficulty":25.5,"volume":330.34270766867496,"effort":8423.739045551212,"bugs":0.11011423588955832,"time":467.9855025306229},"params":0}},{"name":"wrongType","line":82,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":7,"difficulty":1.875,"volume":25.26619429851844,"effort":47.374114309722074,"bugs":0.008422064766172813,"time":2.6318952394290043},"params":1}},{"name":"redismock.ifType","line":86,"complexity":{"sloc":{"physical":37,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":4.199999999999999,"volume":104,"effort":436.79999999999995,"bugs":0.034666666666666665,"time":24.266666666666666},"params":3}},{"name":"thenex","line":89,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"thennx","line":93,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"then","line":97,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"end","line":101,"complexity":{"sloc":{"physical":20,"logical":12},"cyclomatic":6,"halstead":{"operators":{"distinct":10,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":35,"identifiers":["__stripped__"]},"length":71,"vocabulary":23,"difficulty":13.461538461538463,"volume":321.1728988800479,"effort":4323.481331077569,"bugs":0.10705763296001597,"time":240.19340728208715},"params":0}},{"name":"redismock.set","line":124,"complexity":{"sloc":{"physical":37,"logical":19},"cyclomatic":7,"halstead":{"operators":{"distinct":10,"total":51,"identifiers":["__stripped__"]},"operands":{"distinct":27,"total":61,"identifiers":["__stripped__"]},"length":112,"vocabulary":37,"difficulty":11.296296296296296,"volume":583.4587769504424,"effort":6590.923221106848,"bugs":0.1944862589834808,"time":366.1624011726027},"params":3}},{"name":"","line":128,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":24,"identifiers":["__stripped__"]},"length":45,"vocabulary":20,"difficulty":5.142857142857142,"volume":194.4867642699313,"effort":1000.2176448167895,"bugs":0.06482892142331044,"time":55.56764693426609},"params":2}},{"name":"redismock.get","line":162,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":13,"difficulty":4.6875,"volume":96.21143267166839,"effort":450.9910906484456,"bugs":0.032070477557222796,"time":25.05506059158031},"params":2}},{"name":"redismock.getset","line":169,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":4.166666666666667,"volume":91.37651812938249,"effort":380.7354922057604,"bugs":0.03045883937646083,"time":21.15197178920891},"params":3}},{"name":"redismock.expire","line":175,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":9,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":3,"volume":43.18506523353572,"effort":129.55519570060716,"bugs":0.014395021744511906,"time":7.197510872255953},"params":3}},{"name":"redismock.pexpire","line":179,"complexity":{"sloc":{"physical":23,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":17,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":24,"identifiers":["__stripped__"]},"length":41,"vocabulary":20,"difficulty":6.461538461538462,"volume":177.19905189038187,"effort":1144.9784891378522,"bugs":0.05906635063012729,"time":63.60991606321401},"params":3}},{"name":"","line":184,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":5,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":22,"identifiers":["__stripped__"]},"length":47,"vocabulary":10,"difficulty":11,"volume":156.13062045970605,"effort":1717.4368250567666,"bugs":0.05204354015323535,"time":95.41315694759814},"params":0}},{"name":"redismock.psetex","line":203,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setex","line":209,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setnx","line":215,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":30,"vocabulary":15,"difficulty":4.5,"volume":117.20671786825557,"effort":527.43023040715,"bugs":0.03906890595608519,"time":29.30167946706389},"params":3}},{"name":"redismock.strlen","line":223,"complexity":{"sloc":{"physical":10,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":37,"vocabulary":19,"difficulty":4.384615384615384,"volume":157.17331799741265,"effort":689.1445481425015,"bugs":0.05239110599913755,"time":38.285808230138976},"params":2}},{"name":"","line":230,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":229,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.exists","line":234,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":32,"vocabulary":16,"difficulty":5.4,"volume":128,"effort":691.2,"bugs":0.042666666666666665,"time":38.400000000000006},"params":2}},{"name":"redismock.del","line":238,"complexity":{"sloc":{"physical":24,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":24,"identifiers":["__stripped__"]},"length":43,"vocabulary":22,"difficulty":4.5,"volume":191.75555960140377,"effort":862.900018206317,"bugs":0.0639185198671346,"time":47.938889900350944},"params":2}},{"name":"","line":243,"complexity":{"sloc":{"physical":17,"logical":13},"cyclomatic":6,"halstead":{"operators":{"distinct":7,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":28,"identifiers":["__stripped__"]},"length":57,"vocabulary":16,"difficulty":10.88888888888889,"volume":228,"effort":2482.666666666667,"bugs":0.076,"time":137.92592592592595},"params":1}},{"name":"redismock.lpush","line":263,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":269,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":268,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.lpushx","line":276,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":283,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":279,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.rpush","line":287,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":293,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":292,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.rpushx","line":300,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":307,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":303,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.lpop","line":311,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":315,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":314,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.rpop","line":319,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":323,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":322,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.lindex","line":327,"complexity":{"sloc":{"physical":15,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":18,"difficulty":3.75,"volume":116.75790004038474,"effort":437.84212515144276,"bugs":0.03891930001346158,"time":24.324562508413486},"params":3}},{"name":"","line":339,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":331,"complexity":{"sloc":{"physical":8,"logical":5},"cyclomatic":3,"halstead":{"operators":{"distinct":8,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":24,"identifiers":["__stripped__"]},"length":47,"vocabulary":15,"difficulty":13.714285714285714,"volume":183.62385799360038,"effort":2518.2700524836623,"bugs":0.06120795266453346,"time":139.9038918046479},"params":0}},{"name":"redismock.ltrim","line":343,"complexity":{"sloc":{"physical":32,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":2.8,"volume":95.18387305144009,"effort":266.51484454403226,"bugs":0.03172795768381336,"time":14.806380252446237},"params":4}},{"name":"","line":367,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":24,"vocabulary":16,"difficulty":4.666666666666666,"volume":96,"effort":447.99999999999994,"bugs":0.032,"time":24.888888888888886},"params":0}},{"name":"","line":346,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":6,"halstead":{"operators":{"distinct":13,"total":44,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":52,"identifiers":["__stripped__"]},"length":96,"vocabulary":24,"difficulty":30.72727272727273,"volume":440.15640006923104,"effort":13524.805747581828,"bugs":0.14671880002307702,"time":751.3780970878793},"params":0}},{"name":"redismock.lrange","line":376,"complexity":{"sloc":{"physical":28,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":4}},{"name":"","line":401,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":380,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":5,"halstead":{"operators":{"distinct":13,"total":45,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":53,"identifiers":["__stripped__"]},"length":98,"vocabulary":25,"difficulty":28.708333333333336,"volume":455.097906597923,"effort":13065.102401915374,"bugs":0.15169930219930766,"time":725.8390223286319},"params":0}},{"name":"redismock.linsert","line":405,"complexity":{"sloc":{"physical":19,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":2.5,"volume":104,"effort":260,"bugs":0.034666666666666665,"time":14.444444444444445},"params":5}},{"name":"","line":421,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":408,"complexity":{"sloc":{"physical":13,"logical":9},"cyclomatic":4,"halstead":{"operators":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":34,"identifiers":["__stripped__"]},"length":63,"vocabulary":27,"difficulty":11.6875,"volume":299.55791263629857,"effort":3501.0831039367395,"bugs":0.09985263754543286,"time":194.50461688537442},"params":0}},{"name":"redismock.llen","line":425,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":429,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":428,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.rpoplpush","line":433,"complexity":{"sloc":{"physical":14,"logical":10},"cyclomatic":4,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"length":50,"vocabulary":18,"difficulty":9.227272727272727,"volume":208.4962500721156,"effort":1923.8517620290665,"bugs":0.06949875002403853,"time":106.88065344605926},"params":3}},{"name":"redismock.lrem","line":448,"complexity":{"sloc":{"physical":24,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":16,"identifiers":["__stripped__"]},"length":29,"vocabulary":19,"difficulty":3.6923076923076925,"volume":123.18989788986397,"effort":454.85500759334394,"bugs":0.04106329929662132,"time":25.269722644074662},"params":4}},{"name":"","line":469,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":452,"complexity":{"sloc":{"physical":17,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":25,"identifiers":["__stripped__"]},"length":50,"vocabulary":26,"difficulty":14.583333333333334,"volume":235.02198590705464,"effort":3427.403961144547,"bugs":0.07834066196901822,"time":190.41133117469704},"params":0}},{"name":"redismock.lset","line":473,"complexity":{"sloc":{"physical":13,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":15,"difficulty":2.5454545454545454,"volume":97.67226489021297,"effort":248.62031062963302,"bugs":0.03255742163007099,"time":13.812239479424058},"params":4}},{"name":"","line":483,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":476,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":0}},{"name":"redismock.sadd","line":487,"complexity":{"sloc":{"physical":18,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":494,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":12,"difficulty":2,"volume":53.77443751081735,"effort":107.5488750216347,"bugs":0.017924812503605784,"time":5.974937501201928},"params":0}},{"name":"","line":495,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":7,"volume":106.6059378176129,"effort":746.2415647232903,"bugs":0.035535312605870964,"time":41.457864706849456},"params":1}},{"name":"","line":493,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.scard","line":506,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":510,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":509,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":17,"vocabulary":12,"difficulty":1.5,"volume":60.94436251225966,"effort":91.41654376838949,"bugs":0.020314787504086555,"time":5.078696876021638},"params":0}},{"name":"redismock.sismember","line":514,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":518,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":517,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.smembers","line":522,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":526,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":525,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":11,"difficulty":1.5,"volume":51.89147427955947,"effort":77.8372114193392,"bugs":0.01729715809318649,"time":4.324289523296622},"params":0}},{"name":"redismock.spop","line":530,"complexity":{"sloc":{"physical":12,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":26,"identifiers":["__stripped__"]},"length":47,"vocabulary":17,"difficulty":9.1,"volume":192.11075353876598,"effort":1748.2078572027704,"bugs":0.06403691784625533,"time":97.12265873348724},"params":2}},{"name":"redismock.srandmember","line":543,"complexity":{"sloc":{"physical":25,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":20,"difficulty":6.333333333333333,"volume":151.26748332105768,"effort":958.0273943666986,"bugs":0.05042249444035256,"time":53.22374413148325},"params":3}},{"name":"","line":565,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":550,"complexity":{"sloc":{"physical":15,"logical":11},"cyclomatic":4,"halstead":{"operators":{"distinct":13,"total":49,"identifiers":["__stripped__"]},"operands":{"distinct":21,"total":54,"identifiers":["__stripped__"]},"length":103,"vocabulary":34,"difficulty":16.714285714285715,"volume":524.008672648785,"effort":8758.430671415408,"bugs":0.174669557549595,"time":486.5794817453004},"params":0}},{"name":"redismock.srem","line":569,"complexity":{"sloc":{"physical":21,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":587,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":575,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":3.9000000000000004,"volume":108,"effort":421.20000000000005,"bugs":0.036,"time":23.400000000000002},"params":0}},{"name":"","line":576,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":14,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":7,"volume":108,"effort":756,"bugs":0.036,"time":42},"params":1}},{"name":"redismock.smove","line":591,"complexity":{"sloc":{"physical":12,"logical":9},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":30,"identifiers":["__stripped__"]},"length":50,"vocabulary":19,"difficulty":8.75,"volume":212.39637567217926,"effort":1858.4682871315686,"bugs":0.07079879189072642,"time":103.24823817397603},"params":4}},{"name":"redismock.zadd","line":604,"complexity":{"sloc":{"physical":30,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":24,"identifiers":["__stripped__"]},"length":43,"vocabulary":22,"difficulty":4.5,"volume":191.75555960140377,"effort":862.900018206317,"bugs":0.0639185198671346,"time":47.938889900350944},"params":4}},{"name":"","line":610,"complexity":{"sloc":{"physical":22,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":12,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":2.4,"volume":95.18387305144009,"effort":228.44129532345622,"bugs":0.03172795768381336,"time":12.691183073525345},"params":0}},{"name":"","line":622,"complexity":{"sloc":{"physical":8,"logical":5},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":22,"identifiers":["__stripped__"]},"length":43,"vocabulary":18,"difficulty":8.8,"volume":179.30677506201943,"effort":1577.899620545771,"bugs":0.059768925020673144,"time":87.66109003032062},"params":1}},{"name":"","line":619,"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},"params":1}},{"name":"","line":613,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":16,"difficulty":5.444444444444445,"volume":100,"effort":544.4444444444445,"bugs":0.03333333333333333,"time":30.246913580246915},"params":2}},{"name":"","line":609,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.hdel","line":638,"complexity":{"sloc":{"physical":17,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":652,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":644,"complexity":{"sloc":{"physical":8,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":645,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":11,"identifiers":["__stripped__"]},"length":20,"vocabulary":11,"difficulty":4.583333333333333,"volume":69.18863237274596,"effort":317.11456504175226,"bugs":0.023062877457581985,"time":17.617475835652904},"params":1}},{"name":"redismock.hexists","line":656,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":660,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":659,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.hget","line":664,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":668,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":667,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":1.5,"volume":43.18506523353572,"effort":64.77759785030358,"bugs":0.014395021744511906,"time":3.5987554361279765},"params":0}},{"name":"redismock.subscribe","line":672,"complexity":{"sloc":{"physical":20,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":27,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":32,"identifiers":["__stripped__"]},"length":59,"vocabulary":27,"difficulty":17.230769230769234,"volume":280.5383626276447,"effort":4833.891786814802,"bugs":0.09351278754254823,"time":268.54954371193344},"params":2}},{"name":"","line":685,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":10,"identifiers":["__stripped__"]},"length":19,"vocabulary":12,"difficulty":7,"volume":68.11428751370197,"effort":476.80001259591376,"bugs":0.022704762504567322,"time":26.488889588661877},"params":1}},{"name":"redismock.unsubscribe","line":693,"complexity":{"sloc":{"physical":19,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":28,"identifiers":["__stripped__"]},"length":53,"vocabulary":26,"difficulty":16.333333333333336,"volume":249.1233050614779,"effort":4069.0139826708064,"bugs":0.08304110168715931,"time":226.05633237060036},"params":1}},{"name":"","line":705,"complexity":{"sloc":{"physical":5,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":6,"difficulty":5,"volume":23.264662506490403,"effort":116.32331253245201,"bugs":0.007754887502163467,"time":6.462406251802889},"params":1}},{"name":"redismock.publish","line":713,"complexity":{"sloc":{"physical":7,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":10,"difficulty":4,"volume":46.50699332842308,"effort":186.0279733136923,"bugs":0.01550233110947436,"time":10.33488740631624},"params":2}},{"name":"","line":715,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":2,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":0.625,"volume":16.253496664211536,"effort":10.15843541513221,"bugs":0.005417832221403845,"time":0.5643575230629005},"params":1}},{"name":"redismock.watch","line":721,"complexity":{"sloc":{"physical":4,"logical":2},"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},"params":1}},{"name":"redismock.multi","line":726,"complexity":{"sloc":{"physical":41,"logical":8},"cyclomatic":1,"halstead":{"operators":{"distinct":8,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"length":38,"vocabulary":19,"difficulty":6.545454545454546,"volume":161.42124551085624,"effort":1056.5754251619683,"bugs":0.05380708183695208,"time":58.69863473122046},"params":0}},{"name":"","line":731,"complexity":{"sloc":{"physical":18,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":2,"volume":18.094737505048094,"effort":36.18947501009619,"bugs":0.006031579168349364,"time":2.0105263894497885},"params":1}},{"name":"rc.key","line":732,"complexity":{"sloc":{"physical":16,"logical":6},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":21,"difficulty":5.846153846153846,"volume":153.73110979725664,"effort":898.7357188147311,"bugs":0.05124370326575221,"time":49.92976215637395},"params":0}},{"name":"","line":737,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":4,"volume":43.18506523353572,"effort":172.74026093414287,"bugs":0.014395021744511906,"time":9.596681163007936},"params":2}},{"name":"rc.exec","line":749,"complexity":{"sloc":{"physical":16,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":4.166666666666667,"volume":106.6059378176129,"effort":444.1914075733871,"bugs":0.035535312605870964,"time":24.677300420743727},"params":1}},{"name":"","line":750,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":13,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":6.5,"volume":95.18387305144009,"effort":618.6951748343606,"bugs":0.03172795768381336,"time":34.37195415746448},"params":1}},{"name":"","line":760,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":6,"difficulty":2,"volume":33.60451250937503,"effort":67.20902501875005,"bugs":0.011201504169791677,"time":3.7338347232638918},"params":1}},{"name":"redismock.type","line":768,"complexity":{"sloc":{"physical":23,"logical":17},"cyclomatic":8,"halstead":{"operators":{"distinct":11,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":19,"total":40,"identifiers":["__stripped__"]},"length":76,"vocabulary":30,"difficulty":11.578947368421051,"volume":372.92368526624745,"effort":4318.063724135496,"bugs":0.12430789508874915,"time":239.8924291186387},"params":2}},{"name":"redismock.info","line":792,"complexity":{"sloc":{"physical":4,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":1.25,"volume":20.67970000576925,"effort":25.84962500721156,"bugs":0.006893233335256416,"time":1.43609027817842},"params":1}},{"name":"redismock.dump","line":797,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":4.375,"volume":38.03910001730775,"effort":166.4210625757214,"bugs":0.012679700005769252,"time":9.245614587540079},"params":1}},{"name":"redismock.warnings","line":804,"complexity":{"sloc":{"physical":20,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":18,"identifiers":["__stripped__"]},"length":36,"vocabulary":20,"difficulty":11,"volume":155.58941141594505,"effort":1711.4835255753956,"bugs":0.05186313713864835,"time":95.08241808752197},"params":1}},{"name":"","line":814,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.mod","line":816,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":9,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":25,"identifiers":["__stripped__"]},"length":48,"vocabulary":24,"difficulty":7.5,"volume":220.07820003461552,"effort":1650.5865002596165,"bugs":0.07335940001153851,"time":91.69925001442314},"params":0}},{"name":"","line":832,"complexity":{"sloc":{"physical":10,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.modifier","line":834,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":12,"identifiers":["__stripped__"]},"length":22,"vocabulary":15,"difficulty":5.25,"volume":85.95159310338741,"effort":451.2458637927839,"bugs":0.02865053103446247,"time":25.06921465515466},"params":0}}],"maintainability":72.09247379589301,"params":1.193798449612403,"module":"redis-mock.js"},"jshint":{"messages":[]}} \ No newline at end of file +{"info":{"file":"redis-mock.js","fileShort":"redis-mock.js","fileSafe":"redis_mock_js","link":"files/redis_mock_js/index.html"},"complexity":{"aggregate":{"line":4,"complexity":{"sloc":{"physical":1075,"logical":663},"cyclomatic":142,"halstead":{"operators":{"distinct":37,"total":2246,"identifiers":["__stripped__"]},"operands":{"distinct":242,"total":2573,"identifiers":["__stripped__"]},"length":4819,"vocabulary":279,"difficulty":196.69628099173553,"volume":39150.14060170485,"effort":7700687.056658891,"bugs":13.05004686723495,"time":427815.9475921606},"params":194}},"functions":[{"name":"","line":4,"complexity":{"sloc":{"physical":1075,"logical":84},"cyclomatic":5,"halstead":{"operators":{"distinct":15,"total":249,"identifiers":["__stripped__"]},"operands":{"distinct":93,"total":246,"identifiers":["__stripped__"]},"length":495,"vocabulary":108,"difficulty":19.838709677419352,"volume":3343.6693135709174,"effort":66334.08476922948,"bugs":1.1145564378569726,"time":3685.22693162386},"params":0}},{"name":"setImmediate","line":28,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":1,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":5,"vocabulary":4,"difficulty":0.6666666666666666,"volume":10,"effort":6.666666666666666,"bugs":0.0033333333333333335,"time":0.37037037037037035},"params":1}},{"name":"cb","line":44,"complexity":{"sloc":{"physical":14,"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},"params":2}},{"name":"","line":45,"complexity":{"sloc":{"physical":12,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":20,"difficulty":8.555555555555555,"volume":125.33591475173351,"effort":1072.3183817648312,"bugs":0.041778638250577836,"time":59.57324343137951},"params":0}},{"name":"","line":48,"complexity":{"sloc":{"physical":3,"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},"params":0}},{"name":"gather","line":59,"complexity":{"sloc":{"physical":25,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":11,"difficulty":5.4,"volume":55.350905898196764,"effort":298.8948918502625,"bugs":0.018450301966065587,"time":16.60527176945903},"params":2}},{"name":"","line":64,"complexity":{"sloc":{"physical":19,"logical":14},"cyclomatic":5,"halstead":{"operators":{"distinct":19,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":40,"identifiers":["__stripped__"]},"length":76,"vocabulary":33,"difficulty":27.142857142857142,"volume":383.37395307124245,"effort":10405.864440505153,"bugs":0.12779131769041416,"time":578.103580028064},"params":0}},{"name":"wrongType","line":85,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":7,"difficulty":1.875,"volume":25.26619429851844,"effort":47.374114309722074,"bugs":0.008422064766172813,"time":2.6318952394290043},"params":1}},{"name":"redismock.ifType","line":89,"complexity":{"sloc":{"physical":37,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":4.199999999999999,"volume":104,"effort":436.79999999999995,"bugs":0.034666666666666665,"time":24.266666666666666},"params":3}},{"name":"thenex","line":92,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"thennx","line":96,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"then","line":100,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":2.5,"volume":20.67970000576925,"effort":51.69925001442312,"bugs":0.006893233335256416,"time":2.87218055635684},"params":1}},{"name":"end","line":104,"complexity":{"sloc":{"physical":20,"logical":12},"cyclomatic":6,"halstead":{"operators":{"distinct":10,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":35,"identifiers":["__stripped__"]},"length":71,"vocabulary":23,"difficulty":13.461538461538463,"volume":321.1728988800479,"effort":4323.481331077569,"bugs":0.10705763296001597,"time":240.19340728208715},"params":0}},{"name":"redismock.set","line":127,"complexity":{"sloc":{"physical":37,"logical":19},"cyclomatic":7,"halstead":{"operators":{"distinct":10,"total":51,"identifiers":["__stripped__"]},"operands":{"distinct":27,"total":61,"identifiers":["__stripped__"]},"length":112,"vocabulary":37,"difficulty":11.296296296296296,"volume":583.4587769504424,"effort":6590.923221106848,"bugs":0.1944862589834808,"time":366.1624011726027},"params":3}},{"name":"","line":131,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":24,"identifiers":["__stripped__"]},"length":45,"vocabulary":20,"difficulty":5.142857142857142,"volume":194.4867642699313,"effort":1000.2176448167895,"bugs":0.06482892142331044,"time":55.56764693426609},"params":2}},{"name":"redismock.get","line":165,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":13,"difficulty":4.6875,"volume":96.21143267166839,"effort":450.9910906484456,"bugs":0.032070477557222796,"time":25.05506059158031},"params":2}},{"name":"redismock.getset","line":172,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":4.166666666666667,"volume":91.37651812938249,"effort":380.7354922057604,"bugs":0.03045883937646083,"time":21.15197178920891},"params":3}},{"name":"redismock.expire","line":178,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":9,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":3,"volume":43.18506523353572,"effort":129.55519570060716,"bugs":0.014395021744511906,"time":7.197510872255953},"params":3}},{"name":"redismock.pexpire","line":182,"complexity":{"sloc":{"physical":23,"logical":6},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":17,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":24,"identifiers":["__stripped__"]},"length":41,"vocabulary":20,"difficulty":6.461538461538462,"volume":177.19905189038187,"effort":1144.9784891378522,"bugs":0.05906635063012729,"time":63.60991606321401},"params":3}},{"name":"","line":187,"complexity":{"sloc":{"physical":14,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":5,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":22,"identifiers":["__stripped__"]},"length":47,"vocabulary":10,"difficulty":11,"volume":156.13062045970605,"effort":1717.4368250567666,"bugs":0.05204354015323535,"time":95.41315694759814},"params":0}},{"name":"redismock.psetex","line":206,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setex","line":212,"complexity":{"sloc":{"physical":5,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":16,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.4000000000000004,"volume":85.11011351724513,"effort":204.26427244138833,"bugs":0.028370037839081708,"time":11.348015135632686},"params":4}},{"name":"redismock.setnx","line":218,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":30,"vocabulary":15,"difficulty":4.5,"volume":117.20671786825557,"effort":527.43023040715,"bugs":0.03906890595608519,"time":29.30167946706389},"params":3}},{"name":"redismock.strlen","line":226,"complexity":{"sloc":{"physical":10,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":37,"vocabulary":19,"difficulty":4.384615384615384,"volume":157.17331799741265,"effort":689.1445481425015,"bugs":0.05239110599913755,"time":38.285808230138976},"params":2}},{"name":"","line":233,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":232,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.exists","line":237,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":5,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":18,"identifiers":["__stripped__"]},"length":32,"vocabulary":16,"difficulty":5.4,"volume":128,"effort":691.2,"bugs":0.042666666666666665,"time":38.400000000000006},"params":2}},{"name":"redismock.del","line":241,"complexity":{"sloc":{"physical":24,"logical":6},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":24,"identifiers":["__stripped__"]},"length":43,"vocabulary":22,"difficulty":4.5,"volume":191.75555960140377,"effort":862.900018206317,"bugs":0.0639185198671346,"time":47.938889900350944},"params":2}},{"name":"","line":246,"complexity":{"sloc":{"physical":17,"logical":13},"cyclomatic":6,"halstead":{"operators":{"distinct":7,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":28,"identifiers":["__stripped__"]},"length":57,"vocabulary":16,"difficulty":10.88888888888889,"volume":228,"effort":2482.666666666667,"bugs":0.076,"time":137.92592592592595},"params":1}},{"name":"redismock.lpush","line":266,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":272,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":271,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.lpushx","line":279,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":286,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":282,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.rpush","line":290,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":23,"identifiers":["__stripped__"]},"length":42,"vocabulary":21,"difficulty":4.6000000000000005,"volume":184.47733175670794,"effort":848.5957260808566,"bugs":0.06149244391890265,"time":47.14420700449203},"params":3}},{"name":"","line":296,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":13,"difficulty":2.888888888888889,"volume":88.81055323538621,"effort":256.56382045778236,"bugs":0.029603517745128736,"time":14.25354558098791},"params":0}},{"name":"","line":295,"complexity":{"sloc":{"physical":1,"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},"params":0}},{"name":"redismock.rpushx","line":303,"complexity":{"sloc":{"physical":10,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":310,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":306,"complexity":{"sloc":{"physical":4,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":11,"difficulty":1.875,"volume":62.26976913547136,"effort":116.75581712900879,"bugs":0.020756589711823786,"time":6.486434284944933},"params":0}},{"name":"redismock.lpop","line":314,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":318,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":317,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.rpop","line":322,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":326,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":325,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":1.5,"volume":38.03910001730775,"effort":57.058650025961626,"bugs":0.012679700005769252,"time":3.1699250014423126},"params":0}},{"name":"redismock.lindex","line":330,"complexity":{"sloc":{"physical":15,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":18,"difficulty":3.75,"volume":116.75790004038474,"effort":437.84212515144276,"bugs":0.03891930001346158,"time":24.324562508413486},"params":3}},{"name":"","line":342,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":334,"complexity":{"sloc":{"physical":8,"logical":5},"cyclomatic":3,"halstead":{"operators":{"distinct":8,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":24,"identifiers":["__stripped__"]},"length":47,"vocabulary":15,"difficulty":13.714285714285714,"volume":183.62385799360038,"effort":2518.2700524836623,"bugs":0.06120795266453346,"time":139.9038918046479},"params":0}},{"name":"redismock.ltrim","line":346,"complexity":{"sloc":{"physical":32,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":2.8,"volume":95.18387305144009,"effort":266.51484454403226,"bugs":0.03172795768381336,"time":14.806380252446237},"params":4}},{"name":"","line":370,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":24,"vocabulary":16,"difficulty":4.666666666666666,"volume":96,"effort":447.99999999999994,"bugs":0.032,"time":24.888888888888886},"params":0}},{"name":"","line":349,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":6,"halstead":{"operators":{"distinct":13,"total":44,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":52,"identifiers":["__stripped__"]},"length":96,"vocabulary":24,"difficulty":30.72727272727273,"volume":440.15640006923104,"effort":13524.805747581828,"bugs":0.14671880002307702,"time":751.3780970878793},"params":0}},{"name":"redismock.lrange","line":379,"complexity":{"sloc":{"physical":28,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":4}},{"name":"","line":404,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":383,"complexity":{"sloc":{"physical":21,"logical":15},"cyclomatic":5,"halstead":{"operators":{"distinct":13,"total":45,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":53,"identifiers":["__stripped__"]},"length":98,"vocabulary":25,"difficulty":28.708333333333336,"volume":455.097906597923,"effort":13065.102401915374,"bugs":0.15169930219930766,"time":725.8390223286319},"params":0}},{"name":"redismock.linsert","line":408,"complexity":{"sloc":{"physical":19,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":15,"identifiers":["__stripped__"]},"length":26,"vocabulary":16,"difficulty":2.5,"volume":104,"effort":260,"bugs":0.034666666666666665,"time":14.444444444444445},"params":5}},{"name":"","line":424,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":411,"complexity":{"sloc":{"physical":13,"logical":9},"cyclomatic":4,"halstead":{"operators":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":34,"identifiers":["__stripped__"]},"length":63,"vocabulary":27,"difficulty":11.6875,"volume":299.55791263629857,"effort":3501.0831039367395,"bugs":0.09985263754543286,"time":194.50461688537442},"params":0}},{"name":"redismock.llen","line":428,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":432,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":431,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":6,"identifiers":["__stripped__"]},"length":11,"vocabulary":9,"difficulty":1.5,"volume":34.86917501586544,"effort":52.303762523798156,"bugs":0.011623058338621813,"time":2.905764584655453},"params":0}},{"name":"redismock.rpoplpush","line":436,"complexity":{"sloc":{"physical":14,"logical":10},"cyclomatic":4,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":29,"identifiers":["__stripped__"]},"length":50,"vocabulary":18,"difficulty":9.227272727272727,"volume":208.4962500721156,"effort":1923.8517620290665,"bugs":0.06949875002403853,"time":106.88065344605926},"params":3}},{"name":"redismock.lrem","line":451,"complexity":{"sloc":{"physical":24,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":16,"identifiers":["__stripped__"]},"length":29,"vocabulary":19,"difficulty":3.6923076923076925,"volume":123.18989788986397,"effort":454.85500759334394,"bugs":0.04106329929662132,"time":25.269722644074662},"params":4}},{"name":"","line":472,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":455,"complexity":{"sloc":{"physical":17,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":25,"identifiers":["__stripped__"]},"length":50,"vocabulary":26,"difficulty":14.583333333333334,"volume":235.02198590705464,"effort":3427.403961144547,"bugs":0.07834066196901822,"time":190.41133117469704},"params":0}},{"name":"redismock.lset","line":476,"complexity":{"sloc":{"physical":13,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":15,"difficulty":2.5454545454545454,"volume":97.67226489021297,"effort":248.62031062963302,"bugs":0.03255742163007099,"time":13.812239479424058},"params":4}},{"name":"","line":486,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":479,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":16,"identifiers":["__stripped__"]},"length":30,"vocabulary":18,"difficulty":5.090909090909091,"volume":125.09775004326937,"effort":636.8612729475532,"bugs":0.04169925001442312,"time":35.38118183041962},"params":0}},{"name":"redismock.sadd","line":490,"complexity":{"sloc":{"physical":18,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":497,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":12,"difficulty":2,"volume":53.77443751081735,"effort":107.5488750216347,"bugs":0.017924812503605784,"time":5.974937501201928},"params":0}},{"name":"","line":498,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":14,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":7,"volume":106.6059378176129,"effort":746.2415647232903,"bugs":0.035535312605870964,"time":41.457864706849456},"params":1}},{"name":"","line":496,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.scard","line":509,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":513,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":512,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":17,"vocabulary":12,"difficulty":1.5,"volume":60.94436251225966,"effort":91.41654376838949,"bugs":0.020314787504086555,"time":5.078696876021638},"params":0}},{"name":"redismock.sismember","line":517,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":521,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":520,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.smembers","line":525,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":529,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":528,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":11,"difficulty":1.5,"volume":51.89147427955947,"effort":77.8372114193392,"bugs":0.01729715809318649,"time":4.324289523296622},"params":0}},{"name":"redismock.spop","line":533,"complexity":{"sloc":{"physical":12,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":26,"identifiers":["__stripped__"]},"length":47,"vocabulary":17,"difficulty":9.1,"volume":192.11075353876598,"effort":1748.2078572027704,"bugs":0.06403691784625533,"time":97.12265873348724},"params":2}},{"name":"redismock.srandmember","line":546,"complexity":{"sloc":{"physical":25,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":20,"difficulty":6.333333333333333,"volume":151.26748332105768,"effort":958.0273943666986,"bugs":0.05042249444035256,"time":53.22374413148325},"params":3}},{"name":"","line":568,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":553,"complexity":{"sloc":{"physical":15,"logical":11},"cyclomatic":4,"halstead":{"operators":{"distinct":13,"total":49,"identifiers":["__stripped__"]},"operands":{"distinct":21,"total":54,"identifiers":["__stripped__"]},"length":103,"vocabulary":34,"difficulty":16.714285714285715,"volume":524.008672648785,"effort":8758.430671415408,"bugs":0.174669557549595,"time":486.5794817453004},"params":0}},{"name":"redismock.srem","line":572,"complexity":{"sloc":{"physical":21,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":590,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":578,"complexity":{"sloc":{"physical":12,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":3.9000000000000004,"volume":108,"effort":421.20000000000005,"bugs":0.036,"time":23.400000000000002},"params":0}},{"name":"","line":579,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":14,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":7,"volume":108,"effort":756,"bugs":0.036,"time":42},"params":1}},{"name":"redismock.smove","line":594,"complexity":{"sloc":{"physical":12,"logical":9},"cyclomatic":3,"halstead":{"operators":{"distinct":7,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":30,"identifiers":["__stripped__"]},"length":50,"vocabulary":19,"difficulty":8.75,"volume":212.39637567217926,"effort":1858.4682871315686,"bugs":0.07079879189072642,"time":103.24823817397603},"params":4}},{"name":"redismock.zadd","line":607,"complexity":{"sloc":{"physical":51,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":19,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":44,"vocabulary":23,"difficulty":4.411764705882353,"volume":199.03672606650858,"effort":878.1032032345968,"bugs":0.06634557535550285,"time":48.783511290810935},"params":4}},{"name":"","line":613,"complexity":{"sloc":{"physical":43,"logical":3},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":17,"difficulty":3.8181818181818183,"volume":118.53642239625987,"effort":452.59361278571953,"bugs":0.03951214079875329,"time":25.14408959920664},"params":0}},{"name":"","line":626,"complexity":{"sloc":{"physical":28,"logical":9},"cyclomatic":3,"halstead":{"operators":{"distinct":10,"total":39,"identifiers":["__stripped__"]},"operands":{"distinct":18,"total":38,"identifiers":["__stripped__"]},"length":77,"vocabulary":28,"difficulty":10.555555555555555,"volume":370.16632899843546,"effort":3907.311250539041,"bugs":0.12338877633281183,"time":217.07284725216894},"params":1}},{"name":"","line":641,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":15,"identifiers":["__stripped__"]},"length":27,"vocabulary":16,"difficulty":4.5,"volume":108,"effort":486,"bugs":0.036,"time":27},"params":1}},{"name":"","line":638,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":2,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":4,"volume":20.67970000576925,"effort":82.718800023077,"bugs":0.006893233335256416,"time":4.5954888901709445},"params":1}},{"name":"","line":635,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":8,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":10,"identifiers":["__stripped__"]},"length":18,"vocabulary":12,"difficulty":2.5,"volume":64.52932501298082,"effort":161.32331253245206,"bugs":0.02150977500432694,"time":8.962406251802893},"params":1}},{"name":"","line":623,"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},"params":1}},{"name":"","line":617,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":16,"difficulty":5.444444444444445,"volume":100,"effort":544.4444444444445,"bugs":0.03333333333333333,"time":30.246913580246915},"params":2}},{"name":"","line":612,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"redismock.zcard","line":659,"complexity":{"sloc":{"physical":12,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":13,"difficulty":2.6666666666666665,"volume":85.11011351724513,"effort":226.96030271265366,"bugs":0.028370037839081708,"time":12.608905706258536},"params":2}},{"name":"","line":668,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":662,"complexity":{"sloc":{"physical":6,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":13,"identifiers":["__stripped__"]},"length":25,"vocabulary":18,"difficulty":3.25,"volume":104.2481250360578,"effort":338.80640636718783,"bugs":0.03474937501201927,"time":18.822578131510436},"params":0}},{"name":"","line":663,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":9,"difficulty":2,"volume":44.37895002019238,"effort":88.75790004038475,"bugs":0.014792983340064125,"time":4.930994446688042},"params":2}},{"name":"redismock.zcount","line":672,"complexity":{"sloc":{"physical":20,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":14,"identifiers":["__stripped__"]},"length":25,"vocabulary":15,"difficulty":2.5454545454545454,"volume":97.67226489021297,"effort":248.62031062963302,"bugs":0.03255742163007099,"time":13.812239479424058},"params":4}},{"name":"","line":689,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":675,"complexity":{"sloc":{"physical":14,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":14,"total":17,"identifiers":["__stripped__"]},"length":35,"vocabulary":20,"difficulty":3.6428571428571423,"volume":151.26748332105768,"effort":551.0458320981386,"bugs":0.05042249444035256,"time":30.613657338785476},"params":0}},{"name":"","line":684,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":9,"difficulty":2,"volume":44.37895002019238,"effort":88.75790004038475,"bugs":0.014792983340064125,"time":4.930994446688042},"params":2}},{"name":"","line":681,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":6,"difficulty":2.5,"volume":23.264662506490403,"effort":58.161656266226004,"bugs":0.007754887502163467,"time":3.2312031259014447},"params":1}},{"name":"","line":678,"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},"params":1}},{"name":"redismock.zrange","line":693,"complexity":{"sloc":{"physical":43,"logical":9},"cyclomatic":4,"halstead":{"operators":{"distinct":13,"total":33,"identifiers":["__stripped__"]},"operands":{"distinct":20,"total":39,"identifiers":["__stripped__"]},"length":72,"vocabulary":33,"difficulty":12.674999999999999,"volume":363.1963765938086,"effort":4603.514073326524,"bugs":0.12106545886460288,"time":255.75078185147356},"params":4}},{"name":"","line":733,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":707,"complexity":{"sloc":{"physical":26,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":7,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":18,"identifiers":["__stripped__"]},"length":38,"vocabulary":22,"difficulty":4.2,"volume":169.4584015082173,"effort":711.7252863345127,"bugs":0.05648613383607243,"time":39.5402936852507},"params":0}},{"name":"","line":716,"complexity":{"sloc":{"physical":15,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":6,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":11,"identifiers":["__stripped__"]},"length":21,"vocabulary":16,"difficulty":3.3000000000000003,"volume":84,"effort":277.20000000000005,"bugs":0.028,"time":15.400000000000002},"params":1}},{"name":"","line":717,"complexity":{"sloc":{"physical":9,"logical":5},"cyclomatic":3,"halstead":{"operators":{"distinct":6,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"length":24,"vocabulary":15,"difficulty":4.666666666666667,"volume":93.76537429460444,"effort":437.5717467081541,"bugs":0.03125512476486815,"time":24.309541483786337},"params":1}},{"name":"","line":712,"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},"params":1}},{"name":"redismock.zrangebyscore","line":737,"complexity":{"sloc":{"physical":86,"logical":34},"cyclomatic":12,"halstead":{"operators":{"distinct":16,"total":95,"identifiers":["__stripped__"]},"operands":{"distinct":41,"total":108,"identifiers":["__stripped__"]},"length":203,"vocabulary":57,"difficulty":21.073170731707318,"volume":1184.0766728754427,"effort":24952.24988693616,"bugs":0.3946922242918142,"time":1386.2361048297867},"params":4}},{"name":"","line":820,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":780,"complexity":{"sloc":{"physical":40,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":15,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":14,"identifiers":["__stripped__"]},"length":29,"vocabulary":17,"difficulty":2.1538461538461537,"volume":118.53642239625987,"effort":255.3092174688674,"bugs":0.03951214079875329,"time":14.183845414937077},"params":0}},{"name":"","line":787,"complexity":{"sloc":{"physical":31,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":9,"total":14,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":14,"identifiers":["__stripped__"]},"length":28,"vocabulary":21,"difficulty":5.25,"volume":122.9848878378053,"effort":645.6706611484778,"bugs":0.04099496261260177,"time":35.87059228602655},"params":1}},{"name":"","line":788,"complexity":{"sloc":{"physical":25,"logical":15},"cyclomatic":9,"halstead":{"operators":{"distinct":14,"total":40,"identifiers":["__stripped__"]},"operands":{"distinct":16,"total":40,"identifiers":["__stripped__"]},"length":80,"vocabulary":30,"difficulty":17.5,"volume":392.5512476486815,"effort":6869.646833851926,"bugs":0.13085041588289384,"time":381.647046325107},"params":1}},{"name":"","line":783,"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},"params":1}},{"name":"redismock.zrank","line":824,"complexity":{"sloc":{"physical":26,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":847,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":827,"complexity":{"sloc":{"physical":20,"logical":5},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":24,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":22,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":5.866666666666666,"volume":208.0838499786226,"effort":1220.7585865412525,"bugs":0.06936128332620753,"time":67.81992147451403},"params":0}},{"name":"","line":835,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":12,"identifiers":["__stripped__"]},"length":23,"vocabulary":17,"difficulty":4.2,"volume":94.01164534875782,"effort":394.8489104647829,"bugs":0.031337215116252606,"time":21.936050581376826},"params":1}},{"name":"","line":831,"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},"params":1}},{"name":"redismock.zrem","line":851,"complexity":{"sloc":{"physical":22,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":870,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":857,"complexity":{"sloc":{"physical":13,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":858,"complexity":{"sloc":{"physical":11,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":8,"identifiers":["__stripped__"]},"length":15,"vocabulary":11,"difficulty":1.5,"volume":51.89147427955947,"effort":77.8372114193392,"bugs":0.01729715809318649,"time":4.324289523296622},"params":1}},{"name":"","line":861,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":18,"difficulty":7.6,"volume":145.94737505048093,"effort":1109.200050383655,"bugs":0.04864912501682698,"time":61.622225021314165},"params":1}},{"name":"redismock.hdel","line":874,"complexity":{"sloc":{"physical":17,"logical":4},"cyclomatic":1,"halstead":{"operators":{"distinct":6,"total":21,"identifiers":["__stripped__"]},"operands":{"distinct":17,"total":25,"identifiers":["__stripped__"]},"length":46,"vocabulary":23,"difficulty":4.411764705882353,"volume":208.0838499786226,"effort":918.0169851998056,"bugs":0.06936128332620753,"time":51.00094362221142},"params":3}},{"name":"","line":888,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":880,"complexity":{"sloc":{"physical":8,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":8,"vocabulary":7,"difficulty":1.5,"volume":22.458839376460833,"effort":33.68825906469125,"bugs":0.007486279792153611,"time":1.871569948038403},"params":0}},{"name":"","line":881,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":6,"total":11,"identifiers":["__stripped__"]},"length":20,"vocabulary":11,"difficulty":4.583333333333333,"volume":69.18863237274596,"effort":317.11456504175226,"bugs":0.023062877457581985,"time":17.617475835652904},"params":1}},{"name":"redismock.hexists","line":892,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":896,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":1,"volume":18.094737505048094,"effort":18.094737505048094,"bugs":0.006031579168349364,"time":1.0052631947248942},"params":0}},{"name":"","line":895,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":7,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":9,"identifiers":["__stripped__"]},"length":16,"vocabulary":14,"difficulty":2.5,"volume":60.91767875292166,"effort":152.29419688230416,"bugs":0.020305892917640553,"time":8.460788715683565},"params":0}},{"name":"redismock.hget","line":900,"complexity":{"sloc":{"physical":7,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":11,"identifiers":["__stripped__"]},"operands":{"distinct":10,"total":13,"identifiers":["__stripped__"]},"length":24,"vocabulary":14,"difficulty":2.6,"volume":91.37651812938249,"effort":237.57894713639448,"bugs":0.03045883937646083,"time":13.19883039646636},"params":3}},{"name":"","line":904,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":1.3333333333333333,"volume":16.253496664211536,"effort":21.67132888561538,"bugs":0.005417832221403845,"time":1.2039627158675212},"params":0}},{"name":"","line":903,"complexity":{"sloc":{"physical":1,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":1.5,"volume":43.18506523353572,"effort":64.77759785030358,"bugs":0.014395021744511906,"time":3.5987554361279765},"params":0}},{"name":"redismock.subscribe","line":908,"complexity":{"sloc":{"physical":20,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":27,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":32,"identifiers":["__stripped__"]},"length":59,"vocabulary":27,"difficulty":17.230769230769234,"volume":280.5383626276447,"effort":4833.891786814802,"bugs":0.09351278754254823,"time":268.54954371193344},"params":2}},{"name":"","line":921,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":9,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":10,"identifiers":["__stripped__"]},"length":19,"vocabulary":12,"difficulty":7,"volume":68.11428751370197,"effort":476.80001259591376,"bugs":0.022704762504567322,"time":26.488889588661877},"params":1}},{"name":"redismock.unsubscribe","line":929,"complexity":{"sloc":{"physical":19,"logical":11},"cyclomatic":5,"halstead":{"operators":{"distinct":14,"total":25,"identifiers":["__stripped__"]},"operands":{"distinct":12,"total":28,"identifiers":["__stripped__"]},"length":53,"vocabulary":26,"difficulty":16.333333333333336,"volume":249.1233050614779,"effort":4069.0139826708064,"bugs":0.08304110168715931,"time":226.05633237060036},"params":1}},{"name":"","line":941,"complexity":{"sloc":{"physical":5,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":4,"total":4,"identifiers":["__stripped__"]},"operands":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"length":9,"vocabulary":6,"difficulty":5,"volume":23.264662506490403,"effort":116.32331253245201,"bugs":0.007754887502163467,"time":6.462406251802889},"params":1}},{"name":"redismock.publish","line":949,"complexity":{"sloc":{"physical":7,"logical":2},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":14,"vocabulary":10,"difficulty":4,"volume":46.50699332842308,"effort":186.0279733136923,"bugs":0.01550233110947436,"time":10.33488740631624},"params":2}},{"name":"","line":951,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":1,"total":2,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":7,"vocabulary":5,"difficulty":0.625,"volume":16.253496664211536,"effort":10.15843541513221,"bugs":0.005417832221403845,"time":0.5643575230629005},"params":1}},{"name":"redismock.watch","line":957,"complexity":{"sloc":{"physical":4,"logical":2},"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},"params":1}},{"name":"redismock.multi","line":962,"complexity":{"sloc":{"physical":41,"logical":8},"cyclomatic":1,"halstead":{"operators":{"distinct":8,"total":20,"identifiers":["__stripped__"]},"operands":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"length":38,"vocabulary":19,"difficulty":6.545454545454546,"volume":161.42124551085624,"effort":1056.5754251619683,"bugs":0.05380708183695208,"time":58.69863473122046},"params":0}},{"name":"","line":967,"complexity":{"sloc":{"physical":18,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":3,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":3,"total":4,"identifiers":["__stripped__"]},"length":7,"vocabulary":6,"difficulty":2,"volume":18.094737505048094,"effort":36.18947501009619,"bugs":0.006031579168349364,"time":2.0105263894497885},"params":1}},{"name":"rc.key","line":968,"complexity":{"sloc":{"physical":16,"logical":6},"cyclomatic":2,"halstead":{"operators":{"distinct":8,"total":16,"identifiers":["__stripped__"]},"operands":{"distinct":13,"total":19,"identifiers":["__stripped__"]},"length":35,"vocabulary":21,"difficulty":5.846153846153846,"volume":153.73110979725664,"effort":898.7357188147311,"bugs":0.05124370326575221,"time":49.92976215637395},"params":0}},{"name":"","line":973,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":5,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":10,"difficulty":4,"volume":43.18506523353572,"effort":172.74026093414287,"bugs":0.014395021744511906,"time":9.596681163007936},"params":2}},{"name":"rc.exec","line":985,"complexity":{"sloc":{"physical":16,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":13,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":15,"identifiers":["__stripped__"]},"length":28,"vocabulary":14,"difficulty":4.166666666666667,"volume":106.6059378176129,"effort":444.1914075733871,"bugs":0.035535312605870964,"time":24.677300420743727},"params":1}},{"name":"","line":986,"complexity":{"sloc":{"physical":8,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":12,"identifiers":["__stripped__"]},"operands":{"distinct":7,"total":13,"identifiers":["__stripped__"]},"length":25,"vocabulary":14,"difficulty":6.5,"volume":95.18387305144009,"effort":618.6951748343606,"bugs":0.03172795768381336,"time":34.37195415746448},"params":1}},{"name":"","line":996,"complexity":{"sloc":{"physical":3,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":8,"identifiers":["__stripped__"]},"length":13,"vocabulary":6,"difficulty":2,"volume":33.60451250937503,"effort":67.20902501875005,"bugs":0.011201504169791677,"time":3.7338347232638918},"params":1}},{"name":"redismock.type","line":1004,"complexity":{"sloc":{"physical":23,"logical":17},"cyclomatic":8,"halstead":{"operators":{"distinct":11,"total":36,"identifiers":["__stripped__"]},"operands":{"distinct":19,"total":40,"identifiers":["__stripped__"]},"length":76,"vocabulary":30,"difficulty":11.578947368421051,"volume":372.92368526624745,"effort":4318.063724135496,"bugs":0.12430789508874915,"time":239.8924291186387},"params":2}},{"name":"redismock.info","line":1028,"complexity":{"sloc":{"physical":4,"logical":1},"cyclomatic":1,"halstead":{"operators":{"distinct":2,"total":3,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":5,"identifiers":["__stripped__"]},"length":8,"vocabulary":6,"difficulty":1.25,"volume":20.67970000576925,"effort":25.84962500721156,"bugs":0.006893233335256416,"time":1.43609027817842},"params":1}},{"name":"redismock.dump","line":1033,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":5,"total":5,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":12,"vocabulary":9,"difficulty":4.375,"volume":38.03910001730775,"effort":166.4210625757214,"bugs":0.012679700005769252,"time":9.245614587540079},"params":1}},{"name":"redismock.warnings","line":1040,"complexity":{"sloc":{"physical":20,"logical":8},"cyclomatic":3,"halstead":{"operators":{"distinct":11,"total":18,"identifiers":["__stripped__"]},"operands":{"distinct":9,"total":18,"identifiers":["__stripped__"]},"length":36,"vocabulary":20,"difficulty":11,"volume":155.58941141594505,"effort":1711.4835255753956,"bugs":0.05186313713864835,"time":95.08241808752197},"params":1}},{"name":"","line":1050,"complexity":{"sloc":{"physical":9,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.mod","line":1052,"complexity":{"sloc":{"physical":6,"logical":3},"cyclomatic":2,"halstead":{"operators":{"distinct":9,"total":23,"identifiers":["__stripped__"]},"operands":{"distinct":15,"total":25,"identifiers":["__stripped__"]},"length":48,"vocabulary":24,"difficulty":7.5,"volume":220.07820003461552,"effort":1650.5865002596165,"bugs":0.07335940001153851,"time":91.69925001442314},"params":0}},{"name":"","line":1068,"complexity":{"sloc":{"physical":10,"logical":2},"cyclomatic":1,"halstead":{"operators":{"distinct":4,"total":6,"identifiers":["__stripped__"]},"operands":{"distinct":4,"total":7,"identifiers":["__stripped__"]},"length":13,"vocabulary":8,"difficulty":3.5,"volume":39,"effort":136.5,"bugs":0.013,"time":7.583333333333333},"params":1}},{"name":"redismock.modifier","line":1070,"complexity":{"sloc":{"physical":7,"logical":4},"cyclomatic":2,"halstead":{"operators":{"distinct":7,"total":10,"identifiers":["__stripped__"]},"operands":{"distinct":8,"total":12,"identifiers":["__stripped__"]},"length":22,"vocabulary":15,"difficulty":5.25,"volume":85.95159310338741,"effort":451.2458637927839,"bugs":0.02865053103446247,"time":25.06921465515466},"params":0}}],"maintainability":72.1449170251016,"params":1.1829268292682926,"module":"redis-mock.js"},"jshint":{"messages":[]}} \ No newline at end of file diff --git a/plato/index.html b/plato/index.html index e0ff3a5..f60faff 100644 --- a/plato/index.html +++ b/plato/index.html @@ -50,11 +50,11 @@

Summary

Total/Average Lines

-

839 / 839

+

1075 / 1075

Average Maintainability

-

72.09

+

72.14

@@ -120,9 +120,9 @@

Files

redis-mock.js diff --git a/plato/report.history.js b/plato/report.history.js index 6e3c743..ba63537 100644 --- a/plato/report.history.js +++ b/plato/report.history.js @@ -1 +1 @@ -__history = [{"date":"Mon, 23 Feb 2015 00:10:53 GMT","total":{"sloc":521,"maintainability":63.67301240562197},"average":{"sloc":521,"maintainability":"63.67"}},{"date":"Mon, 23 Feb 2015 04:12:07 GMT","total":{"sloc":626,"maintainability":72.49776783403156},"average":{"sloc":626,"maintainability":"72.50"}},{"date":"Mon, 23 Feb 2015 04:12:31 GMT","total":{"sloc":627,"maintainability":72.47119936706054},"average":{"sloc":627,"maintainability":"72.47"}},{"date":"Mon, 23 Feb 2015 06:19:17 GMT","total":{"sloc":649,"maintainability":72.31160923765782},"average":{"sloc":649,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 08:36:35 GMT","total":{"sloc":750,"maintainability":72.31104075865707},"average":{"sloc":750,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 09:54:24 GMT","total":{"sloc":839,"maintainability":72.09247379589301},"average":{"sloc":839,"maintainability":"72.09"}}] \ No newline at end of file +__history = [{"date":"Mon, 23 Feb 2015 00:10:53 GMT","total":{"sloc":521,"maintainability":63.67301240562197},"average":{"sloc":521,"maintainability":"63.67"}},{"date":"Mon, 23 Feb 2015 04:12:07 GMT","total":{"sloc":626,"maintainability":72.49776783403156},"average":{"sloc":626,"maintainability":"72.50"}},{"date":"Mon, 23 Feb 2015 04:12:31 GMT","total":{"sloc":627,"maintainability":72.47119936706054},"average":{"sloc":627,"maintainability":"72.47"}},{"date":"Mon, 23 Feb 2015 06:19:17 GMT","total":{"sloc":649,"maintainability":72.31160923765782},"average":{"sloc":649,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 08:36:35 GMT","total":{"sloc":750,"maintainability":72.31104075865707},"average":{"sloc":750,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 09:54:24 GMT","total":{"sloc":839,"maintainability":72.09247379589301},"average":{"sloc":839,"maintainability":"72.09"}},{"date":"Tue, 24 Feb 2015 02:43:33 GMT","total":{"sloc":1075,"maintainability":72.1449170251016},"average":{"sloc":1075,"maintainability":"72.14"}}] \ No newline at end of file diff --git a/plato/report.history.json b/plato/report.history.json index 57ad18e..6ec88e9 100644 --- a/plato/report.history.json +++ b/plato/report.history.json @@ -1 +1 @@ -[{"date":"Mon, 23 Feb 2015 00:10:53 GMT","total":{"sloc":521,"maintainability":63.67301240562197},"average":{"sloc":521,"maintainability":"63.67"}},{"date":"Mon, 23 Feb 2015 04:12:07 GMT","total":{"sloc":626,"maintainability":72.49776783403156},"average":{"sloc":626,"maintainability":"72.50"}},{"date":"Mon, 23 Feb 2015 04:12:31 GMT","total":{"sloc":627,"maintainability":72.47119936706054},"average":{"sloc":627,"maintainability":"72.47"}},{"date":"Mon, 23 Feb 2015 06:19:17 GMT","total":{"sloc":649,"maintainability":72.31160923765782},"average":{"sloc":649,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 08:36:35 GMT","total":{"sloc":750,"maintainability":72.31104075865707},"average":{"sloc":750,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 09:54:24 GMT","total":{"sloc":839,"maintainability":72.09247379589301},"average":{"sloc":839,"maintainability":"72.09"}}] \ No newline at end of file +[{"date":"Mon, 23 Feb 2015 00:10:53 GMT","total":{"sloc":521,"maintainability":63.67301240562197},"average":{"sloc":521,"maintainability":"63.67"}},{"date":"Mon, 23 Feb 2015 04:12:07 GMT","total":{"sloc":626,"maintainability":72.49776783403156},"average":{"sloc":626,"maintainability":"72.50"}},{"date":"Mon, 23 Feb 2015 04:12:31 GMT","total":{"sloc":627,"maintainability":72.47119936706054},"average":{"sloc":627,"maintainability":"72.47"}},{"date":"Mon, 23 Feb 2015 06:19:17 GMT","total":{"sloc":649,"maintainability":72.31160923765782},"average":{"sloc":649,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 08:36:35 GMT","total":{"sloc":750,"maintainability":72.31104075865707},"average":{"sloc":750,"maintainability":"72.31"}},{"date":"Mon, 23 Feb 2015 09:54:24 GMT","total":{"sloc":839,"maintainability":72.09247379589301},"average":{"sloc":839,"maintainability":"72.09"}},{"date":"Tue, 24 Feb 2015 02:43:33 GMT","total":{"sloc":1075,"maintainability":72.1449170251016},"average":{"sloc":1075,"maintainability":"72.14"}}] \ No newline at end of file diff --git a/plato/report.js b/plato/report.js index f3d5241..9ce0034 100644 --- a/plato/report.js +++ b/plato/report.js @@ -1 +1 @@ -__report = {"summary":{"total":{"sloc":839,"maintainability":72.09247379589301},"average":{"sloc":839,"maintainability":"72.09"}},"reports":[{"info":{"file":"redis-mock.js","fileShort":"redis-mock.js","fileSafe":"redis_mock_js","link":"files/redis_mock_js/index.html"},"jshint":{"messages":0},"complexity":{"aggregate":{"line":4,"complexity":{"sloc":{"physical":839,"logical":528},"cyclomatic":110,"halstead":{"operators":{"distinct":37,"total":1751,"identifiers":["__stripped__"]},"operands":{"distinct":208,"total":2025,"identifiers":["__stripped__"]},"length":3776,"vocabulary":245,"difficulty":180.1081730769231,"volume":29968.74485767371,"effort":5397615.885724046,"bugs":9.98958161922457,"time":299867.54920689145},"params":154}},"module":"redis-mock.js","maintainability":72.09247379589301}}]} \ No newline at end of file +__report = {"summary":{"total":{"sloc":1075,"maintainability":72.1449170251016},"average":{"sloc":1075,"maintainability":"72.14"}},"reports":[{"info":{"file":"redis-mock.js","fileShort":"redis-mock.js","fileSafe":"redis_mock_js","link":"files/redis_mock_js/index.html"},"jshint":{"messages":0},"complexity":{"aggregate":{"line":4,"complexity":{"sloc":{"physical":1075,"logical":663},"cyclomatic":142,"halstead":{"operators":{"distinct":37,"total":2246,"identifiers":["__stripped__"]},"operands":{"distinct":242,"total":2573,"identifiers":["__stripped__"]},"length":4819,"vocabulary":279,"difficulty":196.69628099173553,"volume":39150.14060170485,"effort":7700687.056658891,"bugs":13.05004686723495,"time":427815.9475921606},"params":194}},"module":"redis-mock.js","maintainability":72.1449170251016}}]} \ No newline at end of file diff --git a/plato/report.json b/plato/report.json index 9a437df..6093126 100644 --- a/plato/report.json +++ b/plato/report.json @@ -1 +1 @@ -{"summary":{"total":{"sloc":839,"maintainability":72.09247379589301},"average":{"sloc":839,"maintainability":"72.09"}},"reports":[{"info":{"file":"redis-mock.js","fileShort":"redis-mock.js","fileSafe":"redis_mock_js","link":"files/redis_mock_js/index.html"},"jshint":{"messages":0},"complexity":{"aggregate":{"line":4,"complexity":{"sloc":{"physical":839,"logical":528},"cyclomatic":110,"halstead":{"operators":{"distinct":37,"total":1751,"identifiers":["__stripped__"]},"operands":{"distinct":208,"total":2025,"identifiers":["__stripped__"]},"length":3776,"vocabulary":245,"difficulty":180.1081730769231,"volume":29968.74485767371,"effort":5397615.885724046,"bugs":9.98958161922457,"time":299867.54920689145},"params":154}},"module":"redis-mock.js","maintainability":72.09247379589301}}]} \ No newline at end of file +{"summary":{"total":{"sloc":1075,"maintainability":72.1449170251016},"average":{"sloc":1075,"maintainability":"72.14"}},"reports":[{"info":{"file":"redis-mock.js","fileShort":"redis-mock.js","fileSafe":"redis_mock_js","link":"files/redis_mock_js/index.html"},"jshint":{"messages":0},"complexity":{"aggregate":{"line":4,"complexity":{"sloc":{"physical":1075,"logical":663},"cyclomatic":142,"halstead":{"operators":{"distinct":37,"total":2246,"identifiers":["__stripped__"]},"operands":{"distinct":242,"total":2573,"identifiers":["__stripped__"]},"length":4819,"vocabulary":279,"difficulty":196.69628099173553,"volume":39150.14060170485,"effort":7700687.056658891,"bugs":13.05004686723495,"time":427815.9475921606},"params":194}},"module":"redis-mock.js","maintainability":72.1449170251016}}]} \ No newline at end of file diff --git a/redis-mock.js b/redis-mock.js index 417ff14..63ff135 100644 --- a/redis-mock.js +++ b/redis-mock.js @@ -633,7 +633,7 @@ Object .keys(cache[zsets][key]) .map(function (score) { - return [parseInt(score, 10), cache[zsets][key][score].indexOf(m)]; + return [parseFloat(score), cache[zsets][key][score].indexOf(m)]; }) .filter(function (si) { return si[1] !== -1; @@ -676,7 +676,7 @@ var count = Object .keys(cache[zsets][key]) .map(function (score) { - return parseInt(score, 10); + return parseFloat(score); }) .filter(function (score) { return min <= score && score <= max; @@ -710,7 +710,7 @@ Object .keys(cache[zsets][key]) .map(function (score) { - return parseInt(score, 10); + return parseFloat(score); }) .sort() .some(function (score) { @@ -734,8 +734,92 @@ .end(); }; - /*redismock.zrangebyscore = function (key, min, max, callback) { - };*/ + redismock.zrangebyscore = function (key, min, max, callback) { + var withscores = false; + var limitOffset = -1, limitCount = -1; + var idx, len; + var arr = [], offset; + var minInclusive = true, maxInclusive = true; + if (typeof callback !== "function") { + len = arguments.length; + for (idx = 3; idx < len; idx += 1) { + if (arguments[idx] === 'withscores') { + withscores = true; + } + if (typeof arguments[idx] === "function") { + callback = arguments[idx]; + } + if (arguments[idx] === "limit") { + limitOffset = arguments[idx + 1]; + limitCount = arguments[idx + 2]; + } + } + } + if (min === '-inf') { + min = Number.NEGATIVE_INFINITY; + } + if (min === '+inf') { + min = Number.POSITIVE_INFINITY; + } + if (max === '-inf') { + max = Number.NEGATIVE_INFINITY; + } + if (max === '+inf') { + max = Number.POSITIVE_INFINITY; + } + if (min.toString().charAt(0) === '(') { + minInclusive = false; + min = parseFloat(min.toString().substr(1)); + } + if (max.toString().charAt(0) === '(') { + maxInclusive = false; + max = parseFloat(max.toString().substr(1)); + } + return this + .ifType(key, 'zset', callback) + .thenex(function () { + Object + .keys(cache[zsets][key]) + .map(function (score) { + return parseFloat(score); + }) + .sort() + .some(function (score) { + cache[zsets][key][score].some(function (member) { + if (((minInclusive && min <= score) || (!minInclusive && min < score)) && ((maxInclusive && score <= max) || (!maxInclusive && score < max))) { + if (limitOffset !== -1 && offset >= limitOffset) { + if (limitCount !== -1) { + if (arr.length < limitCount) { + arr.push(member); + if (withscores) { + arr.push(score); + } + } + else { + return true; + } + } + } + else { + arr.push(member); + if (withscores) { + arr.push(score); + } + } + } + offset += 1; + return false; + }); + if (limitCount !== -1 && arr.length === limitCount) { + return true; + } + return false; + }); + return cb(callback)(null, arr); + }) + .thennx(function () { return cb(callback)(null, []); }) + .end(); + }; redismock.zrank = function (key, member, callback) { return this @@ -745,7 +829,7 @@ var found = Object .keys(cache[zsets][key]) .map(function (score) { - return parseInt(score, 10); + return parseFloat(score); }) .sort() .some(function (score) { @@ -764,6 +848,29 @@ .end(); }; + redismock.zrem = function (key, member, callback) { + var count = 0; + var g = gather(this.zrem).apply(this, arguments); + callback = g.callback; + return this + .ifType(key, 'zset', callback) + .thenex(function () { + g.list.forEach(function (m) { + Object + .keys(cache[zsets][key]) + .forEach(function (score) { + var idx = cache[zsets][key][score].indexOf(m); + if (idx !== -1) { + cache[zsets][key][score].splice(idx, 1); + count += 1; + } + }); + }); + }) + .then(function () { return cb(callback)(null, count); }) + .end(); + }; + redismock.hdel = function (key, field, callback) { var count = 0; var g = gather(this.hdel).apply(this, arguments); diff --git a/test/mocha/redismockSortedSetTest.js b/test/mocha/redismockSortedSetTest.js index cdf73ab..3feaea6 100644 --- a/test/mocha/redismockSortedSetTest.js +++ b/test/mocha/redismockSortedSetTest.js @@ -51,6 +51,27 @@ describe('zadd', function () { done(); }); }); + it('should add multiple elements with the same score', function () { + var k = randkey(); + var v1 = 'v1', v11 = 'v11', v12 = 'v12', v5 = 'v5', v51 = 'v51'; + redismock.zadd(k, 1, v1, 1, v11, 1, v12, 5, v5, 5, v51).should.equal(5); + redismock.type(k).should.equal('zset'); + redismock.zcard(k).should.equal(5); + var r = redismock.zrange(k, 0, 2); + r.should.have.lengthOf(3); + r[0].should.equal(v1); + r[1].should.equal(v11); + r[2].should.equal(v12); + var r = redismock.zrange(k, 0, 2, 'withscores'); + r.should.have.lengthOf(3*2); + r[1].should.equal(1); + r[3].should.equal(1); + r[5].should.equal(1); + r = redismock.zrange(k, 3, 6, 'withscores'); + r.should.have.lengthOf(2*2); + r[1].should.equal(5); + r[3].should.equal(5); + }); }); describe('zcard', function () { @@ -221,6 +242,113 @@ describe('zrange', function () { }); }); +describe('zrangebylex', function () { + xit('should zrangebylex'); +}); + +describe('zrevrangebylex', function () { + xit('should zrevrangebylex'); +}); + +describe('zrangebyscore', function () { + it('should return an error for a key that is not a zset', function (done) { + var k = randkey(); + var v = 'v'; + redismock.set(k, v); + (redismock.zrangebyscore(k, 0, 1) instanceof Error).should.be.true; + redismock.zrangebyscore(k, 5, 10, function (err, reply) { + should.exist(err); + should.not.exist(reply); + err.message.indexOf('WRONGTYPE').should.be.above(-1); + done(); + }); + }); + it('should return an empty array for a key that does not exist', function (done) { + var k = randkey(); + var v = 'v'; + redismock.zrangebyscore(k, 0, 1).should.have.lengthOf(0); + redismock.zrangebyscore(k, 5, 10, function (err, reply) { + should.not.exist(err); + reply.should.have.lengthOf(0); + done(); + }); + }); + it('should return the range', function (done) { + var k = randkey(); + var v1 = 'v1', v11 = 'v11', v2 = 'v2', v5 = 'v5', v7 = 'v7'; + redismock.zadd(k, 1, v1, 1, v11, 2, v2, 5, v5, 7, v7); + var r = redismock.zrangebyscore(k, 1, 3); + r.should.have.lengthOf(3); + r[0].should.equal(v1); + r[1].should.equal(v11); + r[2].should.equal(v2); + redismock.zrangebyscore(k, 4, 8, function (err, reply) { + should.not.exist(err); + reply.should.have.lengthOf(2); + reply[0].should.equal(v5); + reply[1].should.equal(v7); + done(); + }); + }); + it('should return the range with scores', function (done) { + var k = randkey(); + var v1 = 'v1', v11 = 'v11', v2 = 'v2', v5 = 'v5', v7 = 'v7'; + redismock.zadd(k, 1, v1, 1, v11, 2, v2, 5, v5, 7, v7); + var r = redismock.zrangebyscore(k, 1, 3, 'withscores'); + r.should.have.lengthOf(3*2); + r[0].should.equal(v1); + r[1].should.equal(1); + r[2].should.equal(v11); + r[3].should.equal(1); + r[4].should.equal(v2); + r[5].should.equal(2); + redismock.zrangebyscore(k, 4, 8, 'withscores', function (err, reply) { + should.not.exist(err); + reply.should.have.lengthOf(2*2); + reply[0].should.equal(v5); + reply[1].should.equal(5); + reply[2].should.equal(v7); + reply[3].should.equal(7); + done(); + }); + }); + xit('should return the range from offset with count', function (done) { + var k = randkey(); + var v1 = 'v1', v11 = 'v11', v2 = 'v2', v5 = 'v5', v7 = 'v7'; + redismock.zadd(k, 1, v1, 1, v11, 2, v2, 5, v5, 7, v7); + var r = redismock.zrangebyscore(k, 1, 3, 'limit', 1, 1); + r.should.have.lengthOf(1); + r[0].should.equal(v11); + redismock.zrangebyscore(k, 2, 8, 'limit', 3, 2, function (err, reply) { + should.not.exist(err); + reply.should.have.lengthOf(2*2); + reply[0].should.equal(v5); + reply[1].should.equal(5); + reply[2].should.equal(v7); + reply[3].should.equal(7); + done(); + }); + }); + xit('should return the range for -inf and +inf min/max'); + it('should return the range for exclusive min/max', function () { + var k = randkey(); + var v1 = 'v1', v11 = 'v11', v2 = 'v2', v5 = 'v5', v7 = 'v7'; + redismock.zadd(k, 1, v1, 1, v11, 2, v2, 5, v5, 7, v7); + var r = redismock.zrangebyscore(k, '(1', 5); + r.should.have.lengthOf(2); + r[0].should.equal(v2); + r[1].should.equal(v5); + r = redismock.zrangebyscore(k, 1, '(7'); + r.should.have.have.lengthOf(4); + r[0].should.equal(v1); + r[1].should.equal(v11); + r[2].should.equal(v2); + r[3].should.equal(v5); + r = redismock.zrangebyscore(k, '(2', '(5'); + r.should.have.lengthOf(0); + }); +}); + describe('zrank', function () { it('should return an error for a key that is not a zset', function (done) { var k = randkey(); @@ -258,3 +386,87 @@ describe('zrank', function () { }); }); }); + +describe('zrem', function () { + it('should return an error for a key that is not a zset', function (done) { + var k = randkey(); + var v = 'v'; + redismock.set(k, v); + (redismock.zrem(k, v) instanceof Error).should.be.true; + redismock.zrem(k, v, function (err, reply) { + should.exist(err); + should.not.exist(reply); + err.message.indexOf('WRONGTYPE').should.be.above(-1); + done(); + }); + }); + it('should return 0 for a key that does not exist', function (done) { + var k = randkey(); + var v = 'v'; + redismock.zrem(k, v).should.equal(0); + redismock.zrem(k, v, function (err, reply) { + should.not.exist(err); + reply.should.equal(0); + done(); + }); + }); + it('should return 0 if the members do not exist', function (done) { + var k = randkey(); + var v = 'v', nv = 'nv', nv2 = 'nv2'; + redismock.zadd(k, 1, v); + redismock.zrem(k, nv).should.equal(0); + redismock.zrem(k, nv, nv2, function (err, reply) { + should.not.exist(err); + reply.should.equal(0); + done(); + }); + }); + it('should remove the members and return the removed count', function (done) { + var k = randkey(); + var v1 = 'v1', v11 = 'v11', v2 = 'v2', v5 = 'v5', v7 = 'v7'; + redismock.zadd(k, 1, v1, 1, v11, 2, v2, 5, v5, 7, v7); + redismock.zrem(k, v1, v5).should.equal(2); + redismock.zcard(k).should.equal(3); + redismock.zrem(k, v2, 'nv', v7, 'vv', v11, function (err, reply) { + should.not.exist(err); + reply.should.equal(3); + redismock.zcard(k).should.equal(0); + done(); + }); + }); +}); + +describe('zremrangebylex', function () { + xit('should zremrangebylex'); +}); + +describe('zremrangebyrank', function () { + xit('should zremrangebyrank'); +}); + +describe('zremrangebyscore', function () { + xit('should zremrangebyscore'); +}); + +describe('zrevrange', function () { + xit('should zrevrange'); +}); + +describe('zrevrangebyscore', function () { + xit('should zrevrangebyscore'); +}); + +describe('zrevrank', function () { + xit('should zrevrank'); +}); + +describe('zscore', function () { + xit('should zscore'); +}); + +describe('zunionstore', function () { + xit('should zunionstore'); +}); + +describe('zscan', function () { +});