-
Home
-
Locatoraid Store Locator
-
3.9.63 (latest)
-
Code
-
Classes
- HC_Database_Query_Builder
| Total Complexity |
393 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
1,984 |
| Lines of code |
1,408 |
| Logical lines of code |
657 |
| Comment lines |
125 |
| Methods |
96 |
| Properties |
56 |
Methods 96
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| protect_identifiers() |
D |
32 |
30 |
106 |
| 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 |
| order_by() |
A |
45 |
12 |
40 |
| _compile_wh() |
A |
44 |
11 |
42 |
| _where_in() |
A |
46 |
11 |
38 |
| compile_binds() |
A |
44 |
10 |
45 |
| _merge_cache() |
A |
47 |
10 |
36 |
| _compile_select() |
A |
46 |
9 |
41 |
| set_insert_batch() |
A |
48 |
9 |
35 |
| set_update_batch() |
A |
51 |
8 |
26 |
| escape() |
A |
54 |
8 |
20 |
| group_by() |
S |
53 |
7 |
24 |
| _compile_order_by() |
S |
55 |
7 |
19 |
| from() |
S |
50 |
6 |
31 |
| _is_literal() |
S |
58 |
7 |
14 |
| _max_min_avg_sum() |
S |
52 |
6 |
24 |
| select() |
S |
53 |
6 |
23 |
| _track_aliases() |
S |
54 |
6 |
23 |
| _compile_group_by() |
S |
56 |
6 |
17 |
| _validate_insert() |
S |
58 |
6 |
15 |
| _validate_update() |
S |
58 |
6 |
15 |
| _object_to_array() |
S |
59 |
6 |
15 |
| _update_batch() |
S |
52 |
5 |
23 |
| _object_to_array_batch() |
S |
55 |
5 |
21 |
| _delete() |
S |
56 |
5 |
18 |
| trans_complete() |
S |
58 |
5 |
17 |
| set() |
S |
59 |
5 |
14 |
| trans_commit() |
S |
62 |
5 |
12 |
| trans_rollback() |
S |
62 |
5 |
12 |
| _get_operator() |
S |
52 |
4 |
25 |
| trans_begin() |
S |
58 |
4 |
18 |
| group_start() |
S |
57 |
4 |
15 |
| escape_str() |
S |
59 |
4 |
15 |
| display_error() |
S |
59 |
4 |
14 |
| get_compiled_insert() |
S |
57 |
3 |
18 |
| update_string() |
S |
58 |
3 |
15 |
| get_compiled_select() |
S |
62 |
3 |
13 |
| get_compiled_update() |
S |
61 |
3 |
13 |
| get_compiled_where() |
S |
62 |
3 |
11 |
| limit() |
S |
72 |
3 |
5 |
| _update() |
S |
62 |
3 |
10 |
| group_end() |
S |
61 |
2 |
13 |
| _reset_select() |
S |
58 |
1 |
17 |
| _create_alias_from_table() |
S |
67 |
2 |
8 |
| distinct() |
S |
75 |
2 |
4 |
| _group_get_type() |
S |
69 |
2 |
8 |
| offset() |
S |
75 |
2 |
4 |
| _limit() |
S |
77 |
2 |
3 |
| dbprefix() |
S |
69 |
2 |
7 |
| flush_cache() |
S |
60 |
1 |
15 |
| _reset_run() |
S |
71 |
2 |
6 |
| trans_strict() |
S |
79 |
2 |
3 |
| trans_start() |
S |
70 |
2 |
7 |
| insert_string() |
S |
64 |
2 |
9 |
| _reset_write() |
S |
64 |
1 |
11 |
| select_max() |
S |
79 |
1 |
3 |
| select_min() |
S |
79 |
1 |
3 |
| select_avg() |
S |
79 |
1 |
3 |
| select_sum() |
S |
79 |
1 |
3 |
| where() |
S |
78 |
1 |
3 |
| or_where() |
S |
78 |
1 |
3 |
| where_in() |
S |
78 |
1 |
3 |
| or_where_in() |
S |
78 |
1 |
3 |
| where_not_in() |
S |
78 |
1 |
3 |
| or_where_not_in() |
S |
78 |
1 |
3 |
| like() |
S |
77 |
1 |
3 |
| not_like() |
S |
77 |
1 |
3 |
| or_like() |
S |
77 |
1 |
3 |
| or_not_like() |
S |
77 |
1 |
3 |
| or_group_start() |
S |
79 |
1 |
3 |
| not_group_start() |
S |
79 |
1 |
3 |
| or_not_group_start() |
S |
79 |
1 |
3 |
| having() |
S |
78 |
1 |
3 |
| or_having() |
S |
78 |
1 |
3 |
| _insert_batch() |
S |
77 |
1 |
3 |
| _replace() |
S |
76 |
1 |
3 |
| _from_tables() |
S |
79 |
1 |
3 |
| _truncate() |
S |
80 |
1 |
3 |
| get_compiled_delete() |
S |
70 |
1 |
6 |
| set_prefix() |
S |
77 |
1 |
4 |
| prefix() |
S |
82 |
1 |
3 |
| start_cache() |
S |
77 |
1 |
4 |
| stop_cache() |
S |
77 |
1 |
4 |
| reset_query() |
S |
75 |
1 |
5 |
| _version() |
S |
82 |
1 |
3 |
| trans_off() |
S |
81 |
1 |
3 |
| trans_status() |
S |
82 |
1 |
3 |
| is_write_type() |
S |
79 |
1 |
3 |
| escape_like_str() |
S |
79 |
1 |
3 |
| _escape_str() |
S |
78 |
1 |
3 |
| _insert() |
S |
76 |
1 |
3 |
| _has_operator() |
S |
78 |
1 |
3 |