Branch Coverage

File:script/database-bi
Coverage:80.0%

line%coveragebranch
3250TFif $arg =~ /\A-/
36100TFif $name =~ /\A\w+\z/ and not Mojo::Loader::load_class($class)
55100TFif @others
5950TFunless ($database =~ m[\A(?:/\.\./|redis:|mariadb:)]i)
61100TFunless -e $database
62100TFunless -f _
6350TFunless -r _
64100TFunless Database::BI::Controller::Dashboard::is_supported_file($database)
73100TFif (@ARGV and _names_a_database($ARGV[0]))
8650TFunless (@ARGV or defined $ENV{'MOJO_APP_LOADER'})