Coverage Report - controllers.Cobertura
 
Classes in this File Line Coverage Branch Coverage Complexity
Cobertura
30 %
3/10
N/A
1
 
 1  
 package controllers;
 2  
 
 3  
 import play.Logger;
 4  
 import play.modules.cobertura.CoberturaPlugin;
 5  
 import play.mvc.Controller;
 6  
 
 7  0
 public class Cobertura  extends Controller{
 8  
         
 9  
         public static void index(){
 10  4
                 Logger.info("Call Cobertura.index");
 11  4
                 render();
 12  0
         }
 13  
         
 14  
         //TODO
 15  
         public static void generateReport(){
 16  1
                 String url = CoberturaPlugin.forceReportWriting();
 17  0
                 renderText("ok");
 18  0
         }
 19  
         
 20  
         public static void clear(){
 21  0
                 CoberturaPlugin.forceInit();
 22  0
                 renderText("ok");
 23  0
         }
 24  
         
 25  
 //        //TODO
 26  
 //        public static void cleanReport(){
 27  
 //                CoberturaPlugin.cleanPlayTmp();
 28  
 //                CoberturaPlugin.initCobertura();
 29  
 //                renderText("ok");
 30  
 //        }
 31  
 }