If the extra credit checkbox is ticked, the grade item's maximum grade is not added to the category's maximum grade, resulting in the possibility of achieving the maximum grade (or grades over the maximum if enabled by the site administrator) in the category without having the maximum grade in all the grade items.