(self)
| 355 | } |
| 356 | |
| 357 | def get_opcode_counts(self) -> dict[str, int]: |
| 358 | counts = {} |
| 359 | for opcode, entry in self._data.items(): |
| 360 | count = entry.get("count", 0) |
| 361 | if count: |
| 362 | counts[opcode] = count |
| 363 | return counts |
| 364 | |
| 365 | |
| 366 | class Stats: |
no test coverage detected