Branch Coverage

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


line true false branch
40 0 111 if $debug
43 1 110 if (defined $$col{'primarykey'} and ref $$col{'primarykey'} eq 'ARRAY')
47 1 109 if (defined $$col{'unique'})
52 14 95 defined $$col{'primarykey'} ? :
53 23 86 !(defined $$col{'default'} || defined $$col{'foreign'}) ? :
56 0 109 if $must_nn and $isnt_nn
57 20 89 if defined $$col{'foreign'}
59 74 35 $$col{'notnull'} ? :
60 14 95 defined $$col{'primarykey'} ? :
107 0 20 unless $$actions{'foreign_key'}
136 0 1 unless $$actions{'unique'}
137 0 1 defined $$col{'table'} ? :
139 1 0 defined $$col{'name'} ? :
153 1 0 defined $$col{'name'} ? :