The CP group had the highest prevalence of P. gingivalis (81.5%), followed by DM + CP (59.3%) and DM (55.0%) groups (P > 0.05). This evidence concerns the gene CP and diabetes mellitus.