Clover coverage report -
Coverage timestamp: Fri Nov 19 2004 13:41:51 PST
file stats: LOC: 24   Methods: 3
NCLOC: 19   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
FolderMeta.java 100% 66.7% 33.3% 63.6%
coverage coverage
 1    package photospace.meta;
 2   
 3    public class FolderMeta
 4    extends CollectionMeta
 5    {
 6   
 7  28 public String getParentPath()
 8    {
 9  10 if (super.getParentPath() == null) return null;
 10  18 String parent = getPath().substring(0, getPath().length() - 1);
 11  18 return parent.substring(0, parent.lastIndexOf("/") + 1);
 12    }
 13   
 14  0 public boolean isRoot()
 15    {
 16  0 return "/".equals(getPath());
 17    }
 18   
 19  0 public String toString()
 20    {
 21  0 return "Folder[" + getPath() + "]";
 22    }
 23   
 24    }