A consulting group has given most of the country’s major listed companies a fail grade when it comes to way they support their code of ethics.