Branch Coverage

lib/DBIx/Schema/Changelog/Action/Constraint.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
41 0 111 if $debug
44 1 110 if (defined $$col{'primarykey'} and ref $$col{'primarykey'} eq 'ARRAY')
48 1 109 if (defined $$col{'unique'})
53 14 95 defined $$col{'primarykey'} ? :
54 23 86 !(defined $$col{'default'} || defined $$col{'foreign'}) ? :
57 0 109 if $must_nn and $isnt_nn
58 20 89 if defined $$col{'foreign'}
60 74 35 $$col{'notnull'} ? :
61 14 95 defined $$col{'primarykey'} ? :
108 0 20 unless $$actions{'foreign_key'}
137 0 1 unless $$actions{'unique'}
138 0 1 defined $$col{'table'} ? :
140 1 0 defined $$col{'name'} ? :
154 1 0 defined $$col{'name'} ? :