line |
true |
false |
branch |
49
|
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") |
63
|
0 |
0 |
$opts->{'force'} ? : |
91
|
0 |
0 |
unless $sth->execute |
92
|
0 |
0 |
unless my $row = $sth->fetchrow_hashref |
102
|
0 |
0 |
unless $sth->execute($vid) |
108
|
0 |
0 |
unless (@video_ids) |
114
|
0 |
0 |
if $opts->{'open'} |
140
|
0 |
0 |
unless &GetOptions(\%opts, 'db-path|d=s', 'add|a', 'watch|w', 'force|f!', 'open|o!') |
149
|
0 |
0 |
if $opts{'add'} and $opts{'watch'} |
162
|
0 |
0 |
if ($opts{'watch'}) { } |