Branch Coverage

blib/lib/File/HomeDir/Darwin/Cocoa.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
43 0 0 unless eval { do { $class->_find_folder(Mac::SystemDirectory::NSDesktopDirectory()) } }
53 0 0 unless eval { do { $class->_find_folder(Mac::SystemDirectory::NSDocumentDirectory()) } }
63 0 0 unless eval { do { $class->_find_folder(Mac::SystemDirectory::NSApplicationSupportDirectory()) } }
73 0 0 unless eval { do { $class->_find_folder(Mac::SystemDirectory::NSMusicDirectory()) } }
83 0 0 unless eval { do { $class->_find_folder(Mac::SystemDirectory::NSPicturesDirectory()) } }
93 0 0 unless eval { do { $class->_find_folder(Mac::SystemDirectory::NSMoviesDirectory()) } }
104 0 0 unless defined $folder
106 0 0 unless (-d $folder)
109 0 0 unless -l $folder
110 0 0 unless my $dir = readlink $folder
111 0 0 unless -d $dir