PHPMD report

Problems found

#FileLineProblem
1 /home/danp/git/moodle/question/behaviour/behaviourbase.php 42 This class has too many methods, consider refactoring it.
2 /home/danp/git/moodle/question/behaviour/behaviourbase.php 42 The class question_behaviour has an overall complexity of 55 which is very high. The configured complexity threshold is 50.
3 /home/danp/git/moodle/question/behaviour/interactive/behaviour.php 42 This class has too many methods, consider refactoring it.
4 /home/danp/git/moodle/question/category_class.php 126 This class has too many methods, consider refactoring it.
5 /home/danp/git/moodle/question/editlib.php 130 This class has too many methods, consider refactoring it.
6 /home/danp/git/moodle/question/editlib.php 827 This class has too many methods, consider refactoring it.
7 /home/danp/git/moodle/question/editlib.php 827 The class question_bank_view has an overall complexity of 123 which is very high. The configured complexity threshold is 50.
8 /home/danp/git/moodle/question/editlib.php 1070 The method build_query_sql() has a Cyclomatic Complexity of 10.
9 /home/danp/git/moodle/question/editlib.php 1298 The method display_question_list() has a Cyclomatic Complexity of 15.
10 /home/danp/git/moodle/question/editlib.php 1298 The method display_question_list() has an NPath complexity of 612.
11 /home/danp/git/moodle/question/editlib.php 1298 Avoid really long parameter lists.
12 /home/danp/git/moodle/question/editlib.php 1449 The method process_actions() has a Cyclomatic Complexity of 17.
13 /home/danp/git/moodle/question/editlib.php 1449 The method process_actions() has an NPath complexity of 480.
14 /home/danp/git/moodle/question/editlib.php 1565 The function question_edit_setup() has a Cyclomatic Complexity of 23.
15 /home/danp/git/moodle/question/editlib.php 1565 The function question_edit_setup() has an NPath complexity of 460800.
16 /home/danp/git/moodle/question/editlib.php 1565 Avoid really long methods.
17 /home/danp/git/moodle/question/editlib.php 1706 The function require_login_in_context() has a Cyclomatic Complexity of 11.
18 /home/danp/git/moodle/question/engine/bank.php 44 This class has too many methods, consider refactoring it.
19 /home/danp/git/moodle/question/engine/datalib.php 37 This class has too many methods, consider refactoring it.
20 /home/danp/git/moodle/question/engine/datalib.php 37 The class question_engine_data_mapper has an overall complexity of 54 which is very high. The configured complexity threshold is 50.
21 /home/danp/git/moodle/question/engine/lib.php 54 This class has too many methods, consider refactoring it.
22 /home/danp/git/moodle/question/engine/lib.php 388 Too many fields
23 /home/danp/git/moodle/question/engine/questionattempt.php 44 Avoid really long classes.
24 /home/danp/git/moodle/question/engine/questionattempt.php 44 This class has a bunch of public methods and attributes
25 /home/danp/git/moodle/question/engine/questionattempt.php 44 This class has too many methods, consider refactoring it.
26 /home/danp/git/moodle/question/engine/questionattempt.php 44 The class question_attempt has an overall complexity of 134 which is very high. The configured complexity threshold is 50.
27 /home/danp/git/moodle/question/engine/questionusage.php 52 This class has a bunch of public methods and attributes
28 /home/danp/git/moodle/question/engine/questionusage.php 52 This class has too many methods, consider refactoring it.
29 /home/danp/git/moodle/question/engine/questionusage.php 52 The class question_usage_by_activity has an overall complexity of 78 which is very high. The configured complexity threshold is 50.
30 /home/danp/git/moodle/question/engine/renderer.php 38 This class has too many methods, consider refactoring it.
31 /home/danp/git/moodle/question/engine/states.php 39 Too many fields
32 /home/danp/git/moodle/question/engine/states.php 39 This class has too many methods, consider refactoring it.
33 /home/danp/git/moodle/question/engine/upgrade/behaviourconverters.php 45 This class has too many methods, consider refactoring it.
34 /home/danp/git/moodle/question/engine/upgrade/upgradelib.php 43 This class has too many methods, consider refactoring it.
35 /home/danp/git/moodle/question/engine/upgrade/upgradelib.php 43 The class question_engine_attempt_upgrader has an overall complexity of 65 which is very high. The configured complexity threshold is 50.
36 /home/danp/git/moodle/question/format.php 59 Too many fields
37 /home/danp/git/moodle/question/format.php 59 This class has too many methods, consider refactoring it.
38 /home/danp/git/moodle/question/format.php 59 The class qformat_default has an overall complexity of 112 which is very high. The configured complexity threshold is 50.
39 /home/danp/git/moodle/question/format.php 297 The method importprocess() has a Cyclomatic Complexity of 25.
40 /home/danp/git/moodle/question/format.php 297 The method importprocess() has an NPath complexity of 140292.
41 /home/danp/git/moodle/question/format.php 297 Avoid really long methods.
42 /home/danp/git/moodle/question/format/blackboard_six/format.php 38 This class has too many methods, consider refactoring it.
43 /home/danp/git/moodle/question/format/blackboard_six/format.php 38 The class qformat_blackboard_six has an overall complexity of 172 which is very high. The configured complexity threshold is 50.
44 /home/danp/git/moodle/question/format/blackboard_six/format.php 60 The method clean_temp_dir() has a Cyclomatic Complexity of 15.
45 /home/danp/git/moodle/question/format/blackboard_six/format.php 60 The method clean_temp_dir() has an NPath complexity of 672.
46 /home/danp/git/moodle/question/format/blackboard_six/format.php 177 The method readdata() has a Cyclomatic Complexity of 11.
47 /home/danp/git/moodle/question/format/blackboard_six/format.php 286 The method create_raw_question() has a Cyclomatic Complexity of 17.
48 /home/danp/git/moodle/question/format/blackboard_six/format.php 286 Avoid really long methods.
49 /home/danp/git/moodle/question/format/blackboard_six/format.php 395 The method process_block() has a Cyclomatic Complexity of 18.
50 /home/danp/git/moodle/question/format/blackboard_six/format.php 505 The method process_responses() has a Cyclomatic Complexity of 11.
51 /home/danp/git/moodle/question/format/blackboard_six/format.php 626 The method process_fblank() has a Cyclomatic Complexity of 12.
52 /home/danp/git/moodle/question/format/blackboard_six/format.php 688 The method process_mc() has a Cyclomatic Complexity of 13.
53 /home/danp/git/moodle/question/format/blackboard_six/format.php 834 The method process_matching() has a Cyclomatic Complexity of 21.
54 /home/danp/git/moodle/question/format/blackboard_six/format.php 834 The method process_matching() has an NPath complexity of 4411.
55 /home/danp/git/moodle/question/format/examview/format.php 38 This class has too many methods, consider refactoring it.
56 /home/danp/git/moodle/question/format/gift/format.php 63 This class has too many methods, consider refactoring it.
57 /home/danp/git/moodle/question/format/gift/format.php 63 The class qformat_gift has an overall complexity of 118 which is very high. The configured complexity threshold is 50.
58 /home/danp/git/moodle/question/format/gift/format.php 162 The method readquestion() has a Cyclomatic Complexity of 63.
59 /home/danp/git/moodle/question/format/gift/format.php 162 The method readquestion() has an NPath complexity of 59486400.
60 /home/danp/git/moodle/question/format/gift/format.php 162 Avoid really long methods.
61 /home/danp/git/moodle/question/format/gift/format.php 612 The method writequestion() has a Cyclomatic Complexity of 23.
62 /home/danp/git/moodle/question/format/gift/format.php 612 Avoid really long methods.
63 /home/danp/git/moodle/question/format/learnwise/format.php 65 The method readquestion() has a Cyclomatic Complexity of 15.
64 /home/danp/git/moodle/question/format/learnwise/format.php 65 The method readquestion() has an NPath complexity of 1080.
65 /home/danp/git/moodle/question/format/missingword/format.php 59 The method readquestion() has a Cyclomatic Complexity of 18.
66 /home/danp/git/moodle/question/format/missingword/format.php 59 The method readquestion() has an NPath complexity of 1908.
67 /home/danp/git/moodle/question/format/missingword/format.php 59 Avoid really long methods.
68 /home/danp/git/moodle/question/format/qti_two/custommediafilter.php 33 The function custom_mediaplugin_filter() has a Cyclomatic Complexity of 10.
69 /home/danp/git/moodle/question/format/qti_two/custommediafilter.php 33 The function custom_mediaplugin_filter() has an NPath complexity of 384.
70 /home/danp/git/moodle/question/format/qti_two/custommediafilter.php 33 Avoid really long methods.
71 /home/danp/git/moodle/question/format/qti_two/format.php 42 This class has too many methods, consider refactoring it.
72 /home/danp/git/moodle/question/format/qti_two/format.php 42 The class qformat_qti_two has an overall complexity of 139 which is very high. The configured complexity threshold is 50.
73 /home/danp/git/moodle/question/format/qti_two/format.php 50 The method indent_xhtml() has a Cyclomatic Complexity of 14.
74 /home/danp/git/moodle/question/format/qti_two/format.php 50 The method indent_xhtml() has an NPath complexity of 521.
75 /home/danp/git/moodle/question/format/qti_two/format.php 464 The method xml_entitize() has a Cyclomatic Complexity of 12.
76 /home/danp/git/moodle/question/format/qti_two/format.php 517 The method writequestion() has a Cyclomatic Complexity of 21.
77 /home/danp/git/moodle/question/format/qti_two/format.php 517 The method writequestion() has an NPath complexity of 157300.
78 /home/danp/git/moodle/question/format/qti_two/format.php 517 Avoid really long methods.
79 /home/danp/git/moodle/question/format/webct/format.php 68 The function qformat_webct_convert_formula() has a Cyclomatic Complexity of 17.
80 /home/danp/git/moodle/question/format/webct/format.php 68 The function qformat_webct_convert_formula() has an NPath complexity of 656.
81 /home/danp/git/moodle/question/format/webct/format.php 169 The class qformat_webct has an overall complexity of 106 which is very high. The configured complexity threshold is 50.
82 /home/danp/git/moodle/question/format/webct/format.php 175 The method readquestions() has a Cyclomatic Complexity of 105.
83 /home/danp/git/moodle/question/format/webct/format.php 175 The method readquestions() has an NPath complexity of 1832848931115805704201.
84 /home/danp/git/moodle/question/format/webct/format.php 175 Avoid really long methods.
85 /home/danp/git/moodle/question/format/xhtml/format.php 48 The method writequestion() has a Cyclomatic Complexity of 14.
86 /home/danp/git/moodle/question/format/xml/format.php 48 Avoid really long classes.
87 /home/danp/git/moodle/question/format/xml/format.php 48 This class has too many methods, consider refactoring it.
88 /home/danp/git/moodle/question/format/xml/format.php 48 The class qformat_xml has an overall complexity of 178 which is very high. The configured complexity threshold is 50.
89 /home/danp/git/moodle/question/format/xml/format.php 704 The method import_calculated() has a Cyclomatic Complexity of 10.
90 /home/danp/git/moodle/question/format/xml/format.php 704 Avoid really long methods.
91 /home/danp/git/moodle/question/format/xml/format.php 877 The method readquestions() has a Cyclomatic Complexity of 19.
92 /home/danp/git/moodle/question/format/xml/format.php 1053 The method writequestion() has a Cyclomatic Complexity of 46.
93 /home/danp/git/moodle/question/format/xml/format.php 1053 The method writequestion() has an NPath complexity of 120480.
94 /home/danp/git/moodle/question/format/xml/format.php 1053 Avoid really long methods.
95 /home/danp/git/moodle/question/type/calculated/datasetdefinitions_form.php 70 The method definition() has a Cyclomatic Complexity of 12.
96 /home/danp/git/moodle/question/type/calculated/datasetdefinitions_form.php 70 Avoid really long methods.
97 /home/danp/git/moodle/question/type/calculated/datasetitems_form.php 36 The class question_dataset_dependent_items_form has an overall complexity of 71 which is very high. The configured complexity threshold is 50.
98 /home/danp/git/moodle/question/type/calculated/datasetitems_form.php 108 The method definition() has a Cyclomatic Complexity of 24.
99 /home/danp/git/moodle/question/type/calculated/datasetitems_form.php 108 The method definition() has an NPath complexity of 87552.
100 /home/danp/git/moodle/question/type/calculated/datasetitems_form.php 108 Avoid really long methods.
101 /home/danp/git/moodle/question/type/calculated/datasetitems_form.php 358 The method set_data() has a Cyclomatic Complexity of 29.
102 /home/danp/git/moodle/question/type/calculated/datasetitems_form.php 358 The method set_data() has an NPath complexity of 222768.
103 /home/danp/git/moodle/question/type/calculated/datasetitems_form.php 358 Avoid really long methods.
104 /home/danp/git/moodle/question/type/calculated/db/upgrade.php 34 The function xmldb_qtype_calculated_upgrade() has a Cyclomatic Complexity of 23.
105 /home/danp/git/moodle/question/type/calculated/db/upgrade.php 34 The function xmldb_qtype_calculated_upgrade() has an NPath complexity of 173745.
106 /home/danp/git/moodle/question/type/calculated/db/upgrade.php 34 Avoid really long methods.
107 /home/danp/git/moodle/question/type/calculated/db/upgradelib.php 39 This class has too many methods, consider refactoring it.
108 /home/danp/git/moodle/question/type/calculated/edit_calculated_form.php 195 The method validation() has a Cyclomatic Complexity of 13.
109 /home/danp/git/moodle/question/type/calculated/edit_calculated_form.php 195 The method validation() has an NPath complexity of 300.
110 /home/danp/git/moodle/question/type/calculated/question.php 261 The class qtype_calculated_variable_substituter has an overall complexity of 69 which is very high. The configured complexity threshold is 50.
111 /home/danp/git/moodle/question/type/calculated/question.php 405 The method get_formula_errors() has a Cyclomatic Complexity of 54.
112 /home/danp/git/moodle/question/type/calculated/question.php 405 The method get_formula_errors() has an NPath complexity of 404.
113 /home/danp/git/moodle/question/type/calculated/questiontype.php 38 Avoid really long classes.
114 /home/danp/git/moodle/question/type/calculated/questiontype.php 38 This class has a bunch of public methods and attributes
115 /home/danp/git/moodle/question/type/calculated/questiontype.php 38 This class has too many methods, consider refactoring it.
116 /home/danp/git/moodle/question/type/calculated/questiontype.php 38 The class qtype_calculated has an overall complexity of 321 which is very high. The configured complexity threshold is 50.
117 /home/danp/git/moodle/question/type/calculated/questiontype.php 131 The method save_question_options() has a Cyclomatic Complexity of 24.
118 /home/danp/git/moodle/question/type/calculated/questiontype.php 131 The method save_question_options() has an NPath complexity of 1026432.
119 /home/danp/git/moodle/question/type/calculated/questiontype.php 131 Avoid really long methods.
120 /home/danp/git/moodle/question/type/calculated/questiontype.php 348 The method validate_form() has a Cyclomatic Complexity of 11.
121 /home/danp/git/moodle/question/type/calculated/questiontype.php 348 The method validate_form() has an NPath complexity of 205.
122 /home/danp/git/moodle/question/type/calculated/questiontype.php 589 The method save_question() has a Cyclomatic Complexity of 17.
123 /home/danp/git/moodle/question/type/calculated/questiontype.php 765 The method update_dataset_options() has a Cyclomatic Complexity of 15.
124 /home/danp/git/moodle/question/type/calculated/questiontype.php 843 The method save_dataset_items() has a Cyclomatic Complexity of 43.
125 /home/danp/git/moodle/question/type/calculated/questiontype.php 843 The method save_dataset_items() has an NPath complexity of 41568800.
126 /home/danp/git/moodle/question/type/calculated/questiontype.php 843 Avoid really long methods.
127 /home/danp/git/moodle/question/type/calculated/questiontype.php 1289 The method save_dataset_definitions() has a Cyclomatic Complexity of 12.
128 /home/danp/git/moodle/question/type/calculated/questiontype.php 1371 The method save_as_new_dataset_definitions() has a Cyclomatic Complexity of 14.
129 /home/danp/git/moodle/question/type/calculated/questiontype.php 1371 The method save_as_new_dataset_definitions() has an NPath complexity of 212.
130 /home/danp/git/moodle/question/type/calculated/questiontype.php 1500 The method dataset_options_from_database() has a Cyclomatic Complexity of 10.
131 /home/danp/git/moodle/question/type/calculated/questiontype.php 1601 The method print_dataset_definitions_category() has a Cyclomatic Complexity of 11.
132 /home/danp/git/moodle/question/type/calculated/questiontype.php 1678 The method print_dataset_definitions_category_shared() has a Cyclomatic Complexity of 17.
133 /home/danp/git/moodle/question/type/calculated/questiontype.php 1678 The method print_dataset_definitions_category_shared() has an NPath complexity of 1365.
134 /home/danp/git/moodle/question/type/calculated/questiontype.php 1678 Avoid really long methods.
135 /home/danp/git/moodle/question/type/calculated/questiontype.php 1836 The function qtype_calculated_calculate_answer() has a Cyclomatic Complexity of 17.
136 /home/danp/git/moodle/question/type/calculated/questiontype.php 1836 The function qtype_calculated_calculate_answer() has an NPath complexity of 535.
137 /home/danp/git/moodle/question/type/calculated/questiontype.php 1836 Avoid really long methods.
138 /home/danp/git/moodle/question/type/calculated/questiontype.php 1940 The function qtype_calculated_find_formula_errors() has a Cyclomatic Complexity of 54.
139 /home/danp/git/moodle/question/type/calculated/questiontype.php 1940 The function qtype_calculated_find_formula_errors() has an NPath complexity of 404.
140 /home/danp/git/moodle/question/type/calculatedmulti/db/upgradelib.php 39 This class has too many methods, consider refactoring it.
141 /home/danp/git/moodle/question/type/calculatedmulti/edit_calculatedmulti_form.php 36 The class qtype_calculatedmulti_edit_form has an overall complexity of 50 which is very high. The configured complexity threshold is 50.
142 /home/danp/git/moodle/question/type/calculatedmulti/edit_calculatedmulti_form.php 225 The method validation() has a Cyclomatic Complexity of 33.
143 /home/danp/git/moodle/question/type/calculatedmulti/edit_calculatedmulti_form.php 225 The method validation() has an NPath complexity of 2249340.
144 /home/danp/git/moodle/question/type/calculatedmulti/edit_calculatedmulti_form.php 225 Avoid really long methods.
145 /home/danp/git/moodle/question/type/calculatedmulti/questiontype.php 45 The method save_question_options() has a Cyclomatic Complexity of 20.
146 /home/danp/git/moodle/question/type/calculatedmulti/questiontype.php 45 The method save_question_options() has an NPath complexity of 84240.
147 /home/danp/git/moodle/question/type/calculatedmulti/questiontype.php 45 Avoid really long methods.
148 /home/danp/git/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php 38 The class qtype_calculatedsimple_edit_form has an overall complexity of 88 which is very high. The configured complexity threshold is 50.
149 /home/danp/git/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php 72 The method __construct() has a Cyclomatic Complexity of 42.
150 /home/danp/git/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php 72 The method __construct() has an NPath complexity of 91410.
151 /home/danp/git/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php 72 Avoid really long methods.
152 /home/danp/git/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php 294 The method definition_inner() has a Cyclomatic Complexity of 42.
153 /home/danp/git/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php 294 The method definition_inner() has an NPath complexity of 61870620.
154 /home/danp/git/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php 294 Avoid really long methods.
155 /home/danp/git/moodle/question/type/calculatedsimple/questiontype.php 38 The class qtype_calculatedsimple has an overall complexity of 50 which is very high. The configured complexity threshold is 50.
156 /home/danp/git/moodle/question/type/calculatedsimple/questiontype.php 43 The method save_question_options() has a Cyclomatic Complexity of 38.
157 /home/danp/git/moodle/question/type/calculatedsimple/questiontype.php 43 The method save_question_options() has an NPath complexity of 99050688.
158 /home/danp/git/moodle/question/type/calculatedsimple/questiontype.php 43 Avoid really long methods.
159 /home/danp/git/moodle/question/type/edit_question_form.php 39 This class has too many methods, consider refactoring it.
160 /home/danp/git/moodle/question/type/edit_question_form.php 39 The class question_edit_form has an overall complexity of 81 which is very high. The configured complexity threshold is 50.
161 /home/danp/git/moodle/question/type/edit_question_form.php 90 The method definition() has a Cyclomatic Complexity of 23.
162 /home/danp/git/moodle/question/type/edit_question_form.php 90 The method definition() has an NPath complexity of 7150.
163 /home/danp/git/moodle/question/type/edit_question_form.php 90 Avoid really long methods.
164 /home/danp/git/moodle/question/type/edit_question_form.php 423 The method set_data() has a Cyclomatic Complexity of 13.
165 /home/danp/git/moodle/question/type/edit_question_form.php 423 The method set_data() has an NPath complexity of 50000.
166 /home/danp/git/moodle/question/type/match/db/upgrade.php 34 The function xmldb_qtype_match_upgrade() has a Cyclomatic Complexity of 20.
167 /home/danp/git/moodle/question/type/match/db/upgrade.php 34 The function xmldb_qtype_match_upgrade() has an NPath complexity of 19683.
168 /home/danp/git/moodle/question/type/match/db/upgrade.php 34 Avoid really long methods.
169 /home/danp/git/moodle/question/type/match/edit_match_form.php 108 The method validation() has a Cyclomatic Complexity of 10.
170 /home/danp/git/moodle/question/type/match/question.php 36 This class has too many methods, consider refactoring it.
171 /home/danp/git/moodle/question/type/match/question.php 36 The class qtype_match_question has an overall complexity of 64 which is very high. The configured complexity threshold is 50.
172 /home/danp/git/moodle/question/type/match/questiontype.php 50 The method save_question_options() has a Cyclomatic Complexity of 12.
173 /home/danp/git/moodle/question/type/match/questiontype.php 50 The method save_question_options() has an NPath complexity of 448.
174 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 36 The class qtype_multianswer_edit_form has an overall complexity of 115 which is very high. The configured complexity threshold is 50.
175 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 82 The method definition_inner() has a Cyclomatic Complexity of 42.
176 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 82 The method definition_inner() has an NPath complexity of 25494210.
177 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 82 Avoid really long methods.
178 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 260 The method set_data() has a Cyclomatic Complexity of 42.
179 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 260 The method set_data() has an NPath complexity of 4252184.
180 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 260 Avoid really long methods.
181 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 431 The method validation() has a Cyclomatic Complexity of 23.
182 /home/danp/git/moodle/question/type/multianswer/edit_multianswer_form.php 431 The method validation() has an NPath complexity of 4431.
183 /home/danp/git/moodle/question/type/multianswer/question.php 42 The class qtype_multianswer_question has an overall complexity of 56 which is very high. The configured complexity threshold is 50.
184 /home/danp/git/moodle/question/type/multianswer/question.php 192 The method combine_states() has a Cyclomatic Complexity of 12.
185 /home/danp/git/moodle/question/type/multianswer/questiontype.php 84 The method save_question_options() has a Cyclomatic Complexity of 17.
186 /home/danp/git/moodle/question/type/multianswer/questiontype.php 84 The method save_question_options() has an NPath complexity of 600.
187 /home/danp/git/moodle/question/type/multianswer/questiontype.php 286 The function qtype_multianswer_extract_question() has a Cyclomatic Complexity of 18.
188 /home/danp/git/moodle/question/type/multianswer/questiontype.php 286 The function qtype_multianswer_extract_question() has an NPath complexity of 652.
189 /home/danp/git/moodle/question/type/multianswer/questiontype.php 286 Avoid really long methods.
190 /home/danp/git/moodle/question/type/multianswer/renderer.php 310 The method subquestion() has a Cyclomatic Complexity of 12.
191 /home/danp/git/moodle/question/type/multianswer/renderer.php 310 The method subquestion() has an NPath complexity of 200.
192 /home/danp/git/moodle/question/type/multichoice/db/upgrade.php 34 The function xmldb_qtype_multichoice_upgrade() has a Cyclomatic Complexity of 12.
193 /home/danp/git/moodle/question/type/multichoice/db/upgrade.php 34 The function xmldb_qtype_multichoice_upgrade() has an NPath complexity of 297.
194 /home/danp/git/moodle/question/type/multichoice/db/upgrade.php 34 Avoid really long methods.
195 /home/danp/git/moodle/question/type/multichoice/edit_multichoice_form.php 101 The method validation() has a Cyclomatic Complexity of 10.
196 /home/danp/git/moodle/question/type/multichoice/question.php 94 The method check_file_access() has a Cyclomatic Complexity of 13.
197 /home/danp/git/moodle/question/type/multichoice/question.php 242 The class qtype_multichoice_multi_question has an overall complexity of 52 which is very high. The configured complexity threshold is 50.
198 /home/danp/git/moodle/question/type/multichoice/questiontype.php 44 The method save_question_options() has a Cyclomatic Complexity of 15.
199 /home/danp/git/moodle/question/type/multichoice/questiontype.php 44 The method save_question_options() has an NPath complexity of 3264.
200 /home/danp/git/moodle/question/type/multichoice/questiontype.php 44 Avoid really long methods.
201 /home/danp/git/moodle/question/type/multichoice/renderer.php 55 The method formulation_and_controls() has a Cyclomatic Complexity of 14.
202 /home/danp/git/moodle/question/type/multichoice/renderer.php 55 The method formulation_and_controls() has an NPath complexity of 728.
203 /home/danp/git/moodle/question/type/numerical/db/upgrade.php 34 The function xmldb_qtype_numerical_upgrade() has a Cyclomatic Complexity of 23.
204 /home/danp/git/moodle/question/type/numerical/db/upgrade.php 34 The function xmldb_qtype_numerical_upgrade() has an NPath complexity of 39852.
205 /home/danp/git/moodle/question/type/numerical/db/upgrade.php 34 Avoid really long methods.
206 /home/danp/git/moodle/question/type/numerical/edit_numerical_form.php 39 This class has too many methods, consider refactoring it.
207 /home/danp/git/moodle/question/type/numerical/edit_numerical_form.php 252 The method validate_answers() has a Cyclomatic Complexity of 10.
208 /home/danp/git/moodle/question/type/numerical/edit_numerical_form.php 325 The method validate_numerical_options() has a Cyclomatic Complexity of 12.
209 /home/danp/git/moodle/question/type/numerical/edit_numerical_form.php 325 The method validate_numerical_options() has an NPath complexity of 390.
210 /home/danp/git/moodle/question/type/numerical/question.php 38 This class has too many methods, consider refactoring it.
211 /home/danp/git/moodle/question/type/numerical/question.php 38 The class qtype_numerical_question has an overall complexity of 64 which is very high. The configured complexity threshold is 50.
212 /home/danp/git/moodle/question/type/numerical/questiontype.php 42 This class has too many methods, consider refactoring it.
213 /home/danp/git/moodle/question/type/numerical/questiontype.php 42 The class qtype_numerical has an overall complexity of 69 which is very high. The configured complexity threshold is 50.
214 /home/danp/git/moodle/question/type/numerical/questiontype.php 151 The method save_question_options() has a Cyclomatic Complexity of 17.
215 /home/danp/git/moodle/question/type/numerical/questiontype.php 151 The method save_question_options() has an NPath complexity of 6936.
216 /home/danp/git/moodle/question/type/numerical/renderer.php 34 The method formulation_and_controls() has a Cyclomatic Complexity of 15.
217 /home/danp/git/moodle/question/type/numerical/renderer.php 34 The method formulation_and_controls() has an NPath complexity of 2112.
218 /home/danp/git/moodle/question/type/numerical/renderer.php 34 Avoid really long methods.
219 /home/danp/git/moodle/question/type/questionbase.php 41 Too many fields
220 /home/danp/git/moodle/question/type/questiontypebase.php 48 Avoid really long classes.
221 /home/danp/git/moodle/question/type/questiontypebase.php 48 This class has too many methods, consider refactoring it.
222 /home/danp/git/moodle/question/type/questiontypebase.php 48 The class question_type has an overall complexity of 142 which is very high. The configured complexity threshold is 50.
223 /home/danp/git/moodle/question/type/questiontypebase.php 341 The method save_question() has a Cyclomatic Complexity of 20.
224 /home/danp/git/moodle/question/type/questiontypebase.php 341 The method save_question() has an NPath complexity of 6480000.
225 /home/danp/git/moodle/question/type/questiontypebase.php 341 Avoid really long methods.
226 /home/danp/git/moodle/question/type/questiontypebase.php 492 The method save_hints() has a Cyclomatic Complexity of 14.
227 /home/danp/git/moodle/question/type/questiontypebase.php 492 The method save_hints() has an NPath complexity of 1300.
228 /home/danp/git/moodle/question/type/random/questiontype.php 42 This class has too many methods, consider refactoring it.
229 /home/danp/git/moodle/question/type/randomsamatch/questiontype.php 90 The method create_session_and_responses() has a Cyclomatic Complexity of 12.
230 /home/danp/git/moodle/question/type/randomsamatch/questiontype.php 90 The method create_session_and_responses() has an NPath complexity of 336.
231 /home/danp/git/moodle/question/type/randomsamatch/questiontype.php 168 The method restore_session_and_responses() has a Cyclomatic Complexity of 11.
232 /home/danp/git/moodle/question/type/rendererbase.php 36 This class has too many methods, consider refactoring it.
233 /home/danp/git/moodle/question/type/shortanswer/questiontype.php 59 The method save_question_options() has a Cyclomatic Complexity of 10.