\GB_Dependencies
Synopsis
- // members
- public array $registered = ;
- public array $queue = ;
- public array $to_do = ;
- public array $done = ;
- public array $args = ;
- public array $groups = ;
- public integer $group = 0;
- // methods
- public array do_items()
- public bool do_item()
- public bool all_deps()
- public bool add()
- public bool add_data()
- public mixed get_data()
- public void remove()
- public void enqueue()
- public void dequeue()
- protected boolean recurse_deps()
- public bool query()
- public bool set_group()
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
176 - 219 | CyclomaticComplexity | The method all_deps() has a Cyclomatic Complexity of 15. The configured cyclomatic complexity threshold is 10. |
176 - 219 | NPathComplexity | The method all_deps() has an NPath complexity of 866. The configured NPath complexity threshold is 200. |
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
102 | 12 | error | Method name "GB_Dependencies::do_items" is not in camel caps format |
112 | 94 | error | Blank line found at start of control structure |
118 | 1 | warning | Line exceeds 120 characters; contains 126 characters |
119 | 1 | warning | Line exceeds 120 characters; contains 147 characters |
134 | 17 | error | Inline control structures are not allowed |
154 | 12 | error | Method name "GB_Dependencies::do_item" is not in camel caps format |
176 | 12 | error | Method name "GB_Dependencies::all_deps" is not in camel caps format |
178 | 9 | error | Inline control structures are not allowed |
186 | 13 | error | Inline control structures are not allowed |
191 | 13 | error | Inline control structures are not allowed |
195 | 13 | error | Inline control structures are not allowed |
197 | 13 | error | Inline control structures are not allowed |
197 | 132 | warning | Line exceeds 120 characters; contains 132 characters |
199 | 13 | error | Inline control structures are not allowed |
199 | 122 | warning | Line exceeds 120 characters; contains 122 characters |
203 | 17 | error | Inline control structures are not allowed |
205 | 17 | error | Expected 1 space after ELSE keyword; newline found |
205 | 17 | error | Inline control structures are not allowed |
209 | 13 | error | Inline control structures are not allowed |
212 | 13 | error | Inline control structures are not allowed |
243 | 9 | error | Inline control structures are not allowed |
265 | 12 | error | Method name "GB_Dependencies::add_data" is not in camel caps format |
267 | 9 | error | Inline control structures are not allowed |
287 | 12 | error | Method name "GB_Dependencies::get_data" is not in camel caps format |
289 | 9 | error | Inline control structures are not allowed |
292 | 9 | error | Inline control structures are not allowed |
310 | 9 | error | Inline control structures are not allowed |
334 | 17 | error | Inline control structures are not allowed |
375 | 15 | error | Method name "GB_Dependencies::recurse_deps" is not in camel caps format |
408 | 17 | error | Inline control structures are not allowed |
442 | 12 | error | Method name "GB_Dependencies::set_group" is not in camel caps format |
446 | 9 | error | Inline control structures are not allowed |
448 | 9 | error | Expected 1 space after ELSE keyword; newline found |
448 | 9 | error | Inline control structures are not allowed |
451 | 9 | error | Inline control structures are not allowed |
Members
public
- $args
—
array
An array of additional arguments passed when a handle is registered. - $done
—
array
An array of _GB_Dependency handle objects already queued. - $group
—
int
A handle group to enqueue. - $groups
—
array
An array of handle groups to enqueue. - $queue
—
array
An array of queued _GB_Dependency handle objects. - $registered
—
array
An array of registered handle objects. - $to_do
—
array
An array of _GB_Dependency handle objects to queue.
Methods
protected
- recurse_deps() — Recursively search the passed dependency tree for $handle
public
- add() — Register an item.
- add_data() — Add extra item data.
- all_deps() — Determine dependencies.
- dequeue() — Dequeue an item or items.
- do_item() — Process a dependency.
- do_items() — Process the items and dependencies.
- enqueue() — Queue an item or items.
- get_data() — Get extra item data.
- query() — Query list for an item.
- remove() — Un-register an item or items.
- set_group() — Set item group, unless already in a lower group.
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-03-28T21:15:41+00:00 (commit #158813e)
Author: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru) / Commiter: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru)
ję v2
-
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-17T22:05:20+00:00 (commit #dafa260)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#23: Написать автоматические тесты для всей системы https://github.com/Limych/GeniBase/issues/issue/23
-
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-11T20:40:06+00:00 (commit #d811aca)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Added actions.