code: @Override
      public void execute()
          throws MojoExecutionException
      {
          if ( !canGenerateReport() )
          {
              getLog().info( "Skipping SCoverage report generation" );
              return;
          }
  
          try
          {
              RenderingContext context = new RenderingContext( outputDirectory, getOutputName() + ".html" );
              SiteRendererSink sink = new SiteRendererSink( context );
              Locale locale = Locale.getDefault();
              generate( sink, locale );
          }
          catch ( MavenReportException e )
          {
              String prefix = "An error has occurred in " + getName( Locale.ENGLISH ) + " report generation";
              throw new MojoExecutionException( prefix + ": " + e.getMessage(), e );
          }
      }
docs: Generates SCoverage report.
  
  @throws MojoExecutionException if unexpected problem occurs