Flashing shall be installed in such a manner so as to prevent moisture entering the building or structure in accordance with the provisions of this chapter. Roof coverings shall be designed, installed and maintained in accordance with this code and the approved manufacturer’s instructions such that the roof covering shall serve to protect the building or structure.