line |
true |
false |
branch |
107
|
0 |
0 |
if defined $value |
176
|
0 |
0 |
if (ref $exists) { } |
178
|
0 |
0 |
if ($exists->Type eq 'Component') |
204
|
0 |
0 |
if (ref $exists) { } |
206
|
0 |
0 |
if ($exists->Type eq 'superclass') { } |
226
|
0 |
0 |
if (defined $$self{'packages'}{'class'}{$class->Name}) |
247
|
0 |
0 |
if (defined $$self{'packages'}{'superclass'}) |
253
|
0 |
0 |
if (defined $$self{'packages'}{'Component'}{$superclass->Name}) |
270
|
0 |
0 |
if (defined $$self{'packages'}{'class'}) |
276
|
0 |
0 |
if (defined $$self{'packages'}{'superclass'}{$class->Name}) |
283
|
0 |
0 |
if (ref $inheritance) { } |
298
|
0 |
0 |
if (defined $$self{'packages'}{'Component'}{$class->Name}) |
322
|
0 |
0 |
unless (defined $$self{'packages'}{'class'}) |
337
|
0 |
0 |
if ($config{'sort'} and $cp ne 'Diagram') |
353
|
0 |
0 |
unless (defined $$self{'packages'}{'Component'}) |
372
|
0 |
0 |
unless (defined $$self{'packages'}{'superclass'}) |
392
|
0 |
0 |
unless (defined $$self{'packages'}{'inheritance'}) |
413
|
0 |
0 |
unless (defined $$self{'packages'}{'relation'}) |
434
|
0 |
0 |
unless (defined $$self{'packages'}{'realization'}) |
455
|
0 |
0 |
unless (defined $$self{'packages'}{'dependancy'}) |
488
|
0 |
0 |
unless $dot_filetypes{$extension} |
500
|
0 |
0 |
if (ref $classes) { } |
505
|
0 |
0 |
if ($config{'methods'}) |
509
|
0 |
0 |
if $$method{'visibility'} == 1 and $config{'public'} |
510
|
0 |
0 |
$$method{'visibility'} == 0 ? : |
512
|
0 |
0 |
if (ref $$method{'Params'}) |
515
|
0 |
0 |
defined $$argument{'Type'} ? : |
517
|
0 |
0 |
if scalar @args |
519
|
0 |
0 |
defined $$method{'type'} ? : |
527
|
0 |
0 |
if ($config{'attributes'}) |
530
|
0 |
0 |
if $$attribute{'visibility'} == 1 and $config{'public'} |
531
|
0 |
0 |
$$attribute{'visibility'} == 0 ? : |
536
|
0 |
0 |
if (defined $$attribute{'type'}) { } |
555
|
0 |
0 |
unless ($config{'skip_superclasses'}) |
557
|
0 |
0 |
if (ref $superclasses) |
572
|
0 |
0 |
if (ref $inheritances) |
574
|
0 |
0 |
unless $nodes{$Inheritance->Parent} |
581
|
0 |
0 |
if (ref $relations) |
583
|
0 |
0 |
unless $nodes{$Relation->Left} |
589
|
0 |
0 |
unless ($config{'skip_packages'}) |
591
|
0 |
0 |
if (ref $components) |
603
|
0 |
0 |
if (ref $dependancies) |
606
|
0 |
0 |
unless $nodes{$Dependancy->Parent} |
611
|
0 |
0 |
unless open FILE, ">$output_filename" |
640
|
0 |
0 |
unless $dot_filetypes{$extension} |
647
|
0 |
0 |
if (ref $classes) { } |
652
|
0 |
0 |
if ($config{'methods'}) |
656
|
0 |
0 |
if $$method{'visibility'} == 1 and $config{'public'} |
657
|
0 |
0 |
$$method{'visibility'} == 0 ? : |
659
|
0 |
0 |
if (ref $$method{'Params'}) |
662
|
0 |
0 |
defined $$argument{'Type'} ? : |
664
|
0 |
0 |
if scalar @args |
666
|
0 |
0 |
defined $$method{'type'} ? : |
674
|
0 |
0 |
if ($config{'attributes'}) |
677
|
0 |
0 |
if $$attribute{'visibility'} == 1 and $config{'public'} |
678
|
0 |
0 |
"\n" . ($$attribute{'visibility'} == 0) ? : |
680
|
0 |
0 |
if defined $$attribute{'type'} |
693
|
0 |
0 |
unless ($config{'skip_superclasses'}) |
695
|
0 |
0 |
if (ref $superclasses) |
708
|
0 |
0 |
if (ref $inheritances) |
710
|
0 |
0 |
unless $nodes{$Inheritance->Parent} |
720
|
0 |
0 |
if (ref $relations) |
722
|
0 |
0 |
unless $nodes{$Relation->Left} |
729
|
0 |
0 |
unless ($config{'skip_packages'}) |
731
|
0 |
0 |
if (ref $components) |
743
|
0 |
0 |
if (ref $dependancies) |
745
|
0 |
0 |
unless $nodes{$Dependancy->Parent} |
767
|
0 |
0 |
unless $vcg_filetypes{$extension} |
775
|
0 |
0 |
if (ref $classes) { } |
780
|
0 |
0 |
if ($config{'methods'}) |
784
|
0 |
0 |
if $$method{'visibility'} == 1 and $config{'public'} |
785
|
0 |
0 |
$$method{'visibility'} == 0 ? : |
787
|
0 |
0 |
if (ref $$method{'Params'}) |
802
|
0 |
0 |
if ($config{'attributes'}) |
805
|
0 |
0 |
if $$attribute{'visibility'} == 1 and $config{'public'} |
806
|
0 |
0 |
$$attribute{'visibility'} == 0 ? : |
821
|
0 |
0 |
unless ($config{'skip_superclasses'}) |
824
|
0 |
0 |
if (ref $superclasses) |
835
|
0 |
0 |
if (ref $inheritances) |
837
|
0 |
0 |
unless $nodes{$Inheritance->Parent} |
846
|
0 |
0 |
if (ref $relations) |
848
|
0 |
0 |
unless $nodes{$Relation->Left} |
856
|
0 |
0 |
unless ($config{'skip_packages'}) |
858
|
0 |
0 |
if (ref $components) |
869
|
0 |
0 |
if (ref $dependancies) |
871
|
0 |
0 |
unless $nodes{$Dependancy->Parent} |
879
|
0 |
0 |
unless open FILE, ">$output_filename" |
881
|
0 |
0 |
unless eval 'print FILE $vcg->' . $vcg_filetypes{$extension} |
902
|
0 |
0 |
if ($config{'no_deps'}) |
906
|
0 |
0 |
unless $success |
908
|
0 |
0 |
if (ref $self->Classes) |
916
|
0 |
0 |
if (ref $$method{'Params'}) |
918
|
0 |
0 |
if defined $$argument{'Type'} |
920
|
0 |
0 |
if defined $$argument{'Kind'} |
932
|
0 |
0 |
if $config{'use_stdout'} |
947
|
0 |
0 |
unless $config{'use_stdout'} |
950
|
0 |
0 |
unless $template->process(@template_args) |
986
|
0 |
0 |
if ($object->Type eq 'class') |
990
|
0 |
0 |
if ($object->Type eq 'superclass') |
993
|
0 |
0 |
if ($$self{'packages'}{'superclass'}{$object->Name}) |
1000
|
0 |
0 |
if ($object->Type eq 'Component') |
1002
|
0 |
0 |
if ($$self{'packages'}{'Component'}{$object->Name}) |
1027
|
0 |
0 |
if (defined $$self{$new_package->Type}) |
1035
|
0 |
0 |
if (defined $new_package->Type and defined $new_package->Id) |
1063
|
0 |
0 |
if (ref $childless) { } |
1067
|
0 |
0 |
unless ($class->has_child) |
1081
|
0 |
0 |
if (ref $parents) { } |
1085
|
0 |
0 |
if ($class->has_child) |
1098
|
0 |
0 |
unless $$self{'config'}{'silent'} |
1118
|
0 |
0 |
if (ref $classes) |
1124
|
0 |
0 |
if (uc ref $methods eq 'SCALAR') |
1127
|
0 |
0 |
if ($config{'attributes'}) |
1129
|
0 |
0 |
if (uc ref $attributes eq 'SCALAR') |
1140
|
0 |
0 |
if (ref $superclasses) |
1150
|
0 |
0 |
if (ref $components) |
1160
|
0 |
0 |
if (ref $inheritances) |
1167
|
0 |
0 |
if (ref $dependancies) |
1175
|
0 |
0 |
if (ref $realizations) |
1185
|
0 |
0 |
if (ref $relations) |
1204
|
0 |
0 |
if $depth < $newdepth |
1216
|
0 |
0 |
unless (ref $row) |
1219
|
0 |
0 |
if scalar @$row > $widest_row |
1223
|
0 |
0 |
unless (defined $node and defined $nodes{$node}) |
1224
|
0 |
0 |
if $nodes{$node}{'height'} > $tallest_node_height |
1226
|
0 |
0 |
if $nodes{$node}{'width'} > $widest_node_width |
1260
|
0 |
0 |
unless ref $rows[0] |
1262
|
0 |
0 |
unless scalar @toprow < 3 |
1274
|
0 |
0 |
if (defined $nodes{$node}{'children'} and defined $rows[1]) |
1275
|
0 |
0 |
if (scalar @{$nodes{$node}{'children'};} and scalar @rows and scalar @{$rows[1];} > 0) { } |
|
0 |
0 |
elsif (defined $rows[1] and scalar @{$rows[1];} and $done2ndrow == 0) { } |
1286
|
0 |
0 |
if ($childpos <= $widest_row * 0.385) { } |
|
0 |
0 |
elsif ($childpos <= $widest_row * 0.615) { } |
1305
|
0 |
0 |
if (scalar @{$nodes{$node}{'children'};} and scalar @{$rows[2];}) |
1315
|
0 |
0 |
unless $child |
1317
|
0 |
0 |
if ($childpos <= $widest_row * 0.385) { } |
|
0 |
0 |
elsif ($childpos <= $widest_row * 0.615) { } |
1340
|
0 |
0 |
if (ref $self->Dependancies) |
1343
|
0 |
0 |
if (ref $self->Realizations) |
1346
|
0 |
0 |
if (ref $self->Inheritances) |
1349
|
0 |
0 |
if (ref $self->Relations) |
1364
|
0 |
0 |
if (ref $$self{'_nodes'}) |
1379
|
0 |
0 |
if (exists $$nodes{$node}{'depth'}) { } |
1384
|
0 |
0 |
if (scalar @parents > 0) { } |
1387
|
0 |
0 |
if $depth < $newdepth |
1412
|
0 |
0 |
if ($$self{'_dia_done'}{$$node{'entity'}->Id} and scalar @children < 1) { } |
|
0 |
0 |
elsif ($$self{'_dia_done'}{$node}) { } |
1413
|
0 |
0 |
if (scalar @parents > 1) |
1417
|
0 |
0 |
unless exists $$self{'_dia_nodes'}{$$parent{'entity'}->Id}{'pos'} |
1422
|
0 |
0 |
if (not exists $$self{'_dia_positions'}[$depth]{int $newpos}) { } |
1425
|
0 |
0 |
$best_available > $newpos ? : |
1428
|
0 |
0 |
$available > $newpos ? : |
1429
|
0 |
0 |
if ($newdiff < $diff) |
1456
|
0 |
0 |
unless (exists $$self{'_dia_positions'}[$depth]{int $pos}) |
1461
|
0 |
0 |
$available > $pos ? : |
1462
|
0 |
0 |
if ($newdiff < $diff) |
1484
|
0 |
0 |
if (scalar @{$$node{'children'};}) { } |
|
0 |
0 |
elsif (scalar @parents == 1) { } |
1489
|
0 |
0 |
ref $$self{'_dia_rows'}[$depth + 1] ? : |
1491
|
0 |
0 |
if ($side eq 'left') { } |
|
0 |
0 |
elsif ($side eq 'center') { } |
1499
|
0 |
0 |
if plot_branch($self, $$self{'_dia_nodes'}{$child}, $childpos, $side) |
1532
|
0 |
0 |
if (defined $columns[$column_count][2][0]) { } |
1545
|
0 |
0 |
if (defined $class->Inheritances) { } |
1561
|
0 |
0 |
if (ref $self->Components) { } |
1576
|
0 |
0 |
if (ref $column) { } |
1578
|
0 |
0 |
unless defined $column |
1582
|
0 |
0 |
if (defined $child_ids{$child->Id}) |
1587
|
0 |
0 |
if ($children > $current_children) |
1601
|
0 |
0 |
if (ref $self->Superclasses) { } |
1617
|
0 |
0 |
if (ref $column) { } |
1622
|
0 |
0 |
if (defined $child_ids{$child->Id}) |
1627
|
0 |
0 |
if ($children > $current_children) |
1661
|
0 |
0 |
if ($count >= 4) |
1677
|
0 |
0 |
if (ref $self->Dependancies) |
1680
|
0 |
0 |
if (ref $self->Realizations) |
1683
|
0 |
0 |
if (ref $self->Inheritances) |
1694
|
0 |
0 |
unless $retval |
1711
|
0 |
0 |
if ($config{'outputfile'} =~ /\.xmi$/) |