-
-
Save nikita2206/f329e356f213aaac908f to your computer and use it in GitHub Desktop.
This file contains 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
~/.composer/vendor/bin/phpmd filename.php text cleancode,codesize,controversial,design,naming,unusedcode | |
filename.php:6 The function asd() has a Cyclomatic Complexity of 51. The configured cyclomatic complexity threshold is 10. | |
filename.php:6 The function asd() has an NPath complexity of 598759840800. The configured NPath complexity threshold is 200. | |
filename.php:6 The phpmd\node\functionnode asd() has 286 lines of code. Current threshold is set to 100. Avoid really long methods. | |
filename.php:26 Avoid using static access to class 'SystemProc' in method 'asd'. | |
filename.php:30 Avoid using static access to class 'SystemProc' in method 'asd'. | |
filename.php:32 Avoid unused local variables such as '$k'. | |
filename.php:40 The function asd() contains an exit expression. | |
filename.php:72 Avoid excessively long variable names like $markets_accounts_table. Keep variable name length under 20. | |
filename.php:90 Avoid excessively long variable names like $managed_customer_page. Keep variable name length under 20. | |
filename.php:98 Avoid unused local variables such as '$summ_rub_source_csv'. | |
filename.php:98 Avoid unused local variables such as '$summ_clicks_csv'. | |
filename.php:109 Avoid unused local variables such as '$err_acc_sum'. | |
filename.php:109 Avoid unused local variables such as '$err_campaign_sum'. | |
filename.php:109 Avoid unused local variables such as '$err_acc_click'. | |
filename.php:111 Avoid unused local variables such as '$err_campaigns'. | |
filename.php:160 Avoid unused local variables such as '$login'. | |
filename.php:161 Avoid unused local variables such as '$customer_id'. | |
filename.php:225 The method asd uses an else expression. Else is never necessary and you can simplify the code to work without else. | |
filename.php:239 Avoid unused local variables such as '$res_stop'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment