Created
January 5, 2015 10:13
-
-
Save amacgregor/98061d14ec15554fd31a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"files":{ | |
"app\/code\/community\/Kodematix\/Inquiry\/Block\/Inquiry.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":48, | |
"logicalLoc":10, | |
"volume":529.1, | |
"length":104, | |
"vocabulary":34, | |
"effort":6190.42, | |
"difficulty":"11.7", | |
"time":344, | |
"bugs":0.18, | |
"intelligentContent":45.22, | |
"maintenabilityIndexWithoutComment":"58.85", | |
"maintenabilityIndex":"77.73", | |
"commentWeight":18.88, | |
"instability":1, | |
"afferentCoupling":0, | |
"efferentCoupling":1, | |
"noc":1, | |
"noca":0, | |
"nocc":1, | |
"noi":0, | |
"nom":4, | |
"cyclomaticComplexity":2, | |
"myerInterval":"2:2", | |
"myerDistance":0, | |
"operators":0, | |
"lcom":4, | |
"sysc":7.5, | |
"rsysc":1.88, | |
"dc":4.5, | |
"rdc":1.13, | |
"sc":3, | |
"rsc":0.75 | |
} | |
}, | |
"phpcs":{ | |
"issues":[ | |
{ | |
"type":"warning", | |
"line":31, | |
"severity":5, | |
"message":"Unnecessary loading of a Magento data collection. Use the getSize() method instead." | |
} | |
], | |
"issue_summary":{ | |
"errors":0, | |
"warnings":1 | |
} | |
} | |
}, | |
"app\/code\/community\/Kodematix\/Inquiry\/Block\/Manage\/Inquiry.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":19, | |
"logicalLoc":1, | |
"volume":38.05, | |
"length":11, | |
"vocabulary":11, | |
"effort":76.11, | |
"difficulty":"2", | |
"time":4, | |
"bugs":0.01, | |
"intelligentContent":19.03, | |
"maintenabilityIndexWithoutComment":"88.8", | |
"maintenabilityIndex":"106.2", | |
"commentWeight":17.4, | |
"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\/community\/Kodematix\/Inquiry\/controllers\/Adminhtml\/InquiryController.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":239, | |
"logicalLoc":96, | |
"volume":5356.42, | |
"length":745, | |
"vocabulary":146, | |
"effort":160267.47, | |
"difficulty":"29.92", | |
"time":8904, | |
"bugs":1.79, | |
"intelligentContent":179.02, | |
"maintenabilityIndexWithoutComment":"28.63", | |
"maintenabilityIndex":"44.94", | |
"commentWeight":16.31, | |
"instability":1, | |
"afferentCoupling":0, | |
"efferentCoupling":2, | |
"noc":1, | |
"noca":0, | |
"nocc":1, | |
"noi":0, | |
"nom":4, | |
"cyclomaticComplexity":15, | |
"myerInterval":"15:16", | |
"myerDistance":1, | |
"operators":1, | |
"lcom":4, | |
"sysc":18, | |
"rsysc":4.5, | |
"dc":2, | |
"rdc":0.5, | |
"sc":16, | |
"rsc":4 | |
} | |
}, | |
"phpcs":{ | |
"issues":[ | |
{ | |
"type":"warning", | |
"line":52, | |
"severity":5, | |
"message":"Function's cyclomatic complexity (13) exceeds 10; consider refactoring the function" | |
}, | |
{ | |
"type":"error", | |
"line":84, | |
"severity":5, | |
"message":"The use of function chr() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":197, | |
"severity":5, | |
"message":"Empty IF statement detected" | |
}, | |
{ | |
"type":"error", | |
"line":197, | |
"severity":5, | |
"message":"The use of function mail() is forbidden" | |
}, | |
{ | |
"type":"warning", | |
"line":233, | |
"severity":5, | |
"message":"Empty CATCH statement detected" | |
}, | |
{ | |
"type":"error", | |
"line":239, | |
"severity":5, | |
"message":"A closing tag is not permitted at the end of a PHP file" | |
} | |
], | |
"issue_summary":{ | |
"errors":4, | |
"warnings":2 | |
} | |
} | |
}, | |
"app\/code\/community\/Kodematix\/Inquiry\/controllers\/IndexController.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":328, | |
"logicalLoc":108, | |
"volume":5499.68, | |
"length":811, | |
"vocabulary":110, | |
"effort":129298.66, | |
"difficulty":"23.51", | |
"time":7183, | |
"bugs":1.83, | |
"intelligentContent":233.93, | |
"maintenabilityIndexWithoutComment":"26.9", | |
"maintenabilityIndex":"34.28", | |
"commentWeight":7.38, | |
"instability":1, | |
"afferentCoupling":0, | |
"efferentCoupling":2, | |
"noc":1, | |
"noca":0, | |
"nocc":1, | |
"noi":0, | |
"nom":3, | |
"cyclomaticComplexity":19, | |
"myerInterval":"19:19", | |
"myerDistance":0, | |
"operators":0, | |
"lcom":3, | |
"sysc":12, | |
"rsysc":4, | |
"dc":0, | |
"rdc":0, | |
"sc":12, | |
"rsc":4 | |
} | |
}, | |
"phpcs":{ | |
"issues":[ | |
{ | |
"type":"error", | |
"line":28, | |
"severity":5, | |
"message":"Empty IF statement detected" | |
}, | |
{ | |
"type":"warning", | |
"line":40, | |
"severity":5, | |
"message":"Function's cyclomatic complexity (18) exceeds 10; consider refactoring the function" | |
}, | |
{ | |
"type":"error", | |
"line":45, | |
"severity":5, | |
"message":"Direct use of $_POST Superglobal detected." | |
}, | |
{ | |
"type":"error", | |
"line":66, | |
"severity":5, | |
"message":"The use of function addslashes() is forbidden" | |
}, | |
{ | |
"type":"warning", | |
"line":72, | |
"severity":5, | |
"message":"Possible raw SQL statement 'SELECT * FROM ' detected" | |
}, | |
{ | |
"type":"error", | |
"line":261, | |
"severity":5, | |
"message":"The use of function mail() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":309, | |
"severity":5, | |
"message":"The use of function mail() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":328, | |
"severity":5, | |
"message":"A closing tag is not permitted at the end of a PHP file" | |
} | |
], | |
"issue_summary":{ | |
"errors":6, | |
"warnings":2 | |
} | |
} | |
}, | |
"app\/code\/community\/Kodematix\/Inquiry\/Helper\/Data.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":14, | |
"logicalLoc":0, | |
"volume":0, | |
"length":0, | |
"vocabulary":0, | |
"effort":0, | |
"difficulty":"0", | |
"time":0, | |
"bugs":0, | |
"intelligentContent":0, | |
"maintenabilityIndexWithoutComment":"171", | |
"maintenabilityIndex":"191.12", | |
"commentWeight":20.12, | |
"instability":0, | |
"afferentCoupling":0, | |
"efferentCoupling":0, | |
"noc":1, | |
"noca":0, | |
"nocc":1, | |
"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\/community\/Kodematix\/Inquiry\/Model\/Inquiry.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":20, | |
"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":"99.48", | |
"commentWeight":16.98, | |
"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\/community\/Kodematix\/Inquiry\/Model\/Mysql4\/Inquiry\/Collection.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":20, | |
"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":"99.48", | |
"commentWeight":16.98, | |
"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":[ | |
{ | |
"type":"warning", | |
"line":12, | |
"severity":5, | |
"message":"Mysql4 classes are obsolete." | |
} | |
], | |
"issue_summary":{ | |
"errors":0, | |
"warnings":1 | |
} | |
} | |
}, | |
"app\/code\/community\/Kodematix\/Inquiry\/Model\/Mysql4\/Inquiry.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":18, | |
"logicalLoc":1, | |
"volume":19.65, | |
"length":7, | |
"vocabulary":7, | |
"effort":19.65, | |
"difficulty":"1", | |
"time":1, | |
"bugs":0.01, | |
"intelligentContent":19.65, | |
"maintenabilityIndexWithoutComment":"90.81", | |
"maintenabilityIndex":"108.66", | |
"commentWeight":17.85, | |
"instability":0, | |
"afferentCoupling":0, | |
"efferentCoupling":0, | |
"noc":1, | |
"noca":0, | |
"nocc":1, | |
"noi":0, | |
"nom":1, | |
"cyclomaticComplexity":1, | |
"myerInterval":"1:1", | |
"myerDistance":0, | |
"operators":0, | |
"lcom":1, | |
"sysc":0, | |
"rsysc":0, | |
"dc":0, | |
"rdc":0, | |
"sc":0, | |
"rsc":0 | |
} | |
}, | |
"phpcs":{ | |
"issues":[ | |
{ | |
"type":"warning", | |
"line":11, | |
"severity":5, | |
"message":"Mysql4 classes are obsolete." | |
} | |
], | |
"issue_summary":{ | |
"errors":0, | |
"warnings":1 | |
} | |
} | |
}, | |
"app\/code\/community\/Kodematix\/Inquiry\/sql\/inquiry_setup\/mysql4-install-0.1.0.php":{ | |
"phpmetrics":{ | |
"metrics":{ | |
"loc":44, | |
"logicalLoc":4, | |
"volume":79.73, | |
"length":24, | |
"vocabulary":10, | |
"effort":239.18, | |
"difficulty":"3", | |
"time":13, | |
"bugs":0.03, | |
"intelligentContent":26.58, | |
"maintenabilityIndexWithoutComment":"73.42", | |
"maintenabilityIndex":"84.99", | |
"commentWeight":11.57, | |
"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\/community\/Kodematix\/Inquiry\/etc\/config.xml":{ | |
"magerewrite":{ | |
"rewrites":{ | |
"blocks":[ | |
{ | |
"class":"Kodematix_Inquiry_Block_Inquiry", | |
"rewrite":"inquiry" | |
} | |
] | |
} | |
} | |
}, | |
"app\/design\/adminhtml\/default\/default\/template\/inquiry\/inquiry.phtml":{ | |
"phpcs":{ | |
"issues":[ | |
{ | |
"type":"warning", | |
"line":64, | |
"severity":5, | |
"message":"Unnecessary loading of a Magento data collection. Use the getSize() method instead." | |
}, | |
{ | |
"type":"error", | |
"line":71, | |
"severity":5, | |
"message":"The use of function getmodel() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":71, | |
"severity":5, | |
"message":"Model LSD method load() detected in loop" | |
} | |
], | |
"issue_summary":{ | |
"errors":2, | |
"warnings":1 | |
} | |
} | |
}, | |
"app\/design\/adminhtml\/default\/default\/template\/inquiry\/view.phtml":{ | |
"phpcs":{ | |
"issues":[ | |
{ | |
"type":"error", | |
"line":13, | |
"severity":5, | |
"message":"The use of function getmodel() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":121, | |
"severity":5, | |
"message":"The use of function stripslashes() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":121, | |
"severity":5, | |
"message":"The use of function stripslashes() is forbidden" | |
} | |
], | |
"issue_summary":{ | |
"errors":3, | |
"warnings":0 | |
} | |
} | |
}, | |
"app\/design\/frontend\/base\/default\/template\/inquiry\/inquiry.phtml":{ | |
"phpcs":{ | |
"issues":[ | |
{ | |
"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":14, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":15, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":16, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":17, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":18, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":19, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":20, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":21, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":22, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":23, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":24, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":25, | |
"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":28, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":29, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":30, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":31, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":32, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":33, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":34, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":35, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":36, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":37, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":82, | |
"severity":5, | |
"message":"The use of function getsingleton() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":93, | |
"severity":5, | |
"message":"The use of function getsingleton() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":96, | |
"severity":5, | |
"message":"The use of function getsingleton() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":107, | |
"severity":5, | |
"message":"The use of function getsingleton() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":176, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":177, | |
"severity":5, | |
"message":"The use of function app() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":178, | |
"severity":5, | |
"message":"The use of function getmodel() is forbidden" | |
} | |
], | |
"issue_summary":{ | |
"errors":33, | |
"warnings":0 | |
} | |
} | |
}, | |
"app\/design\/frontend\/base\/default\/template\/inquiry\/thanks.phtml":{ | |
"phpcs":{ | |
"issues":[ | |
{ | |
"type":"error", | |
"line":13, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
}, | |
{ | |
"type":"error", | |
"line":14, | |
"severity":5, | |
"message":"The use of function getstoreconfig() is forbidden" | |
} | |
], | |
"issue_summary":{ | |
"errors":2, | |
"warnings":0 | |
} | |
} | |
}, | |
"app\/design\/frontend\/base\/default\/template\/inquiry\/view.phtml":{ | |
"phpcs":{ | |
"issues":[ | |
], | |
"issue_summary":{ | |
"errors":0, | |
"warnings":0 | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment