Coverage Report - org.apache.maven.plugin.dependency.utils.DependencySilentLog
 
Classes in this File Line Coverage Branch Coverage Complexity
DependencySilentLog
97%
31/32
N/A
1
 
 1  
 package org.apache.maven.plugin.dependency.utils;
 2  
 
 3  
 /*
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "License"); you may not use this file except in compliance
 10  
  * with the License.  You may obtain a copy of the License at
 11  
  *
 12  
  * http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 14  
  * Unless required by applicable law or agreed to in writing,
 15  
  * software distributed under the License is distributed on an
 16  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  * KIND, either express or implied.  See the License for the
 18  
  * specific language governing permissions and limitations
 19  
  * under the License.    
 20  
  */
 21  
 
 22  
 import org.apache.maven.plugin.logging.Log;
 23  
 import org.codehaus.plexus.logging.Logger;
 24  
 
 25  
 /**
 26  
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
 27  
  * @version $Id: DependencySilentLog.java 728546 2008-12-21 22:56:51Z bentmann $
 28  
  */
 29  714
 public class DependencySilentLog
 30  
     implements Log, Logger
 31  
 {
 32  
 
 33  
     public boolean isDebugEnabled()
 34  
     {
 35  2
         return false;
 36  
     }
 37  
 
 38  
     public void debug( CharSequence content )
 39  
     {
 40  13
     }
 41  
 
 42  
     public void debug( CharSequence content, Throwable error )
 43  
     {
 44  1
     }
 45  
 
 46  
     public void debug( Throwable error )
 47  
     {
 48  3
     }
 49  
 
 50  
     public boolean isInfoEnabled()
 51  
     {
 52  2
         return false;
 53  
     }
 54  
 
 55  
     public void info( CharSequence content )
 56  
     {
 57  540
     }
 58  
 
 59  
     public void info( CharSequence content, Throwable error )
 60  
     {
 61  1
     }
 62  
 
 63  
     public void info( Throwable error )
 64  
     {
 65  1
     }
 66  
 
 67  
     public boolean isWarnEnabled()
 68  
     {
 69  2
         return false;
 70  
     }
 71  
 
 72  
     public void warn( CharSequence content )
 73  
     {
 74  1
     }
 75  
 
 76  
     public void warn( CharSequence content, Throwable error )
 77  
     {
 78  1
     }
 79  
 
 80  
     public void warn( Throwable error )
 81  
     {
 82  1
     }
 83  
 
 84  
     public boolean isErrorEnabled()
 85  
     {
 86  2
         return false;
 87  
     }
 88  
 
 89  
     public void error( CharSequence content )
 90  
     {
 91  1
     }
 92  
 
 93  
     public void error( CharSequence content, Throwable error )
 94  
     {
 95  1
     }
 96  
 
 97  
     public void error( Throwable error )
 98  
     {
 99  1
     }
 100  
 
 101  
     public void debug( String message )
 102  
     {
 103  
         // TODO Auto-generated method stub
 104  
 
 105  341
     }
 106  
 
 107  
     public void debug( String message, Throwable throwable )
 108  
     {
 109  
         // TODO Auto-generated method stub
 110  
 
 111  1
     }
 112  
 
 113  
     public void info( String message )
 114  
     {
 115  
         // TODO Auto-generated method stub
 116  
 
 117  1
     }
 118  
 
 119  
     public void info( String message, Throwable throwable )
 120  
     {
 121  
         // TODO Auto-generated method stub
 122  
 
 123  1
     }
 124  
 
 125  
     public void warn( String message )
 126  
     {
 127  
         // TODO Auto-generated method stub
 128  
 
 129  1
     }
 130  
 
 131  
     public void warn( String message, Throwable throwable )
 132  
     {
 133  
         // TODO Auto-generated method stub
 134  
 
 135  1
     }
 136  
 
 137  
     public void error( String message )
 138  
     {
 139  
         // TODO Auto-generated method stub
 140  
 
 141  1
     }
 142  
 
 143  
     public void error( String message, Throwable throwable )
 144  
     {
 145  
         // TODO Auto-generated method stub
 146  
 
 147  1
     }
 148  
 
 149  
     public void fatalError( String message )
 150  
     {
 151  
         // TODO Auto-generated method stub
 152  
 
 153  1
     }
 154  
 
 155  
     public void fatalError( String message, Throwable throwable )
 156  
     {
 157  
         // TODO Auto-generated method stub
 158  
 
 159  1
     }
 160  
 
 161  
     public boolean isFatalErrorEnabled()
 162  
     {
 163  
         // TODO Auto-generated method stub
 164  1
         return false;
 165  
     }
 166  
 
 167  
     public Logger getChildLogger( String name )
 168  
     {
 169  
         // TODO Auto-generated method stub
 170  1
         return null;
 171  
     }
 172  
 
 173  
     public int getThreshold()
 174  
     {
 175  
         // TODO Auto-generated method stub
 176  1
         return 0;
 177  
     }
 178  
 
 179  
     public String getName()
 180  
     {
 181  
         // TODO Auto-generated method stub
 182  1
         return null;
 183  
     }
 184  
 
 185  
     /* (non-Javadoc)
 186  
      * @see org.codehaus.plexus.logging.Logger#setThreshold(int)
 187  
      */
 188  
     public void setThreshold( int theThreshold )
 189  
     {
 190  
         // TODO Auto-generated method stub
 191  
         
 192  0
     }
 193  
 }