[code-quality] Calculate the Convention Error