Pass | Half | Fail | Excluded | Total | ||||
---|---|---|---|---|---|---|---|---|
|
33.33% |
66.67% |
0.00% |
100% |
||||
|
4.82% |
95.18% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
100.00% |
0.00% |
100% |
||||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
0.00% |
0.00% |
100% |
|||
|
0.00% |
0.00% |
0.00% |
0.00% |
100% |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | create_action_dir_config(apr_pool_t *p, char *dummy) |
63 | |
64 | |
65 | p, sizeof(action_dir_config)); |
66 | |
67 | new-> : enter=1, leave=1 ->action_types : modules/mappers/mod_actions.c line=53 column=18 action_types = : enter=1, leave=1 = apr_table_make : enter=1, leave=1 apr_table_make : /usr/include/apr-1/apr_tables.h line=222 column=28 apr_table_make(p : modules/mappers/mod_actions.c line=62 column=51 p, 4); |
68 | |
69 | return new : modules/mappers/mod_actions.c line=64 column=24 new; |
70 | |
71 | |
72 | merge_action_dir_configs(apr_pool_t *p, void *basev, void *addv) |
73 | |
74 | basev; |
75 | addv; |
76 | apr_palloc : /usr/include/apr-1/apr_pools.h line=419 column=21 apr_palloc(p : modules/mappers/mod_actions.c line=72 column=51 p, |
77 | |
78 | |
79 | |
80 | new-> : enter=0, leave=0 ->action_types : modules/mappers/mod_actions.c line=53 column=18 action_types = : enter=0, leave=0 = apr_table_overlay : enter=0, leave=0 apr_table_overlay : /usr/include/apr-1/apr_tables.h line=346 column=28 apr_table_overlay(p : modules/mappers/mod_actions.c line=72 column=51 p, add : modules/mappers/mod_actions.c line=75 column=24 add-> : enter=0, leave=0 ->action_types : modules/mappers/mod_actions.c line=53 column=18 action_types, |
81 | base-> : enter=0, leave=0 ->action_types : modules/mappers/mod_actions.c line=53 column=18 action_types); |
82 | |
83 | for (i : modules/mappers/mod_actions.c line=78 column=9 i = : pass=0 = 0; i : modules/mappers/mod_actions.c line=78 column=9 i < : true=0, false=0 < METHODS; ++ : pass=0 ++i : modules/mappers/mod_actions.c line=78 column=9 i) { |
84 | new-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[i : modules/mappers/mod_actions.c line=78 column=9 i] = : enter=0, leave=0 = add : modules/mappers/mod_actions.c line=75 column=24 add-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[] : enter=0, leave=0 [i : modules/mappers/mod_actions.c line=78 column=9 i] conditional operator : true=0, false=0 ? add : modules/mappers/mod_actions.c line=75 column=24 add-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[] : enter=0, leave=0 [i : modules/mappers/mod_actions.c line=78 column=9 i] |
85 | base-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[] : enter=0, leave=0 [i : modules/mappers/mod_actions.c line=78 column=9 i]; |
86 | |
87 | |
88 | new-> : enter=0, leave=0 ->configured : modules/mappers/mod_actions.c line=55 column=9 configured = : enter=0, leave=0 = (base : modules/mappers/mod_actions.c line=74 column=24 baseMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->configured : modules/mappers/mod_actions.c line=55 column=9 configured || : true=0, false=0 || add : modules/mappers/mod_actions.c line=75 column=24 addMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->configured : modules/mappers/mod_actions.c line=55 column=9 configured); |
89 | return new : modules/mappers/mod_actions.c line=76 column=24 new; |
90 | |
91 | |
92 | add_action(cmd_parms *cmd, void *m_v, |
93 | |
94 | |
95 | |
96 | m_v; |
97 | |
98 | if (MC/DC independently affect : true=0, false=0 option : modules/mappers/mod_actions.c line=94 column=43 option && : true=0, false=0 && MC/DC independently affect : true=0, false=0 strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(option : modules/mappers/mod_actions.c line=94 column=43 option, "virtual")) { |
99 | return apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(cmd : modules/mappers/mod_actions.c line=92 column=42 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, |
100 | option, "'", NULL); |
101 | |
102 | |
103 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(m : modules/mappers/mod_actions.c line=96 column=24 m-> : enter=0, leave=0 ->action_types : modules/mappers/mod_actions.c line=53 column=18 action_types, type : modules/mappers/mod_actions.c line=93 column=43 type, |
104 | apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(cmd : modules/mappers/mod_actions.c line=92 column=42 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, option : modules/mappers/mod_actions.c line=94 column=43 option conditional operator : true=0, false=0 ? "1" : "0", script : modules/mappers/mod_actions.c line=93 column=61 script, NULL)); |
105 | m-> : enter=0, leave=0 ->configured : modules/mappers/mod_actions.c line=55 column=9 configured = : enter=0, leave=0 = 1; |
106 | |
107 | return NULL; |
108 | |
109 | |
110 | set_script(cmd_parms *cmd, void *m_v, |
111 | |
112 | |
113 | m_v; |
114 | |
115 | |
116 | |
117 | |
118 | ap_method_register : include/http_protocol.h line=228 column=17 ap_method_register(cmd : modules/mappers/mod_actions.c line=110 column=42 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, method : modules/mappers/mod_actions.c line=111 column=43 method); |
119 | |
120 | if (methnum : modules/mappers/mod_actions.c line=118 column=9 methnum == : true=0, false=0 == M_TRACE) { |
121 | return "TRACE not allowed for Script"; |
122 | |
123 | if (methnum : modules/mappers/mod_actions.c line=118 column=9 methnum == : true=0, false=0 == M_INVALID) { |
124 | return apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(cmd : modules/mappers/mod_actions.c line=110 column=42 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, "Could not register method '", method : modules/mappers/mod_actions.c line=111 column=43 method, |
125 | |
126 | |
127 | |
128 | m-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[methnum : modules/mappers/mod_actions.c line=118 column=9 methnum] = : enter=0, leave=0 = script : modules/mappers/mod_actions.c line=111 column=63 script; |
129 | m-> : enter=0, leave=0 ->configured : modules/mappers/mod_actions.c line=55 column=9 configured = : enter=0, leave=0 = 1; |
130 | |
131 | return NULL; |
132 | |
133 | |
134 | |
135 | |
136 | add_action, NULL, OR_FILEINFO, |
137 | |
138 | set_script, NULL, ACCESS_CONF | : pass=0 | RSRC_CONF, |
139 | |
140 | |
141 | |
142 | |
143 | action_handler(request_rec *r) |
144 | |
145 | |
146 | r-> : enter=0, leave=0 ->per_dir_config : include/httpd.h line=977 column=30 per_dir_config, &actions_module : modules/mappers/mod_actions.c line=60 column=31 actions_module); |
147 | |
148 | |
149 | |
150 | |
151 | if (! : true=0, false=0 !conf : modules/mappers/mod_actions.c line=145 column=24 conf-> : enter=0, leave=0 ->configured : modules/mappers/mod_actions.c line=55 column=9 configured) { |
152 | return DECLINED; |
153 | |
154 | |
155 | |
156 | |
157 | |
158 | for (i : modules/mappers/mod_actions.c line=149 column=9 i = : pass=0 = 0; i : modules/mappers/mod_actions.c line=149 column=9 i < : true=0, false=0 < METHODS; ++ : pass=0 ++i : modules/mappers/mod_actions.c line=149 column=9 i) { |
159 | if (conf : modules/mappers/mod_actions.c line=145 column=24 conf-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[] : enter=0, leave=0 [i : modules/mappers/mod_actions.c line=149 column=9 i]) |
160 | r-> : enter=0, leave=0 ->allowed : include/httpd.h line=853 column=17 allowed |= : enter=0, leave=0 |= (AP_METHOD_BIT << : pass=0 << i : modules/mappers/mod_actions.c line=149 column=9 i); |
161 | |
162 | |
163 | |
164 | if (r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->method_number : include/httpd.h line=831 column=9 method_number == : true=0, false=0 == M_GET) { |
165 | if (r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args) |
166 | script = : pass=0 = conf : modules/mappers/mod_actions.c line=145 column=24 conf-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[] : enter=0, leave=0 [M_GET]; |
167 | |
168 | script = : pass=0 = NULL; |
169 | |
170 | |
171 | script = : pass=0 = conf : modules/mappers/mod_actions.c line=145 column=24 conf-> : enter=0, leave=0 ->scripted : modules/mappers/mod_actions.c line=54 column=17 scripted[] : enter=0, leave=0 [r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->method_number : include/httpd.h line=831 column=9 method_number]; |
172 | |
173 | |
174 | |
175 | if (MC/DC independently affect : true=0, false=0 script : modules/mappers/mod_actions.c line=148 column=17 script && : true=0, false=0 && r : modules/mappers/mod_actions.c line=143 column=40 rMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->prev : include/httpd.h line=789 column=18 prev && : true=0, false=0 && r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->prev : include/httpd.h line=789 column=18 prevMC/DC independently affect : true=0, false=0 -> : enter=0, leave=0 ->prev : include/httpd.h line=789 column=18 prev) |
176 | return DECLINED; |
177 | |
178 | |
179 | action = : pass=0 = r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler conditional operator : true=0, false=0 ? r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->handler : include/httpd.h line=919 column=17 handler : |
180 | ap_field_noparam : include/httpd.h line=1276 column=20 ap_field_noparam(r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->content_type : include/httpd.h line=917 column=17 content_type); |
181 | action = : pass=0 = action : modules/mappers/mod_actions.c line=147 column=21 action conditional operator : true=0, false=0 ? action : modules/mappers/mod_actions.c line=147 column=21 action : ap_default_type : enter=0, leave=0 ap_default_type : include/http_core.h line=166 column=26 ap_default_type(r : modules/mappers/mod_actions.c line=143 column=40 r); |
182 | |
183 | if ((t : modules/mappers/mod_actions.c line=147 column=17 t = : pass=0 = apr_table_get : enter=0, leave=0 apr_table_get : /usr/include/apr-1/apr_tables.h line=258 column=27 apr_table_get(conf : modules/mappers/mod_actions.c line=145 column=24 conf-> : enter=0, leave=0 ->action_types : modules/mappers/mod_actions.c line=53 column=18 action_types, action : modules/mappers/mod_actions.c line=147 column=21 action))) { |
184 | if (* dereference : enter=0, leave=0 *t : modules/mappers/mod_actions.c line=147 column=17 t++ : pass=0 ++ == : true=0, false=0 MC/DC independently affect : true=0, false=0 == '0' && : true=0, false=0 && r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->finfo : include/httpd.h line=957 column=17 finfo.filetype : /usr/include/apr-1/apr_file_info.h line=186 column=20 filetype == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0) { |
185 | ap_log_rerror : include/http_log.h line=219 column=18 ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r : modules/mappers/mod_actions.c line=143 column=40 r, |
186 | r-> : enter=0, leave=0 ->filename : include/httpd.h line=948 column=11 filename); |
187 | return HTTP_NOT_FOUND; |
188 | |
189 | |
190 | script = : pass=0 = t : modules/mappers/mod_actions.c line=147 column=17 t; |
191 | |
192 | |
193 | |
194 | apr_table_setn : /usr/include/apr-1/apr_tables.h line=282 column=19 apr_table_setn(r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->subprocess_env : include/httpd.h line=908 column=18 subprocess_env, "HANDLER", action : modules/mappers/mod_actions.c line=147 column=21 action); |
195 | |
196 | |
197 | if (script : modules/mappers/mod_actions.c line=148 column=17 script == : true=0, false=0 == NULL) |
198 | return DECLINED; |
199 | |
200 | ap_internal_redirect_handler : include/http_request.h line=166 column=18 ap_internal_redirect_handler(apr_pstrcat : enter=0, leave=0 apr_pstrcat : /usr/include/apr-1/apr_strings.h line=139 column=28 apr_pstrcat(r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, script : modules/mappers/mod_actions.c line=148 column=17 script, |
201 | r-> : enter=0, leave=0 ->pool : include/httpd.h line=780 column=17 pool, r : modules/mappers/mod_actions.c line=143 column=40 r-> : enter=0, leave=0 ->uri : include/httpd.h line=946 column=11 uri), |
202 | r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args conditional operator : true=0, false=0 ? "?" : NULL, |
203 | r-> : enter=0, leave=0 ->args : include/httpd.h line=955 column=11 args, NULL), r : modules/mappers/mod_actions.c line=143 column=40 r); |
204 | return OK; |
205 | |
206 | |
207 | register_hooks(apr_pool_t *p) |
208 | |
209 | ap_hook_handler : modules/mappers/ action_handler,NULL,NULL,APR_HOOK_LAST); |
210 | |
211 | |
212 | |
213 | |
214 | |
215 | create_action_dir_config, /* dir config creater */ |
216 | merge_action_dir_configs, /* dir merger --- default is to override */ |
217 | |
218 | |
219 | action_cmds, /* command apr_table_t */ |
220 | register_hooks /* register hooks */ |
221 | |
222 |