line |
true |
false |
branch |
139
|
0 |
39 |
unless defined $param |
141
|
5 |
34 |
if ($param eq 'Track ID') { } |
|
1 |
33 |
elsif ($param eq 'Name') { } |
|
1 |
32 |
elsif ($param eq 'Artist') { } |
|
1 |
31 |
elsif ($param eq 'Album Artist') { } |
|
1 |
30 |
elsif ($param eq 'Composer') { } |
|
1 |
29 |
elsif ($param eq 'Album') { } |
|
1 |
28 |
elsif ($param eq 'Grouping') { } |
|
1 |
27 |
elsif ($param eq 'Genre') { } |
|
1 |
26 |
elsif ($param eq 'Kind') { } |
|
1 |
25 |
elsif ($param eq 'Size') { } |
|
1 |
24 |
elsif ($param eq 'Total Time') { } |
|
1 |
23 |
elsif ($param eq 'Year') { } |
|
1 |
22 |
elsif ($param eq 'Date Modified') { } |
|
1 |
21 |
elsif ($param eq 'Date Added') { } |
|
1 |
20 |
elsif ($param eq 'Bit Rate') { } |
|
1 |
19 |
elsif ($param eq 'Comments') { } |
|
1 |
18 |
elsif ($param eq 'Sample Rate') { } |
|
1 |
17 |
elsif ($param eq 'Play Count') { } |
|
1 |
16 |
elsif ($param eq 'Play Date') { } |
|
1 |
15 |
elsif ($param eq 'Play Date UTC') { } |
|
1 |
14 |
elsif ($param eq 'Release Date') { } |
|
1 |
13 |
elsif ($param eq 'Skip Count') { } |
|
1 |
12 |
elsif ($param eq 'Skip Date') { } |
|
1 |
11 |
elsif ($param eq 'Rating') { } |
|
1 |
10 |
elsif ($param eq 'Album Rating') { } |
|
1 |
9 |
elsif ($param eq 'Album Rating Computed') { } |
|
1 |
8 |
elsif ($param eq 'Compilation') { } |
|
1 |
7 |
elsif ($param eq 'Persistent ID') { } |
|
1 |
6 |
elsif ($param eq 'Track Type') { } |
|
1 |
5 |
elsif ($param eq 'iTunesU') { } |
|
1 |
4 |
elsif ($param eq 'Location') { } |
|
1 |
3 |
elsif ($param eq 'File Folder Count') { } |
|
1 |
2 |
elsif ($param eq 'Library Folder Count') { } |
|
1 |
1 |
elsif ($param eq 'Track Count') { } |
|
1 |
0 |
elsif ($param eq 'Track Number') { } |
196
|
5 |
5 |
if (@_) |
198
|
0 |
5 |
unless _checkNum($id) |
209
|
1 |
1 |
if (@_) |
211
|
0 |
1 |
unless $name =~ /.*/ |
227
|
1 |
1 |
if (@_) |
229
|
0 |
1 |
unless $artist =~ /.*/ |
245
|
1 |
1 |
if (@_) |
247
|
0 |
1 |
unless $albumArtist =~ /.*/ |
264
|
1 |
1 |
if (@_) |
266
|
0 |
1 |
unless $composer =~ /.*/ |
283
|
1 |
1 |
if (@_) |
285
|
0 |
1 |
unless $album =~ /.*/ |
306
|
1 |
1 |
if (@_) |
308
|
0 |
1 |
unless $grouping =~ /.*/ |
324
|
1 |
1 |
if (@_) |
326
|
0 |
1 |
unless $genre =~ /.*/ |
342
|
1 |
1 |
if (@_) |
344
|
0 |
1 |
unless $kind =~ /(MPEG|AAC|MPEG-4|Audible) ?(audio|video)? (file|stream)/ |
361
|
1 |
1 |
if (@_) |
363
|
0 |
1 |
unless _checkNum($size) |
379
|
1 |
1 |
if (@_) |
381
|
0 |
1 |
unless _checkNum($totalTime) |
398
|
1 |
1 |
if (@_) |
400
|
0 |
1 |
unless $year =~ /\d{4}/ |
416
|
1 |
1 |
if (@_) |
418
|
0 |
1 |
unless _checkDate($dateModified) |
435
|
1 |
1 |
if (@_) |
437
|
0 |
1 |
unless _checkDate($dateAdded) |
454
|
1 |
1 |
if (@_) |
456
|
0 |
1 |
unless $bitRate =~ /\d{2,3}/ |
473
|
1 |
1 |
if (@_) |
475
|
0 |
1 |
unless $comments =~ /.*/ |
491
|
1 |
1 |
if (@_) |
493
|
0 |
1 |
unless $sampleRate =~ /\d{5}/ |
510
|
1 |
1 |
if (@_) |
512
|
0 |
1 |
unless $playCount =~ /\d{1,2}/ |
529
|
1 |
1 |
if (@_) |
531
|
0 |
1 |
unless $playDate =~ /-\d{10}/ |
548
|
1 |
1 |
if (@_) |
550
|
0 |
1 |
unless _checkDate($playDateUTC) |
567
|
1 |
1 |
if (@_) |
569
|
0 |
1 |
unless _checkDate($releaseDate) |
586
|
1 |
1 |
if (@_) |
588
|
0 |
1 |
unless $skipCount =~ /\d{1,2}/ |
605
|
1 |
1 |
if (@_) |
607
|
0 |
1 |
unless _checkDate($skipDate) |
624
|
1 |
1 |
if (@_) |
626
|
0 |
1 |
unless $rating =~ /\d{1,3}/ |
643
|
1 |
1 |
if (@_) |
645
|
0 |
1 |
unless $albumRating =~ /\d{1,3}/ |
662
|
1 |
1 |
if (@_) |
679
|
1 |
1 |
if (@_) |
696
|
1 |
1 |
if (@_) |
698
|
0 |
1 |
unless $persistentID =~ /\w{16}/ |
715
|
1 |
1 |
if (@_) |
717
|
0 |
1 |
unless $trackType =~ /(File|URL)/ |
734
|
1 |
1 |
if (@_) |
736
|
0 |
1 |
unless $iTunesU =~ /(Y|N)/ |
754
|
1 |
1 |
if (@_) |
756
|
0 |
1 |
unless $location =~ /.*/ |
773
|
1 |
1 |
if (@_) |
775
|
0 |
1 |
unless _checkNum($fileFolderCount) |
792
|
1 |
1 |
if (@_) |
794
|
0 |
1 |
unless _checkNum($libraryFolderCount) |
812
|
1 |
1 |
if (@_) |
814
|
0 |
1 |
unless _checkNum($trackCount) |
832
|
1 |
1 |
if (@_) |
834
|
0 |
1 |
unless _checkNum($trackNumber) |