line |
true |
false |
branch |
149
|
0 |
1 |
unless defined $config{'host'}
|
161
|
1 |
0 |
unless defined $res and grep /^$res$/, @$COMPATIBILITY_LEVELS
|
204
|
0 |
1 |
unless defined $res
|
205
|
0 |
1 |
if ref $res eq 'HASH'
|
294
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
296
|
0 |
0 |
unless defined $params{'SCHEMA'}
|
302
|
0 |
0 |
if $self->_client->POST('/subjects/' . $params{'SUBJECT'} . '-' . $params{'TYPE'} . '/versions', $schema)
|
330
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
349
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
365
|
0 |
0 |
unless defined $params{'SCHEMA_ID'} and $params{'SCHEMA_ID'} =~ /^\d+$/
|
366
|
0 |
0 |
if ($self->_client->GET('/schemas/ids/' . $params{'SCHEMA_ID'}))
|
367
|
0 |
0 |
if (exists $self->_get_response->{'schema'})
|
395
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
398
|
0 |
0 |
if defined $params{'VERSION'} and not $params{'VERSION'} =~ /^\d+$/
|
399
|
0 |
0 |
unless defined $params{'VERSION'}
|
400
|
0 |
0 |
if ($self->_client->GET('/subjects/' . $params{'SUBJECT'} . '-' . $params{'TYPE'} . '/versions/' . $params{'VERSION'}))
|
402
|
0 |
0 |
if (exists $sv->{'schema'})
|
430
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
433
|
0 |
0 |
unless defined $params{'VERSION'} and $params{'VERSION'} =~ /^\d+$/
|
452
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
472
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
474
|
0 |
0 |
unless defined $params{'SCHEMA'}
|
482
|
0 |
0 |
unless $schema_info
|
503
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
506
|
0 |
0 |
if defined $params{'VERSION'} and not $params{'VERSION'} =~ /^\d+$/
|
507
|
0 |
0 |
unless defined $params{'VERSION'}
|
509
|
0 |
0 |
unless defined $params{'SCHEMA'}
|
516
|
0 |
0 |
unless defined $self->_get_response
|
518
|
0 |
0 |
if exists $self->_get_response->{'is_compatible'}
|
529
|
0 |
1 |
if $self->_client->GET('/config')
|
545
|
0 |
0 |
unless defined $params{'COMPATIBILITY_LEVEL'} and grep /^$params{'COMPATIBILITY_LEVEL'}$/, @$COMPATIBILITY_LEVELS
|
548
|
0 |
0 |
if defined $self->_get_response
|
563
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
565
|
0 |
0 |
if $self->_client->GET('/config/' . $params{'SUBJECT'} . '-' . $params{'TYPE'})
|
580
|
0 |
0 |
unless defined $params{'SUBJECT'} and defined $params{'TYPE'} and $params{'SUBJECT'} =~ /^.+$/ and $params{'TYPE'} =~ /^key|value$/
|
584
|
0 |
0 |
unless defined $params{'COMPATIBILITY_LEVEL'} and grep /^$params{'COMPATIBILITY_LEVEL'}$/, @$COMPATIBILITY_LEVELS
|
587
|
0 |
0 |
if defined $self->_get_response
|