For excavated swimming pools, the entire property on which the swimming pool is located shall be so walled or fenced so as to prevent uncontrolled access by children from the street or from adjacent properties. The fence or wall to be not less than four feet in height and maintained in good condition. When a fence is used, it shall not have any openings greater than four inches by six inches, except for approved gates; and when the fence is formed of metal or wire, such metal or wire shall not be less than number nine gauge.