def get_metrics(manager):
    bits = []
    bits.append(header("\nRun metrics:"))
    for (criteria, default) in constants.CRITERIA:
        bits.append("\tTotal issues (by %s):" % (criteria.lower()))
        for rank in constants.RANKING:
            bits.append("\t\t%s: %s" % (
                rank.capitalize(),
                manager.metrics.data['_totals'][(criteria, rank) % '%s.%s']))
    return '\n'.join([str(bit) for bit in bits])
dataset/ETHPy150Open openstack/bandit/bandit/formatters/screen.py/get_metrics/swapped operands of `%`