Branch Coverage

CaseResampling.xs
Criterion Covered Total %
branch 38 80 47.5


line true false branch
30 18 2 for (i = 0; i < n; ++i) {
31 0 18 if (NULL == (elem = av_fetch(sample, i, 0))) {
48 14 2 for (i = 0; i < n; ++i) {
49 0 14 if (NULL == (elem = av_fetch(sample, i, 0))) {
67 0 44 if (thisN == 0)
72 229 44 for (i = 0; i < thisN; ++i) {
73 0 229 if (NULL == (elem = av_fetch(in, i, 0))) {
88 0 1 if (n == 0)
93 11 1 for (i = 0; i < n; ++i) {
95 0 11 if (NULL == av_store(*out, i, elem))
105 3 0 if (therndsv == NULL
106 3 0 || !SvROK(therndsv)
107 0 3 || !sv_derived_from(therndsv, "Statistics::CaseResampling::RdGen"))
135 1 0 if (nelem != 0) {
162 1 0 if (nelem != 0) {
165 30 1 for (i_run = 0; i_run < runs; ++i_run) {
190 1 0 if (nelem != 0) {
193 30 1 for (i_run = 0; i_run < runs; ++i_run) {
212 0 23 if (nelem == 0)
227 0 1 if (nelem == 0)
238 11 1 for (i = 0; i < nelem; ++i)
255 0 0 if (nelem == 0)
271 0 0 if (nelem == 0)
293 0 1 RETVAL = pow( RETVAL / av_len(sample), 0.5 ); /* av_len() is N-1! */
303 0 1 RETVAL = pow( RETVAL / (av_len(sample)+1), 0.5 ); /* av_len() is N-1! */
316 15 2 if (kth < 1 || kth > nelem) {
1 14 if (kth < 1 || kth > nelem) {
340 0 0 if (items == 2)
342 0 0 else if (items == 3)
347 0 0 if (confidence <= 0. || confidence >= 1.) {
0 0 if (confidence <= 0. || confidence >= 1.) {
352 0 0 if (nelem != 0) {
356 0 0 for (i_run = 0; i_run < runs; ++i_run) {
369 0 0 EXTEND(SP, 3);
390 0 0 if (confidence <= 0. || confidence >= 1.) {
0 0 if (confidence <= 0. || confidence >= 1.) {
394 0 0 if (nelem != 0) {
402 0 0 EXTEND(SP, 3);
420 5 2 if (x <= 0. || x >= 1.)
2 3 if (x <= 0. || x >= 1.)