-
Home
-
PlainInventory – Inventory Management Plugin
-
3.1.8
-
Code
-
Classes
- _PW1_Sql_QueryBuilder
Total Complexity |
392 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
2,912 |
Lines of code |
1,387 |
Logical lines of code |
657 |
Comment lines |
992 |
Methods |
94 |
Properties |
56 |
Methods 94
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
protect_identifiers() |
D |
31 |
32 |
110 |
escape_identifiers() |
A |
44 |
15 |
44 |
join() |
A |
39 |
13 |
66 |
_wh() |
A |
44 |
14 |
40 |
_like() |
A |
44 |
13 |
44 |
delete() |
A |
45 |
13 |
42 |
orderBy() |
A |
45 |
12 |
40 |
_compile_wh() |
A |
44 |
11 |
42 |
_where_in() |
A |
46 |
11 |
38 |
_merge_cache() |
A |
47 |
10 |
36 |
_compile_select() |
A |
46 |
9 |
41 |
set_insert_batch() |
A |
48 |
9 |
35 |
escape() |
A |
54 |
8 |
20 |
from() |
A |
49 |
7 |
34 |
group_by() |
S |
53 |
7 |
24 |
_compile_order_by() |
S |
55 |
7 |
19 |
_is_literal() |
S |
58 |
7 |
14 |
where() |
S |
53 |
6 |
24 |
_max_min_avg_sum() |
S |
52 |
6 |
24 |
_track_aliases() |
S |
54 |
6 |
23 |
select() |
S |
53 |
6 |
23 |
_compile_group_by() |
S |
56 |
6 |
17 |
_validate_insert() |
S |
58 |
6 |
15 |
_object_to_array() |
S |
59 |
6 |
15 |
_validate_update() |
S |
58 |
6 |
15 |
_object_to_array_batch() |
S |
55 |
5 |
21 |
_delete() |
S |
56 |
5 |
18 |
getCompiledCount() |
S |
55 |
5 |
18 |
trans_complete() |
S |
58 |
5 |
17 |
set() |
S |
59 |
5 |
14 |
trans_rollback() |
S |
62 |
5 |
12 |
trans_commit() |
S |
62 |
5 |
12 |
_get_operator() |
S |
52 |
4 |
25 |
escape_str() |
S |
56 |
4 |
20 |
trans_begin() |
S |
58 |
4 |
18 |
groupStart() |
S |
57 |
4 |
15 |
display_error() |
S |
59 |
4 |
14 |
getCompiledInsertBatch() |
S |
59 |
4 |
13 |
getCompiledInsert() |
S |
57 |
3 |
18 |
update_string() |
S |
58 |
3 |
15 |
removeInvisibleCharacters() |
S |
61 |
3 |
13 |
getCompiledUpdate() |
S |
61 |
3 |
13 |
getCompiledSelect() |
S |
62 |
3 |
13 |
get_compiled_where() |
S |
62 |
3 |
11 |
orWhereIn() |
S |
68 |
3 |
6 |
where_in() |
S |
68 |
3 |
6 |
limit() |
S |
72 |
3 |
5 |
_update() |
S |
62 |
3 |
10 |
groupEnd() |
S |
61 |
2 |
13 |
_reset_select() |
S |
58 |
1 |
17 |
trans_start() |
S |
70 |
2 |
7 |
_reset_run() |
S |
71 |
2 |
6 |
flush_cache() |
S |
60 |
1 |
15 |
orWhere() |
S |
70 |
2 |
6 |
distinct() |
S |
75 |
2 |
4 |
_create_alias_from_table() |
S |
67 |
2 |
8 |
insert_string() |
S |
64 |
2 |
9 |
offset() |
S |
75 |
2 |
4 |
_group_get_type() |
S |
69 |
2 |
8 |
_limit() |
S |
77 |
2 |
3 |
trans_strict() |
S |
79 |
2 |
3 |
_reset_write() |
S |
64 |
1 |
11 |
_insert() |
S |
76 |
1 |
3 |
_escape_str() |
S |
78 |
1 |
3 |
escape_like_str() |
S |
79 |
1 |
3 |
select_sum() |
S |
79 |
1 |
3 |
_has_operator() |
S |
78 |
1 |
3 |
select_avg() |
S |
79 |
1 |
3 |
is_write_type() |
S |
79 |
1 |
3 |
select_min() |
S |
79 |
1 |
3 |
select_max() |
S |
79 |
1 |
3 |
where_not_in() |
S |
78 |
1 |
3 |
trans_status() |
S |
82 |
1 |
3 |
_insert_batch() |
S |
77 |
1 |
3 |
orWhereNotIn() |
S |
78 |
1 |
3 |
notGroupStart() |
S |
79 |
1 |
3 |
_replace() |
S |
76 |
1 |
3 |
_from_tables() |
S |
79 |
1 |
3 |
_truncate() |
S |
80 |
1 |
3 |
getCompiledDelete() |
S |
70 |
1 |
6 |
or_having() |
S |
78 |
1 |
3 |
having() |
S |
78 |
1 |
3 |
orNotGroupStart() |
S |
79 |
1 |
3 |
orGroupStart() |
S |
79 |
1 |
3 |
trans_off() |
S |
81 |
1 |
3 |
or_not_like() |
S |
77 |
1 |
3 |
orLike() |
S |
77 |
1 |
3 |
start_cache() |
S |
77 |
1 |
4 |
stop_cache() |
S |
77 |
1 |
4 |
not_like() |
S |
77 |
1 |
3 |
like() |
S |
77 |
1 |
3 |
reset_query() |
S |
75 |
1 |
5 |
_version() |
S |
82 |
1 |
3 |
__construct() |
S |
98 |
1 |
1 |