Branch Coverage

lib/App/PRT/Command/MoveClassMethod.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
30 1 1 unless @arguments >= 2
45 2 9 unless $source =~ qr/\A[^#]+#[^#]+\Z/
46 0 9 unless $destination
108 1 8 unless $document
111 4 4 if ($method_body)
124 3 1 unless (-e $destination_file)
163 4 5 if ($command->execute($file))
176 1 3 if ($command->execute($file))
194 4 4 if ($command->execute($file))