https://www.auditbase.com/detectors/total-supply-zero-gas-optimization
Consider the case where totalsupply is 0 (G051) | AuditBase
Learn about the Solidity security issue of dividing by zero when totalSupply is set to 0, and why it's important to handle this case properly to avoid errors.
the caseconsidertotalsupply