(self, sel_list)
| 390 | return stats_profile |
| 391 | |
| 392 | def get_print_list(self, sel_list): |
| 393 | width = self.max_name_len |
| 394 | if self.fcn_list: |
| 395 | stat_list = self.fcn_list[:] |
| 396 | msg = " Ordered by: " + self.sort_type + '\n' |
| 397 | else: |
| 398 | stat_list = list(self.stats.keys()) |
| 399 | msg = " Random listing order was used\n" |
| 400 | |
| 401 | for selection in sel_list: |
| 402 | stat_list, msg = self.eval_print_amount(selection, stat_list, msg) |
| 403 | |
| 404 | count = len(stat_list) |
| 405 | |
| 406 | if not stat_list: |
| 407 | return 0, stat_list |
| 408 | print(msg, file=self.stream) |
| 409 | if count < len(self.stats): |
| 410 | width = 0 |
| 411 | for func in stat_list: |
| 412 | if len(func_std_string(func)) > width: |
| 413 | width = len(func_std_string(func)) |
| 414 | return width+2, stat_list |
| 415 | |
| 416 | def print_stats(self, *amount): |
| 417 | for filename in self.files: |
no test coverage detected