Branch Coverage

blib/lib/Metabrik/Client/Mysql.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
75 0 0 unless my $sp = 'Metabrik::String::Password'->new_from_brik_init($self)
87 0 0 unless $password ||= $self->password || $self->password_prompt("Enter $username password: ")
88 0 0 unless $self->brik_help_run_undef_arg('open', $db)
89 0 0 unless $self->brik_help_run_undef_arg('open', $host)
90 0 0 unless $self->brik_help_run_undef_arg('open', $port)
91 0 0 unless $self->brik_help_run_undef_arg('open', $username)
103 0 0 unless ($dbh)
116 0 0 unless $self->brik_help_run_undef_arg('open', $dbh)
127 0 0 unless $self->brik_help_run_undef_arg('createdb', $db)
132 0 0 unless my $password = $self->password || $self->password_prompt("Enter $username password: ")
134 0 0 unless my $sc = 'Metabrik::Shell::Command'->new_from_brik_init($self)
144 0 0 unless $self->brik_help_run_undef_arg('dropdb', $db)
149 0 0 unless my $password = $self->password || $self->password_prompt("Enter $username password: ")
151 0 0 unless my $sc = 'Metabrik::Shell::Command'->new_from_brik_init($self)
161 0 0 unless $self->brik_help_run_undef_arg('save', $db)
162 0 0 unless $self->brik_help_run_undef_arg('save', $filename)
167 0 0 unless my $password = $self->password || $self->password_prompt("Enter $username password: ")
169 0 0 unless my $sc = 'Metabrik::Shell::Command'->new_from_brik_init($self)
179 0 0 unless $self->brik_help_run_undef_arg('load', $filename)
180 0 0 unless $self->brik_help_run_file_not_found('load', $filename)
181 0 0 unless $self->brik_help_run_undef_arg('load', $db)
186 0 0 unless my $password = $self->password || $self->password_prompt("Enter $username password: ")
188 0 0 unless my $sc = 'Metabrik::Shell::Command'->new_from_brik_init($self)
199 0 0 unless $self->brik_help_run_undef_arg('create_user', $username)
204 0 0 unless my $mysql_password = $self->password || $self->password_prompt("Enter $mysql_username password: ")
206 0 0 unless $password ||= $self->password_prompt("Enter $username password: ")
208 0 0 unless my $sc = 'Metabrik::Shell::Command'->new_from_brik_init($self)
222 0 0 unless $self->brik_help_run_undef_arg('grant_all_privileges', $db)
223 0 0 unless $self->brik_help_run_undef_arg('grant_all_privileges', $username)
228 0 0 unless my $mysql_password = $self->password || $self->password_prompt("Enter $mysql_username password: ")
230 0 0 unless $password ||= $self->password_prompt("Enter $username password: ")
232 0 0 unless my $sc = 'Metabrik::Shell::Command'->new_from_brik_init($self)
249 0 0 unless $mysql_password ||= $self->password || $self->password_prompt("Enter $mysql_username password: ")
251 0 0 unless my $sc = 'Metabrik::Shell::Command'->new_from_brik_init($self)