LCOV - code coverage report
Current view: top level - src/outputs - ReporterDebugOutput.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 12 13 92.3 %
Date: 2025-07-17 01:28:37 Functions: 3 3 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : #include "ReporterDebugOutput.h"
      11             : 
      12             : // MOOSE includes
      13             : #include "FEProblemBase.h"
      14             : 
      15             : registerMooseObject("MooseApp", ReporterDebugOutput);
      16             : 
      17             : InputParameters
      18       14285 : ReporterDebugOutput::validParams()
      19             : {
      20       14285 :   InputParameters params = Output::validParams();
      21       14285 :   params.addClassDescription("Debug output object for displaying Reporter information.");
      22       14285 :   params.set<ExecFlagEnum>("execute_on") = EXEC_INITIAL;
      23       14285 :   return params;
      24           0 : }
      25             : 
      26          10 : ReporterDebugOutput::ReporterDebugOutput(const InputParameters & parameters) : Output(parameters) {}
      27             : 
      28             : void
      29          10 : ReporterDebugOutput::output()
      30             : {
      31          10 :   _console << "\nDeclared/requested Reporter Information:\n\n  "
      32          30 :            << MooseUtils::replaceAll(
      33          30 :                   _problem_ptr->getReporterData().getReporterInfo(), "\n", "\n  ")
      34          10 :            << std::endl;
      35          10 : }

Generated by: LCOV version 1.14