It shall be the duty of the mechanical inspector to issue permits and inspect all mechanical work and gas distribution from the outlet side of the meter and all gas installations, but to exclude gas mains, within the City and the two mile area adjacent thereto and to investigate all reported cases of the use of imperfect materials or workmanship on any job of mechanical work or the violation of any of the provisions of this article by a plumber, mechanical fitter or builder.