Clover coverage report - clover
Coverage timestamp: Sat Oct 8 2005 22:54:17 EDT
file stats: LOC: 38   Methods: 8
NCLOC: 20   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
Comment.java - 28.6% 25% 26.7%
coverage coverage
 1   
 package abbot.script;
 2   
 
 3   
 import java.util.Map;
 4   
 
 5   
 import org.jdom.Element;
 6   
 
 7   
 
 8   
 /** Represents a comment.  No other function. */
 9   
 public class Comment extends Step {
 10   
 
 11   
     private static final String USAGE = "<!-- [text] -->";
 12   
 
 13  0
     public Comment(Resolver resolver, Map attributes) {
 14  0
         super(resolver, attributes);
 15   
     }
 16   
 
 17  178
     public Comment(Resolver resolver, String description) {
 18  178
         super(resolver, description);
 19   
     }
 20   
     
 21   
     /** Default to whitespace. */
 22  0
     public String getDefaultDescription() { return ""; }
 23   
 
 24  160
     public String toString() { return "# " + getDescription(); }
 25   
 
 26  0
     public String getUsage() { return USAGE; }
 27   
 
 28   
     /** This is only used to generate the title label for the editor. */
 29  0
     public String getXMLTag() { return TAG_COMMENT; }
 30   
 
 31  0
     public Element toXML() {
 32  0
         throw new RuntimeException("Comments are not elements");
 33   
     }
 34   
 
 35   
     /** Main run step. */
 36  0
     protected void runStep() { }
 37   
 }
 38