line |
true |
false |
branch |
47
|
2 |
28 |
if (defined $ng) |
63
|
1 |
5 |
if (defined $group_group) |
84
|
0 |
15 |
unless ref $in and $in->isa('Graph::Easy') |
88
|
13 |
2 |
unless defined $opt |
89
|
2 |
13 |
if $in->attribute('type') eq 'undirected' |
91
|
7 |
8 |
unless $in->is_simple |
101
|
3 |
5 |
if ($$opt{'undirected'}) |
104
|
2 |
1 |
if $$e{'to'}{'id'} < $$e{'from'}{'id'} |
127
|
0 |
7 |
unless ref $in and $in->isa('Graph::Easy') |
131
|
0 |
7 |
unless defined $opt |
142
|
2 |
12 |
if ($$opt{'undirected'}) |
145
|
2 |
0 |
if $$e{'to'}{'id'} < $$e{'from'}{'id'} |
163
|
0 |
15 |
unless ref $in and $in->isa('Graph') |
174
|
11 |
4 |
if ($key =~ /^grp_([0-9]+)_([A-Za-z_-]+)/) |
178
|
6 |
5 |
unless (exists $$group_ids{$id}) |
185
|
5 |
6 |
unless $a eq 'name' |
187
|
11 |
4 |
unless $key =~ /^((graph|(node|edge|group))(\.\w+)?)_(.+)/ |
201
|
8 |
7 |
if ($in->is_multiedged) { } |
226
|
4 |
11 |
if $in->is_undirected |