(a)    No person shall abandon or knowingly permit to remain on public or private property, any excavation, well, cesspool or structure which is in the process of construction, reconstruction, repair or alteration unless the same is adequately protected by suitable barricades and guarded by warning devices or lights at night so that the condition will not reasonably prove dangerous to life or limb.
   (b)    No person shall destroy, remove, damage or extinguish any barricade or warning light that is placed for the protection of the public so as to prevent injury to life or limb.
   (c)    No person shall allow an excavation, foundation area or a hole on any parcel of land in the City to remain open for a period longer than thirty days where building and construction of the dwelling or structure are held up or suspended by the owner of the lot or parcel of land or by the contractor or subcontractor hired to complete the building.
   (d)    Any person who finds it necessary to cease or suspend operation after excavating upon any parcel of land, shall take the necessary measures to prevent the accumulation of water and undertake such other measures that might be necessary to protect the public from the accumulation of water that might become stagnant and spread foul odor. It is further provided that in the event the Safety-Service Director finds that conditions exist whereby water has been permitted to accumulate in an excavation by reason of the fact that it was allowed to remain open for a period of time in excess of thirty days, then the Director shall notify the contractor, subcontractor or owner to abate and cause the condition to be removed.
   (e)    Whoever violates this section is guilty of a minor misdemeanor.