The formula for nonalcoholic fatty liver disease fibrosis score includes age, body mass index, impaired fasting glycemia or diabetes, the aspartate aminotransferase to alanine aminotransferase ratio, platelets, and albumin. Here, GPT is linked to diabetes mellitus.