Ditches, pits, excavations and surfaces in poor repair shall be guarded by readily visible barricades, rails or other equally effective means.