def dead_code_remark(dead_code):
    """Generate remark for dead code detection."""
    if dead_code["display_results"]:
        if dead_code["failed"] != 0:
            return "<li>remove dead code</li>"
        else:
            return ""
    else:
        return "<li>setup dead code detection tool</li>"