parameters: (analyzedFiles, nsiqcppstyle_state, filter, ciMode)
docstring: Report Summary Info into the screen.
docstring_summary: Report Summary Info into the screen.
docstring_tokens: Report Summary Info into the screen .
function: def ReportSummaryToScreen(analyzedFiles, nsiqcppstyle_state, filter, ciMode) :
      """
      Report Summary Info into the screen.
      """
      fileCount = len(analyzedFiles)
      violatedFileCount = len(nsiqcppstyle_state.errorPerFile.keys())
      buildQuality = 0
      if fileCount != 0 :
          buildQuality = (fileCount - violatedFileCount) * 100.0 / fileCount 
      print "\n"
      print ("=================================== Summary Report ===================================");
      print (" ** Total Available Rules     : %d" % nsiqcppstyle_rulemanager.ruleManager.availRuleCount)
      print (" ** Total Applied Rules       : %d" % len(nsiqcppstyle_state.checkers))
      print (" ** Total Violated Rules      : %d" % len(nsiqcppstyle_state.errorPerChecker.keys()))
      print (" ** Total Errors Occurs       : %d" % nsiqcppstyle_state.error_count)
      print (" ** Total Analyzed Files      : %d" % len(analyzedFiles))
      print (" ** Total Violated Files Count: %d" % violatedFileCount)
      print (" ** Build Quality             : %.2f%%" % buildQuality)
      if not ciMode :
          print ("\n================================ Violated Rule Details ===============================")
          for checker in nsiqcppstyle_state.errorPerChecker.keys() :
              print " - ", checker, "rule violated :", nsiqcppstyle_state.errorPerChecker[checker]
          print ("\n================================ Violated File Details ===============================")
          for eachFile in nsiqcppstyle_state.errorPerFile.keys() :
              count = 0
              for  eachRule in nsiqcppstyle_state.errorPerFile[eachFile].keys() :
                  count += nsiqcppstyle_state.errorPerFile[eachFile][eachRule]
              print " - ", eachFile, " violated in total : ", count
              for  eachRule in nsiqcppstyle_state.errorPerFile[eachFile].keys() :
                  print "   * ", eachRule, " : ", nsiqcppstyle_state.errorPerFile[eachFile][eachRule]
function_tokens: def ReportSummaryToScreen ( analyzedFiles , nsiqcppstyle_state , filter , ciMode ) : fileCount = len ( analyzedFiles ) violatedFileCount = len ( nsiqcppstyle_state . errorPerFile . keys ( ) ) buildQuality = 0 if fileCount != 0 : buildQuality = ( fileCount - violatedFileCount ) * 100.0 / fileCount print "\n" print ( "=================================== Summary Report ===================================" ) print ( " ** Total Available Rules     : %d" % nsiqcppstyle_rulemanager . ruleManager . availRuleCount ) print ( " ** Total Applied Rules       : %d" % len ( nsiqcppstyle_state . checkers ) ) print ( " ** Total Violated Rules      : %d" % len ( nsiqcppstyle_state . errorPerChecker . keys ( ) ) ) print ( " ** Total Errors Occurs       : %d" % nsiqcppstyle_state . error_count ) print ( " ** Total Analyzed Files      : %d" % len ( analyzedFiles ) ) print ( " ** Total Violated Files Count: %d" % violatedFileCount ) print ( " ** Build Quality             : %.2f%%" % buildQuality ) if not ciMode : print ( "\n================================ Violated Rule Details ===============================" ) for checker in nsiqcppstyle_state . errorPerChecker . keys ( ) : print " - " , checker , "rule violated :" , nsiqcppstyle_state . errorPerChecker [ checker ] print ( "\n================================ Violated File Details ===============================" ) for eachFile in nsiqcppstyle_state . errorPerFile . keys ( ) : count = 0 for eachRule in nsiqcppstyle_state . errorPerFile [ eachFile ] . keys ( ) : count += nsiqcppstyle_state . errorPerFile [ eachFile ] [ eachRule ] print " - " , eachFile , " violated in total : " , count for eachRule in nsiqcppstyle_state . errorPerFile [ eachFile ] . keys ( ) : print "   * " , eachRule , " : " , nsiqcppstyle_state . errorPerFile [ eachFile ] [ eachRule ]