def deliverTextResults(self):
output = "<STR_LIT>""<STR_LIT>"<EOL>fileResults = sorted(self.fileCounts.items(),<EOL>key=lambda x: x[<NUM_LIT:1>]["<STR_LIT>"], reverse=True)<EOL>output += "<STR_LIT>"<EOL>count = <NUM_LIT:0><EOL>for item in fileResults:<EOL><INDENT>count += <NUM_LIT:1><EOL>output += "<STR_LIT>" % (count, item[<NUM_LIT:0>],<EOL>item[<NUM_LIT:1>]["<STR_LIT>"])<EOL><DEDENT>output += "<STR_LIT>"<EOL>count = <NUM_LIT:0><EOL>warningCount = <NUM_LIT:0><EOL>warningResults = sorted(self.warningCounts.items(),<EOL>key=lambda x: x[<NUM_LIT:1>]["<STR_LIT:count>"], reverse=True)<EOL>for item in warningResults:<EOL><INDENT>warningCount += item[<NUM_LIT:1>]["<STR_LIT:count>"]<EOL><DEDENT>for warning, winfo in warningResults:<EOL><INDENT>count += <NUM_LIT:1><EOL>output += "<STR_LIT>" % (count, warning,<EOL>winfo["<STR_LIT:count>"], int(winfo["<STR_LIT:count>"] / warningCount * <NUM_LIT:100>),<EOL>tools.cleanupMessage(warning, winfo))<EOL><DEDENT>return output<EOL>
Deliver the results in a pretty text output.

@return: Pretty text output!