code: def deliverTextResults(self):
          
  
          output = "=======================\ntxctools Hotspot Report\n"\
          "=======================\n\n"
  
          fileResults = sorted(self.fileCounts.items(),
              key=lambda x: x[1]["warning_count"], reverse=True)
  
          output += "Warnings per File\n=================\n"
          count = 0
  
          for item in fileResults:
              count += 1
              output += "#%s - %s - %s\n" % (count, item[0],
                  item[1]["warning_count"])
  
          output += "\nWarnings Breakdown\n==================\n"
          count = 0
          warningCount = 0
  
          warningResults = sorted(self.warningCounts.items(),
              key=lambda x: x[1]["count"], reverse=True)
  
          for item in warningResults:
              warningCount += item[1]["count"]
  
          for warning, winfo in warningResults:
              count += 1
              output += "#%s - %s - %s (%s%%) - %s\n" % (count, warning,
                  winfo["count"], int(winfo["count"] / warningCount * 100),
                  tools.cleanupMessage(warning, winfo))
  
          return output
docs: Deliver the results in a pretty text output.
  
          @return: Pretty text output!