remove inaccurate output about analyzing 0 procedures

Summary:public
With on-demand enabled by default, Infer always thinks that 0 procedures were
analysed.

Reviewed By: cristianoc

Differential Revision: D2965874

fb-gh-sync-id: 98727a4
shipit-source-id: 98727a4
master
Jules Villard 9 years ago committed by facebook-github-bot-7
parent a83f544775
commit af5f4c6afd

@ -595,11 +595,9 @@ class Infer:
issues.print_and_save_errors(json_report, bugs_out) issues.print_and_save_errors(json_report, bugs_out)
def print_analysis_stats(self): def print_analysis_stats(self):
procs_total = self.stats['int']['procedures']
files_total = self.stats['int']['files'] files_total = self.stats['int']['files']
procs_str = utils.get_plural('procedure', procs_total)
files_str = utils.get_plural('file', files_total) files_str = utils.get_plural('file', files_total)
print('Analyzed %s in %s' % (procs_str, files_str)) print('Analyzed {}'.format(files_str))
def start(self): def start(self):
if self.javac.args.version: if self.javac.args.version:

Loading…
Cancel
Save