| line |
true |
false |
branch |
|
47
|
0 |
0 |
unless $dbh->do("CREATE TABLE IF NOT EXISTS videos(\n video_id TEXT PRIMARY KEY,\n video_title TEXT,\n channel_id TEXT,\n channel_title TEXT,\n watched INTEGER NOT NULL DEFAULT 0\n);\n") |
|
82
|
0 |
0 |
unless $sth->execute |
|
83
|
0 |
0 |
unless my $row = $sth->fetchrow_hashref |
|
88
|
0 |
0 |
if exists $ENV{'BROWSER'} |
|
90
|
0 |
0 |
if (/MSWin32/u or /cygwin/u) |
|
93
|
0 |
0 |
if (/darwin/u) |
|
96
|
0 |
0 |
if (/linux/u) |
|
116
|
0 |
0 |
unless $sth->execute($vid) |
|
122
|
0 |
0 |
unless (@video_ids) |
|
147
|
0 |
0 |
unless &GetOptions('db-path|d=s', \$dbpath, 'add|a', \$add, 'watch|w', \$watch) |
|
153
|
0 |
0 |
if $add and $watch |
|
155
|
0 |
0 |
$watch ? : |