Skip to content

Instantly share code, notes, and snippets.

@amacgregor
Created January 9, 2015 17:00
Show Gist options
  • Save amacgregor/06d7492638f8f8b6ef5d to your computer and use it in GitHub Desktop.
Save amacgregor/06d7492638f8f8b6ef5d to your computer and use it in GitHub Desktop.
{
"files":{
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Import\/Form.php":{
"phpmetrics":{
"metrics":{
"loc":31,
"logicalLoc":8,
"volume":364.35,
"length":75,
"vocabulary":29,
"effort":2550.44,
"difficulty":"7",
"time":142,
"bugs":0.12,
"intelligentContent":52.05,
"maintenabilityIndexWithoutComment":"62.23",
"maintenabilityIndex":"62.23",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":4,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":1,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":1,
"sysc":16.2,
"rsysc":16.2,
"dc":0.2,
"rdc":0.2,
"sc":16,
"rsc":16
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Import.php":{
"phpmetrics":{
"metrics":{
"loc":19,
"logicalLoc":8,
"volume":199.65,
"length":47,
"vocabulary":19,
"effort":855.65,
"difficulty":"4.29",
"time":48,
"bugs":0.07,
"intelligentContent":46.59,
"maintenabilityIndexWithoutComment":"64.06",
"maintenabilityIndex":"64.06",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":2,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":2,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":2,
"sysc":5.5,
"rsysc":2.75,
"dc":0.5,
"rdc":0.25,
"sc":5,
"rsc":2.5
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Store\/Edit\/Form.php":{
"phpmetrics":{
"metrics":{
"loc":231,
"logicalLoc":33,
"volume":1932.45,
"length":339,
"vocabulary":52,
"effort":41862.24,
"difficulty":"21.66",
"time":2326,
"bugs":0.64,
"intelligentContent":89.21,
"maintenabilityIndexWithoutComment":"43.6",
"maintenabilityIndex":"62.21",
"commentWeight":18.61,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":3,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":2,
"cyclomaticComplexity":2,
"myerInterval":"2:2",
"myerDistance":0,
"operators":0,
"lcom":2,
"sysc":18.25,
"rsysc":9.13,
"dc":0.25,
"rdc":0.13,
"sc":18,
"rsc":9
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Store\/Edit.php":{
"phpmetrics":{
"metrics":{
"loc":67,
"logicalLoc":18,
"volume":776.31,
"length":139,
"vocabulary":48,
"effort":13835.84,
"difficulty":"17.82",
"time":769,
"bugs":0.26,
"intelligentContent":43.56,
"maintenabilityIndexWithoutComment":"51.98",
"maintenabilityIndex":"77.49",
"commentWeight":25.51,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":3,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":2,
"cyclomaticComplexity":3,
"myerInterval":"3:4",
"myerDistance":1,
"operators":1,
"lcom":2,
"sysc":11.25,
"rsysc":5.63,
"dc":1.25,
"rdc":0.63,
"sc":10,
"rsc":5
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Store\/Grid.php":{
"phpmetrics":{
"metrics":{
"loc":212,
"logicalLoc":34,
"volume":1820.85,
"length":321,
"vocabulary":51,
"effort":27664.48,
"difficulty":"15.19",
"time":1537,
"bugs":0.61,
"intelligentContent":119.85,
"maintenabilityIndexWithoutComment":"43.63",
"maintenabilityIndex":"56.51",
"commentWeight":12.88,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":2,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":8,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":7,
"sysc":26.33,
"rsysc":3.29,
"dc":4.33,
"rdc":0.54,
"sc":22,
"rsc":2.75
}
},
"phpcs":{
"issues":[
{
"type":"warning",
"line":203,
"severity":5,
"message":"The method parameter $collection is never used"
}
],
"issue_summary":{
"errors":0,
"warnings":1
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Store\/Renderer\/Image.php":{
"phpmetrics":{
"metrics":{
"loc":15,
"logicalLoc":6,
"volume":305.53,
"length":65,
"vocabulary":26,
"effort":2588.01,
"difficulty":"8.47",
"time":144,
"bugs":0.1,
"intelligentContent":36.07,
"maintenabilityIndexWithoutComment":"65.49",
"maintenabilityIndex":"65.49",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":3,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":1,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":1,
"sysc":9.5,
"rsysc":9.5,
"dc":0.5,
"rdc":0.5,
"sc":9,
"rsc":9
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/Adminhtml\/Store.php":{
"phpmetrics":{
"metrics":{
"loc":12,
"logicalLoc":4,
"volume":92.51,
"length":25,
"vocabulary":13,
"effort":267.25,
"difficulty":"2.89",
"time":15,
"bugs":0.03,
"intelligentContent":32.02,
"maintenabilityIndexWithoutComment":"72.96",
"maintenabilityIndex":"72.96",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":1,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":1,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":1,
"sysc":1,
"rsysc":1,
"dc":0,
"rdc":0,
"sc":1,
"rsc":1
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/Store.php":{
"phpmetrics":{
"metrics":{
"loc":249,
"logicalLoc":91,
"volume":5980.09,
"length":824,
"vocabulary":153,
"effort":261880,
"difficulty":"43.79",
"time":14549,
"bugs":1.99,
"intelligentContent":136.56,
"maintenabilityIndexWithoutComment":"26.79",
"maintenabilityIndex":"45.35",
"commentWeight":18.56,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":4,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":9,
"cyclomaticComplexity":30,
"myerInterval":"30:40",
"myerDistance":10,
"operators":10,
"lcom":6,
"sysc":68.95,
"rsysc":7.66,
"dc":5.95,
"rdc":0.66,
"sc":63,
"rsc":7
}
},
"phpcs":{
"issues":[
{
"type":"warning",
"line":46,
"severity":5,
"message":"Function's cyclomatic complexity (17) exceeds 10; consider refactoring the function"
},
{
"type":"error",
"line":112,
"severity":5,
"message":"The use of function file_get_contents() is forbidden"
},
{
"type":"warning",
"line":123,
"severity":5,
"message":"Possible raw SQL statement \"SELECT `entity_id`, `lat`, `long` FROM `igex_storelocator`\" detected"
},
{
"type":"warning",
"line":126,
"severity":5,
"message":"fetchAll() can be memory inefficient for large data sets."
},
{
"type":"warning",
"line":132,
"severity":5,
"message":"Avoid function calls in a FOR loop test part"
},
{
"type":"warning",
"line":166,
"severity":5,
"message":"Avoid function calls in a FOR loop test part"
},
{
"type":"warning",
"line":172,
"severity":5,
"message":"Avoid function calls in a FOR loop test part"
}
],
"issue_summary":{
"errors":1,
"warnings":6
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Block\/System\/Config\/General.php":{
"phpmetrics":{
"metrics":{
"loc":20,
"logicalLoc":11,
"volume":245.25,
"length":60,
"vocabulary":17,
"effort":1939.69,
"difficulty":"7.91",
"time":108,
"bugs":0.08,
"intelligentContent":31.01,
"maintenabilityIndexWithoutComment":"60.42",
"maintenabilityIndex":"60.42",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":1,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":2,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":1,
"sysc":3,
"rsysc":1.5,
"dc":2,
"rdc":1,
"sc":1,
"rsc":0.5
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/controllers\/Adminhtml\/ImportController.php":{
"phpmetrics":{
"metrics":{
"loc":59,
"logicalLoc":27,
"volume":1555.89,
"length":253,
"vocabulary":71,
"effort":25346.8,
"difficulty":"16.29",
"time":1408,
"bugs":0.52,
"intelligentContent":95.51,
"maintenabilityIndexWithoutComment":"44.95",
"maintenabilityIndex":"59.02",
"commentWeight":14.07,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":3,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":2,
"cyclomaticComplexity":11,
"myerInterval":"11:15",
"myerDistance":4,
"operators":4,
"lcom":2,
"sysc":18,
"rsysc":9,
"dc":0,
"rdc":0,
"sc":18,
"rsc":9
}
},
"phpcs":{
"issues":[
{
"type":"warning",
"line":10,
"severity":5,
"message":"Function's nesting level (6) exceeds 5; consider refactoring the function"
},
{
"type":"error",
"line":13,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":13,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":20,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":21,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":48,
"severity":5,
"message":"Model LSD method save() detected in loop"
},
{
"type":"warning",
"line":51,
"severity":5,
"message":"Empty CATCH statement detected"
}
],
"issue_summary":{
"errors":5,
"warnings":2
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/controllers\/Adminhtml\/StoreController.php":{
"phpmetrics":{
"metrics":{
"loc":498,
"logicalLoc":84,
"volume":5602.47,
"length":814,
"vocabulary":118,
"effort":223646.13,
"difficulty":"39.92",
"time":12425,
"bugs":1.87,
"intelligentContent":140.35,
"maintenabilityIndexWithoutComment":"27.2",
"maintenabilityIndex":"45.46",
"commentWeight":18.26,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":2,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":11,
"cyclomaticComplexity":34,
"myerInterval":"34:42",
"myerDistance":8,
"operators":8,
"lcom":9,
"sysc":23,
"rsysc":2.09,
"dc":1,
"rdc":0.09,
"sc":22,
"rsc":2
}
},
"phpcs":{
"issues":[
{
"type":"warning",
"line":83,
"severity":5,
"message":"Function's cyclomatic complexity (16) exceeds 10; consider refactoring the function"
},
{
"type":"error",
"line":89,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":89,
"severity":5,
"message":"The use of function file_exists() is forbidden"
},
{
"type":"error",
"line":89,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":105,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":107,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"warning",
"line":109,
"severity":5,
"message":"Empty CATCH statement detected"
},
{
"type":"error",
"line":131,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":131,
"severity":5,
"message":"The use of function file_exists() is forbidden"
},
{
"type":"error",
"line":131,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":147,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"error",
"line":149,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
},
{
"type":"warning",
"line":151,
"severity":5,
"message":"Empty CATCH statement detected"
},
{
"type":"error",
"line":329,
"severity":5,
"message":"Model LSD method load() detected in loop"
},
{
"type":"error",
"line":331,
"severity":5,
"message":"Model LSD method delete() detected in loop"
},
{
"type":"error",
"line":377,
"severity":5,
"message":"Model LSD method load() detected in loop"
},
{
"type":"error",
"line":385,
"severity":5,
"message":"Model LSD method save() detected in loop"
},
{
"type":"warning",
"line":415,
"severity":5,
"message":"Use of echo language construct is discouraged."
}
],
"issue_summary":{
"errors":14,
"warnings":4
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/controllers\/IndexController.php":{
"phpmetrics":{
"metrics":{
"loc":35,
"logicalLoc":14,
"volume":534.85,
"length":109,
"vocabulary":30,
"effort":4078.24,
"difficulty":"7.63",
"time":227,
"bugs":0.18,
"intelligentContent":70.14,
"maintenabilityIndexWithoutComment":"55.63",
"maintenabilityIndex":"68.57",
"commentWeight":12.94,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":1,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":3,
"cyclomaticComplexity":2,
"myerInterval":"2:3",
"myerDistance":1,
"operators":1,
"lcom":3,
"sysc":3,
"rsysc":1,
"dc":0,
"rdc":0,
"sc":3,
"rsc":1
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Helper\/Data.php":{
"phpmetrics":{
"metrics":{
"loc":83,
"logicalLoc":31,
"volume":1271.18,
"length":217,
"vocabulary":58,
"effort":21850.2,
"difficulty":"17.19",
"time":1214,
"bugs":0.42,
"intelligentContent":73.95,
"maintenabilityIndexWithoutComment":"45.06",
"maintenabilityIndex":"45.06",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":1,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":6,
"cyclomaticComplexity":5,
"myerInterval":"5:5",
"myerDistance":0,
"operators":0,
"lcom":4,
"sysc":10,
"rsysc":1.67,
"dc":4,
"rdc":0.67,
"sc":6,
"rsc":1
}
},
"phpcs":{
"issues":[
{
"type":"error",
"line":19,
"severity":5,
"message":"The use of function curl_init() is forbidden"
},
{
"type":"error",
"line":20,
"severity":5,
"message":"The use of function curl_setopt() is forbidden"
},
{
"type":"error",
"line":21,
"severity":5,
"message":"The use of function curl_setopt() is forbidden"
},
{
"type":"error",
"line":22,
"severity":5,
"message":"The use of function curl_setopt() is forbidden"
},
{
"type":"error",
"line":22,
"severity":5,
"message":"Direct use of $_SERVER Superglobal detected."
},
{
"type":"error",
"line":23,
"severity":5,
"message":"The use of function curl_setopt() is forbidden"
},
{
"type":"error",
"line":24,
"severity":5,
"message":"The use of function curl_exec() is forbidden"
},
{
"type":"error",
"line":25,
"severity":5,
"message":"The use of function curl_close() is forbidden"
}
],
"issue_summary":{
"errors":8,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Model\/Distanceunits.php":{
"phpmetrics":{
"metrics":{
"loc":21,
"logicalLoc":2,
"volume":129.52,
"length":35,
"vocabulary":13,
"effort":661.97,
"difficulty":"5.11",
"time":37,
"bugs":0.04,
"intelligentContent":25.34,
"maintenabilityIndexWithoutComment":"78.51",
"maintenabilityIndex":"78.51",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":1,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":2,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":2,
"sysc":3,
"rsysc":1.5,
"dc":1,
"rdc":0.5,
"sc":2,
"rsc":1
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Model\/Pagedisplay.php":{
"phpmetrics":{
"metrics":{
"loc":20,
"logicalLoc":2,
"volume":129.52,
"length":35,
"vocabulary":13,
"effort":661.97,
"difficulty":"5.11",
"time":37,
"bugs":0.04,
"intelligentContent":25.34,
"maintenabilityIndexWithoutComment":"78.51",
"maintenabilityIndex":"78.51",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":1,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":2,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":2,
"sysc":3,
"rsysc":1.5,
"dc":1,
"rdc":0.5,
"sc":2,
"rsc":1
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Model\/Resource\/Store\/Collection.php":{
"phpmetrics":{
"metrics":{
"loc":155,
"logicalLoc":36,
"volume":1934.51,
"length":306,
"vocabulary":80,
"effort":33928.33,
"difficulty":"17.54",
"time":1885,
"bugs":0.64,
"intelligentContent":110.3,
"maintenabilityIndexWithoutComment":"41.16",
"maintenabilityIndex":"72.66",
"commentWeight":31.5,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":3,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":7,
"cyclomaticComplexity":14,
"myerInterval":"14:14",
"myerDistance":0,
"operators":0,
"lcom":6,
"sysc":53.08,
"rsysc":7.58,
"dc":3.08,
"rdc":0.44,
"sc":50,
"rsc":7.14
}
},
"phpcs":{
"issues":[
{
"type":"warning",
"line":115,
"severity":5,
"message":"Possible slow SQL method group detected"
}
],
"issue_summary":{
"errors":0,
"warnings":1
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Model\/Resource\/Store.php":{
"phpmetrics":{
"metrics":{
"loc":145,
"logicalLoc":32,
"volume":1774.41,
"length":284,
"vocabulary":76,
"effort":25374.08,
"difficulty":"14.3",
"time":1410,
"bugs":0.59,
"intelligentContent":124.08,
"maintenabilityIndexWithoutComment":"43.21",
"maintenabilityIndex":"75.15",
"commentWeight":31.94,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":4,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":8,
"cyclomaticComplexity":9,
"myerInterval":"9:9",
"myerDistance":0,
"operators":0,
"lcom":5,
"sysc":69.8,
"rsysc":8.73,
"dc":4.8,
"rdc":0.6,
"sc":65,
"rsc":8.13
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Model\/Store.php":{
"phpmetrics":{
"metrics":{
"loc":10,
"logicalLoc":2,
"volume":34.87,
"length":11,
"vocabulary":9,
"effort":61.02,
"difficulty":"1.75",
"time":3,
"bugs":0.01,
"intelligentContent":19.93,
"maintenabilityIndexWithoutComment":"82.5",
"maintenabilityIndex":"82.5",
"commentWeight":0,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":1,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":1,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":1,
"sysc":1,
"rsysc":1,
"dc":0,
"rdc":0,
"sc":1,
"rsc":1
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Model\/System\/Config\/Backend\/Image.php":{
"phpmetrics":{
"metrics":{
"loc":95,
"logicalLoc":14,
"volume":683.71,
"length":126,
"vocabulary":43,
"effort":8591.95,
"difficulty":"12.57",
"time":477,
"bugs":0.23,
"intelligentContent":54.41,
"maintenabilityIndexWithoutComment":"54.61",
"maintenabilityIndex":"101.58",
"commentWeight":46.97,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":3,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":3,
"cyclomaticComplexity":4,
"myerInterval":"4:7",
"myerDistance":3,
"operators":3,
"lcom":2,
"sysc":27.75,
"rsysc":9.25,
"dc":0.75,
"rdc":0.25,
"sc":27,
"rsc":9
}
},
"phpcs":{
"issues":[
{
"type":"error",
"line":87,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
}
],
"issue_summary":{
"errors":1,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/Model\/System\/Config\/Backend\/Marker.php":{
"phpmetrics":{
"metrics":{
"loc":95,
"logicalLoc":14,
"volume":683.71,
"length":126,
"vocabulary":43,
"effort":8591.95,
"difficulty":"12.57",
"time":477,
"bugs":0.23,
"intelligentContent":54.41,
"maintenabilityIndexWithoutComment":"54.61",
"maintenabilityIndex":"101.58",
"commentWeight":46.97,
"instability":1,
"afferentCoupling":0,
"efferentCoupling":3,
"noc":1,
"noca":0,
"nocc":1,
"noi":0,
"nom":3,
"cyclomaticComplexity":4,
"myerInterval":"4:7",
"myerDistance":3,
"operators":3,
"lcom":2,
"sysc":27.75,
"rsysc":9.25,
"dc":0.75,
"rdc":0.25,
"sc":27,
"rsc":9
}
},
"phpcs":{
"issues":[
{
"type":"error",
"line":87,
"severity":5,
"message":"Direct use of $_FILES Superglobal detected."
}
],
"issue_summary":{
"errors":1,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/sql\/igex_storelocator_setup\/mysql4-install-1.0.0.php":{
"phpmetrics":{
"metrics":{
"loc":110,
"logicalLoc":7,
"volume":1164.24,
"length":235,
"vocabulary":31,
"effort":14057.07,
"difficulty":"12.07",
"time":781,
"bugs":0.39,
"intelligentContent":96.42,
"maintenabilityIndexWithoutComment":"59.96",
"maintenabilityIndex":"77.66",
"commentWeight":17.7,
"instability":0,
"afferentCoupling":0,
"efferentCoupling":0,
"noc":0,
"noca":0,
"nocc":0,
"noi":0,
"nom":0,
"cyclomaticComplexity":1,
"myerInterval":"1:1",
"myerDistance":0,
"operators":0,
"lcom":0,
"sysc":0,
"rsysc":0,
"dc":0,
"rdc":0,
"sc":0,
"rsc":0
}
},
"phpcs":{
"issues":[
],
"issue_summary":{
"errors":0,
"warnings":0
}
}
},
"app\/code\/local\/Igex\/StoreLocator\/etc\/config.xml":{
"magerewrite":{
"rewrites":[
]
}
},
"app\/design\/frontend\/base\/default\/template\/igex\/storelocator\/2columns.phtml":{
"phpcs":{
"issues":[
{
"type":"error",
"line":6,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":7,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":8,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":9,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":10,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":11,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":12,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":13,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":19,
"severity":5,
"message":"The use of function getmodel() is forbidden"
},
{
"type":"error",
"line":26,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":26,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":27,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":100,
"severity":5,
"message":"The use of function getmodel() is forbidden"
},
{
"type":"warning",
"line":112,
"severity":5,
"message":"Avoid function calls in a FOR loop test part"
},
{
"type":"error",
"line":218,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":223,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
}
],
"issue_summary":{
"errors":15,
"warnings":1
}
}
},
"app\/design\/frontend\/base\/default\/template\/igex\/storelocator\/storelocator.phtml":{
"phpcs":{
"issues":[
{
"type":"error",
"line":5,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":6,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":7,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":8,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":9,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":10,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":11,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":12,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":19,
"severity":5,
"message":"The use of function getmodel() is forbidden"
},
{
"type":"error",
"line":26,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":26,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":27,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":98,
"severity":5,
"message":"The use of function getmodel() is forbidden"
},
{
"type":"warning",
"line":110,
"severity":5,
"message":"Avoid function calls in a FOR loop test part"
},
{
"type":"error",
"line":192,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
},
{
"type":"error",
"line":197,
"severity":5,
"message":"The use of function getstoreconfig() is forbidden"
}
],
"issue_summary":{
"errors":15,
"warnings":1
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment