PHPMD report

Problems found

#FileLineProblem
1 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/helpers/recaptcha_helper.php 81 The function _recaptcha_http_post() contains an exit expression.
2 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/helpers/recaptcha_helper.php 109 The function recaptcha_get_html() contains an exit expression.
3 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/helpers/recaptcha_helper.php 152 The function recaptcha_check_answer() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
4 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/helpers/recaptcha_helper.php 155 The function recaptcha_check_answer() contains an exit expression.
5 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/helpers/recaptcha_helper.php 159 The function recaptcha_check_answer() contains an exit expression.
6 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/helpers/recaptcha_helper.php 216 The function _recaptcha_aes_encrypt() contains an exit expression.
7 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/helpers/recaptcha_helper.php 232 The function recaptcha_mailhide_url() contains an exit expression.
8 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth.php 38 The class Flexi_auth has 1116 lines of code. Current threshold is 1000. Avoid really long classes.
9 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth.php 38 The class Flexi_auth has 48 public methods and attributes. Consider to reduce the number of public items under 45.
10 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth.php 38 The class Flexi_auth has 42 methods. Consider refactoring Flexi_auth to keep number of methods under 10.
11 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth.php 38 The class Flexi_auth has an overall complexity of 103 which is very high. The configured complexity threshold is 50.
12 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth_lite.php 37 The class Flexi_auth_lite has 32 methods. Consider refactoring Flexi_auth_lite to keep number of methods under 10.
13 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth_lite.php 37 The class Flexi_auth_lite has an overall complexity of 104 which is very high. The configured complexity threshold is 50.
14 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth_lite.php 63 The method __call() has a Cyclomatic Complexity of 16. The configured cyclomatic complexity threshold is 10.
15 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth_lite.php 63 The method __call() has an NPath complexity of 87504. The configured NPath complexity threshold is 200.
16 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Flexi_auth_lite.php 246 The method is_privileged() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
17 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Format.php 10 The class Format has 13 methods. Consider refactoring Format to keep number of methods under 10.
18 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Format.php 87 The method to_xml() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
19 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/Format.php 87 The method to_xml() has an NPath complexity of 1332. The configured NPath complexity threshold is 200.
20 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 16 The class REST_Controller has 1258 lines of code. Current threshold is 1000. Avoid really long classes.
21 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 16 The class REST_Controller has 31 methods. Consider refactoring REST_Controller to keep number of methods under 10.
22 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 16 The class REST_Controller has an overall complexity of 181 which is very high. The configured complexity threshold is 50.
23 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 146 The method __construct() has a Cyclomatic Complexity of 15. The configured cyclomatic complexity threshold is 10.
24 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 146 The method __construct() has an NPath complexity of 900. The configured NPath complexity threshold is 200.
25 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 146 The method __construct() has 109 lines of code. Current threshold is set to 100. Avoid really long methods.
26 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 266 The method _remap() has a Cyclomatic Complexity of 22. The configured cyclomatic complexity threshold is 10.
27 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 266 The method _remap() has an NPath complexity of 3528. The configured NPath complexity threshold is 200.
28 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 361 The method response() has a Cyclomatic Complexity of 15. The configured cyclomatic complexity threshold is 10.
29 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 434 The method response() contains an exit expression.
30 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 482 The method _detect_output_format() has a Cyclomatic Complexity of 18. The configured cyclomatic complexity threshold is 10.
31 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 482 The method _detect_output_format() has an NPath complexity of 330. The configured NPath complexity threshold is 200.
32 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 594 The method _detect_api_key() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
33 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/REST_Controller.php 1199 The method _prepare_digest_auth() contains an exit expression.
34 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/phpass/PasswordHash.php 104 The method crypt_private() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
35 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/libraries/phpass/PasswordHash.php 208 The method HashPassword() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
36 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 34 The class Flexi_auth_lite_model has 14 methods. Consider refactoring Flexi_auth_lite_model to keep number of methods under 10.
37 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 34 The class Flexi_auth_lite_model has an overall complexity of 110 which is very high. The configured complexity threshold is 50.
38 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 36 The method __construct() has a Cyclomatic Complexity of 18. The configured cyclomatic complexity threshold is 10.
39 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 36 The method __construct() has an NPath complexity of 460. The configured NPath complexity threshold is 200.
40 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 36 The method __construct() has 129 lines of code. Current threshold is set to 100. Avoid really long methods.
41 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 527 The method set_message() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
42 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 527 The method set_message() has an NPath complexity of 317. The configured NPath complexity threshold is 200.
43 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 595 The method get_messages() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
44 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 595 The method get_messages() has an NPath complexity of 10801. The configured NPath complexity threshold is 200.
45 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 742 The method set_sql_to_var() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.
46 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_lite_model.php 793 The method set_custom_sql_to_db() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
47 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 35 The class Flexi_auth_model has 2303 lines of code. Current threshold is 1000. Avoid really long classes.
48 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 35 The class Flexi_auth_model has 47 public methods and attributes. Consider to reduce the number of public items under 45.
49 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 35 The class Flexi_auth_model has 47 methods. Consider refactoring Flexi_auth_model to keep number of methods under 10.
50 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 35 The class Flexi_auth_model has an overall complexity of 268 which is very high. The configured complexity threshold is 50.
51 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 107 The method insert_user() has a Cyclomatic Complexity of 23. The configured cyclomatic complexity threshold is 10.
52 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 107 The method insert_user() has an NPath complexity of 1650000. The configured NPath complexity threshold is 200.
53 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 107 The method insert_user() has 120 lines of code. Current threshold is set to 100. Avoid really long methods.
54 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 238 The method update_user() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
55 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 383 The method insert_custom_user_data() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
56 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 383 The method insert_custom_user_data() has an NPath complexity of 380. The configured NPath complexity threshold is 200.
57 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 442 The method update_custom_user_data() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.
58 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 1518 The method login() has a Cyclomatic Complexity of 17. The configured cyclomatic complexity threshold is 10.
59 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 1518 The method login() has an NPath complexity of 1548. The configured NPath complexity threshold is 200.
60 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 1518 The method login() has 109 lines of code. Current threshold is set to 100. Avoid really long methods.
61 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 1635 The method login_remembered_user() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
62 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 1736 The method set_login_sessions() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
63 /home/riska/Adatbank/Egyetem/Msc/Diplomamunka/Proof concepts/Codeigniter/application/models/flexi_auth_model.php 2271 The method math_captcha() contains an eval expression.