Clover coverage report - XJavaDoc - 1.1
Coverage timestamp: Sun Oct 3 2004 19:56:54 BST
file stats: LOC: 38   Methods: 4
NCLOC: 21   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
HasTag.java - 0% 0% 0%
coverage
 1   
 /*
 2   
  * Copyright (c) 2001-2003 The XDoclet team
 3   
  * All rights reserved.
 4   
  */
 5   
 package xjavadoc.predicates;
 6   
 
 7   
 import xjavadoc.XProgramElement;
 8   
 
 9   
 /**
 10   
  * Filter that accepts program elements that have a certain tag
 11   
  *
 12   
  * @created   29. juli 2002
 13   
  */
 14   
 public class HasTag extends ProgramElementPredicate
 15   
 {
 16   
     private String     _tagName;
 17   
 
 18  0
     public HasTag()
 19   
     {
 20   
     }
 21   
 
 22  0
     public HasTag( String tagName )
 23   
     {
 24  0
         setTagName( tagName );
 25   
     }
 26   
 
 27  0
     public void setTagName( String tagName )
 28   
     {
 29  0
         _tagName = tagName;
 30   
     }
 31   
 
 32  0
     protected boolean evaluate( XProgramElement programElement )
 33   
     {
 34  0
         return programElement.getDoc().hasTag( _tagName );
 35   
     }
 36   
 }
 37   
 
 38