ALB and diabetes mellitus: Six variables were independent risk factors for postoperative infectious complications: age ≥ 60 (OR: 3.06, 95% confidence interval (CI): 1.06–8.79, P = 0.038), body mass index (BMI) ≥ 24.0 (OR: 3.70, 95%CI: 1.4–9.26, P = 0.005), diabetes (OR: 2.91, 95% CI: 1.10–7.73, P = 0.032), systemic immune-inflammation index (SII) ≥ 830 (OR: 6.95, 95% CI: 2.53–19.07, P < 0.001), albumin-to-fibrinogen ratio (AFR) < 9.25 (OR: 4.94, 95% CI: 2.02–12.07, P < 0.001), and neutrophil-to-lymphocyte ratio (NLR) ≥ 3.45 (OR: 7.53, 95% CI: 3.04–18.62, P < 0.001).