\ww1_solders_set
Класс хранения результатов поиска по спискам погибших
Synopsis
- // members
- public $records;
- public $records_cnt;
- // Inherited members from ww1_records_set
- protected $page;
- // methods
- public void __construct()
- private void _show_report()
- public void show_report()
- // Inherited methods from ww1_records_set
- public void __construct()
- public abstract void show_report()
Hierarchy
Extends
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
82 - 201 | CyclomaticComplexity | The method _show_report() has a Cyclomatic Complexity of 32. The configured cyclomatic complexity threshold is 10. |
82 - 201 | NPathComplexity | The method _show_report() has an NPath complexity of 2612768. The configured NPath complexity threshold is 200. |
82 - 201 | ExcessiveMethodLength | The method _show_report() has 120 lines of code. Current threshold is set to 100. Avoid really long methods. |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
28 | 5 | error | Visibility must be declared on method "__construct" |
34 | 14 | error | Method name "ww1_records_set::show_report" is not in camel caps format |
34 | 14 | error | Visibility must be declared on method "show_report" |
44 | 9 | error | The var keyword must not be used to declare a property |
44 | 9 | error | Visibility must be declared on property "$records" |
49 | 5 | error | Visibility must be declared on method "__construct" |
49 | 65 | error | TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" |
55 | 13 | error | Inline control structures are not allowed |
60 | 13 | error | Inline control structures are not allowed |
65 | 13 | error | Inline control structures are not allowed |
73 | 48 | error | TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" |
82 | 13 | warning | Method name "_show_report" should not be prefixed with an underscore to indicate visibility |
82 | 13 | error | Method name "ww1_solders_set::_show_report" is not in camel caps format |
85 | 9 | error | Inline control structures are not allowed |
102 | 151 | warning | Line exceeds 120 characters; contains 151 characters |
103 | 9 | error | Inline control structures are not allowed |
105 | 9 | error | Inline control structures are not allowed |
112 | 186 | warning | Line exceeds 120 characters; contains 186 characters |
113 | 274 | warning | Line exceeds 120 characters; contains 274 characters |
116 | 17 | error | Inline control structures are not allowed |
120 | 21 | error | Inline control structures are not allowed |
125 | 21 | error | Inline control structures are not allowed |
132 | 17 | error | Inline control structures are not allowed |
134 | 162 | warning | Line exceeds 120 characters; contains 162 characters |
143 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
145 | 17 | error | Line indented incorrectly; expected 0 spaces, found 16 |
146 | 21 | error | Inline control structures are not allowed |
149 | 21 | error | Inline control structures are not allowed |
155 | 21 | error | Line indented incorrectly; expected -12 spaces, found 20 |
156 | 25 | error | Line indented incorrectly; expected -8 spaces, found 24 |
157 | 127 | warning | Line exceeds 120 characters; contains 127 characters |
158 | 29 | error | Line indented incorrectly; expected -4 spaces, found 28 |
159 | 154 | warning | Line exceeds 120 characters; contains 154 characters |
160 | 29 | error | Line indented incorrectly; expected -4 spaces, found 28 |
161 | 126 | warning | Line exceeds 120 characters; contains 126 characters |
162 | 29 | error | Line indented incorrectly; expected -4 spaces, found 28 |
163 | 25 | error | Line indented incorrectly; expected -8 spaces, found 24 |
165 | 25 | error | Line indented incorrectly; expected -8 spaces, found 24 |
167 | 25 | error | Line indented incorrectly; expected -8 spaces, found 24 |
168 | 21 | error | Line indented incorrectly; expected -12 spaces, found 20 |
170 | 21 | error | Line indented incorrectly; expected -12 spaces, found 20 |
172 | 25 | error | Inline control structures are not allowed |
174 | 25 | error | Line indented incorrectly; expected -8 spaces, found 24 |
177 | 29 | error | Inline control structures are not allowed |
180 | 25 | error | Line indented incorrectly; expected -8 spaces, found 24 |
182 | 21 | error | Line indented incorrectly; expected -12 spaces, found 20 |
183 | 17 | error | Line indented incorrectly; expected 0 spaces, found 16 |
193 | 126 | warning | Line exceeds 120 characters; contains 126 characters |
194 | 171 | warning | Line exceeds 120 characters; contains 171 characters |
195 | 124 | warning | Line exceeds 120 characters; contains 124 characters |
196 | 213 | warning | Line exceeds 120 characters; contains 213 characters |
200 | 169 | warning | Line exceeds 120 characters; contains 169 characters |
209 | 5 | error | Method name "ww1_solders_set::show_report" is not in camel caps format |
209 | 5 | error | Visibility must be declared on method "show_report" |
209 | 42 | error | TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" |
212 | 181 | warning | Line exceeds 120 characters; contains 181 characters |
218 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
219 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
220 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
221 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
221 | 286 | warning | Line exceeds 120 characters; contains 296 characters |
222 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
223 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
223 | 129 | warning | Line exceeds 120 characters; contains 139 characters |
224 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
225 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
225 | 156 | warning | Line exceeds 120 characters; contains 166 characters |
226 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
227 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
Members
protected
- $page
public
- $records
- $records_cnt
Methods
private
- _show_report() — For internal use.
public
- __construct()
- show_report() — Вывод результатов поиска в виде html-таблицы
Inherited from ww1_records_set
public
History
-
2017-05-17T09:50:09+00:00 (commit #bcd6e9c)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2
-
2017-05-16T19:52:59+00:00 (commit #fd0a296)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2 applied
-
2016-01-25T17:45:50+00:00 (commit #97e2af2)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Pre v.3.0
-
2015-04-02T12:09:45+00:00 (commit #80007ff)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Added advertizing. Added SCSS processor.
-
2015-03-28T21:15:41+00:00 (commit #158813e)
Author: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru) / Commiter: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru)
ję v2
-
2015-03-26T21:20:33+00:00 (commit #fa63be8)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
To all files added checking that class GB_Hooks are exists.
-
2015-03-26T15:50:21+00:00 (commit #b1f470c)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#64: Система автоматического перевода личных имён на другие языки https://github.com/Limych/GeniBase/issues/issue/64
-
2015-03-23T11:15:12+00:00 (commit #a0eff45)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
New pagination function. And fixed error of cron usage.
-
2015-03-19T00:14:27+00:00 (commit #9500353)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#61: Баг при пустом результате при полном поиске по ФИО https://github.com/Limych/GeniBase/issues/issue/61
-
2015-03-17T22:34:17+00:00 (commit #28c49e6)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#23: Написать автоматические тесты для всей системы https://github.com/Limych/GeniBase/issues/issue/23
-
2015-03-17T17:00:10+00:00 (commit #4176d2e)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#20: Перевод всего встроенного в систему текста на gettext. Английская и русская локализации системы https://github.com/Limych/GeniBase/issues/issue/20
-
2015-03-17T08:43:40+00:00 (commit #a1ec47c)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#20, #53, #58, #55, #56, #57: Перевод всего встроенного в систему текста на gettext. Английская и русская локализации системы https://github.com/Limych/GeniBase/issues/issue/20
-
2015-03-14T17:05:33+00:00 (commit #1e65a19)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#20: Перевод всего встроенного в систему текста на gettext https://github.com/Limych/GeniBase/issues/issue/20 Also all non-GeniBase code moved from core folder to source root.
-
2015-03-13T19:41:13+00:00 (commit #839eee5)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Setting user ID cookie and some minor code changes. #50
-
2015-03-11T22:03:11+00:00 (commit #bff9e2e)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Renamed some SQL-tables and fields and some bugfixes. #28, #43
-
2015-03-11T20:40:06+00:00 (commit #d811aca)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Added actions.