Branch Coverage

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


line true false branch
40 0 103 if $debug
43 1 102 if (defined $$col{'primarykey'} and ref $$col{'primarykey'} eq 'ARRAY')
47 1 101 if (defined $$col{'unique'})
52 13 88 defined $$col{'primarykey'} ? :
53 19 82 !(defined $$col{'default'} || defined $$col{'foreign'}) ? :
56 0 101 if $must_nn and $isnt_nn
57 20 81 if defined $$col{'foreign'}
59 70 31 $$col{'notnull'} ? :
60 13 88 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'} ? :