expcov report - Generated Sat Oct 15 21:39:18 2016

 Index  Statistics  Last 
Directory./server
Filenameerror_bucket.c
ModifiedSat Jun 6 01:50:47 2015

Pass Half Fail Excluded Total
Function
0
0.00%
4
100.00%
0
0.00%
4
100%
Expressions
0
0.00%
24
100.00%
0
0.00%
24
100%
Conditions
0
0.00%
0
0.00%
2
100.00%
0
0.00%
2
100%
MC/DC
0
0.00%
0
0.00%
0
0.00%
0
100%
Branches

if
0
0.00%
0
0.00%
2
100.00%
0
0.00%
2
100%
for
0
0.00%
0
0.00%
0
0.00%
0
0.00%
0
100%
while
0
0.00%
0
0.00%
0
0.00%
0
0.00%
0
100%
case
0
0.00%
0
0.00%
0
0.00%
0
0.00%
0
100%

1/* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements.  See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License.  You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "http_protocol.h"
18#include "apr_buckets.h"
19#include "apr_strings.h"
20#if APR_HAVE_STRINGS_H
21#include <strings.h>
22#endif
23
24static apr_status_t error_bucket_read : call=0
e
rror_bucket_read(apr_bucket *b, const char **str,
25                                      apr_size_t *len, apr_read_type_e block)
26{
27    *str : server/error_bucket.c line=24 column=67
s
tr = : enter=0, leave=0
=
 NULL;
28    *len : server/error_bucket.c line=25 column=51
l
en = : enter=0, leave=0
=
 0;
29    return : pass=0
r
eturn APR_SUCCESS;
30}
31
32static void error_bucket_destroy : call=0
e
rror_bucket_destroy(void *data)
33{
34    ap_bucket_error *h = data : server/error_bucket.c line=32 column=40
d
ata;
35
36    if : true=0, false=0
i
f (apr_bucket_shared_destroy : enter=0, leave=0

apr_bucket_shared_destroy : /usr/include/apr-1/apr_buckets.h line=1213 column=18
a
pr_bucket_shared_destroy(h : server/error_bucket.c line=34 column=22
h
)) {
37        apr_bucket_free : enter=0, leave=0

apr_bucket_free : /usr/include/apr-1/apr_buckets.h line=959 column=26
a
pr_bucket_free(h : server/error_bucket.c line=34 column=22
h
);
38    }
39}
40
41AP_DECLARE(apr_bucket *) ap_bucket_error_make : call=0
a
p_bucket_error_make(apr_bucket *b, int error,
42                                              const char *buf, apr_pool_t *p)
43{
44    ap_bucket_error *h;
45
46    h : server/error_bucket.c line=44 column=22
h
 = : pass=0
=
 apr_bucket_alloc : enter=0, leave=0

apr_bucket_alloc : /usr/include/apr-1/apr_buckets.h line=953 column=28
a
pr_bucket_alloc(sizeof(*h), b : server/error_bucket.c line=41 column=59
b
-> : enter=0, leave=0
-
>list : /usr/include/apr-1/apr_buckets.h line=254 column=25 list);
47    h : server/error_bucket.c line=44 column=22
h
-> : enter=0, leave=0
-
>status : include/http_protocol.h line=634 column=9
s
tatus = : enter=0, leave=0
=
 error : server/error_bucket.c line=41 column=66
e
rror;
48    h : server/error_bucket.c line=44 column=22
h
-> : enter=0, leave=0
-
>data : include/http_protocol.h line=636 column=20
d
ata = : enter=0, leave=0
=
 (buf : server/error_bucket.c line=42 column=59
b
uf) conditional operator : true=0, false=0
?
 apr_pstrdup : enter=0, leave=0

apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21
a
pr_pstrdup(p : server/error_bucket.c line=42 column=76
p
buf : server/error_bucket.c line=42 column=59
b
uf) : NULL;
49
50    b : server/error_bucket.c line=41 column=59
b
 = : pass=0
=
 apr_bucket_shared_make : enter=0, leave=0

apr_bucket_shared_make : /usr/include/apr-1/apr_buckets.h line=1201 column=27
a
pr_bucket_shared_make(b : server/error_bucket.c line=41 column=59
b
h : server/error_bucket.c line=44 column=22
h
, 0, 0);
51    b : server/error_bucket.c line=41 column=59
b
-> : enter=0, leave=0
-
>type : /usr/include/apr-1/apr_buckets.h line=228 column=30 type = : enter=0, leave=0
=
 &ap_bucket_type_error : include/http_protocol.h line=640 column=48
a
p_bucket_type_error;
52    return : pass=0
r
eturn b : server/error_bucket.c line=41 column=59
b
;
53}
54
55AP_DECLARE(apr_bucket *) ap_bucket_error_create : call=0
a
p_bucket_error_create(int error, const char *buf,
56                                                apr_pool_t *p,
57                                                apr_bucket_alloc_t *list)
58{
59    apr_bucket *b = apr_bucket_alloc : enter=0, leave=0

apr_bucket_alloc : /usr/include/apr-1/apr_buckets.h line=953 column=28
a
pr_bucket_alloc(sizeof(*b), list : server/error_bucket.c line=57 column=69
l
ist);
60
61    APR_BUCKET_INIT(b : server/error_bucket.c line=59 column=17
b
);
62    b : server/error_bucket.c line=59 column=17
b
-> : enter=0, leave=0
-
>free : /usr/include/apr-1/apr_buckets.h line=252 column=12 free = : enter=0, leave=0
=
 apr_bucket_free : /usr/include/apr-1/apr_buckets.h line=959 column=26 apr_bucket_free;
63    b : server/error_bucket.c line=59 column=17
b
-> : enter=0, leave=0
-
>list : /usr/include/apr-1/apr_buckets.h line=254 column=25 list = : enter=0, leave=0
=
 list : server/error_bucket.c line=57 column=69
l
ist;
64    if : true=0, false=0
i
f (! : true=0, false=0
!
ap_is_HTTP_VALID_RESPONSE(error : server/error_bucket.c line=55 column=53
e
rror)) {
65        error : server/error_bucket.c line=55 column=53
e
rror = : pass=0
=
 HTTP_INTERNAL_SERVER_ERROR;
66    }
67    return : pass=0
r
eturn ap_bucket_error_make : enter=0, leave=0

ap_bucket_error_make : server/error_bucket.c line=41 column=26
a
p_bucket_error_make(b : server/error_bucket.c line=59 column=17
b
error : server/error_bucket.c line=55 column=53
e
rror, buf : server/error_bucket.c line=55 column=72
b
uf, p : server/error_bucket.c line=56 column=61
p
);
68}
69
70AP_DECLARE_DATA const apr_bucket_type_t ap_bucket_type_error = {
71    "ERROR", 5, APR_BUCKET_METADATA : /usr/include/apr-1/apr_buckets.h line=155 column=9 APR_BUCKET_METADATA,
72    error_bucket_destroy : server/error_bucket.c line=32 column=13
e
rror_bucket_destroy,
73    error_bucket_read : server/error_bucket.c line=24 column=21
e
rror_bucket_read,
74    apr_bucket_setaside_notimpl : /usr/include/apr-1/apr_buckets.h line=1056 column=34 apr_bucket_setaside_notimpl,
75    apr_bucket_split_notimpl : /usr/include/apr-1/apr_buckets.h line=1066 column=34 apr_bucket_split_notimpl,
76    apr_bucket_shared_copy : /usr/include/apr-1/apr_buckets.h line=1238 column=34 apr_bucket_shared_copy
77};
78[EOF]


Generated by expcov