True and a shipyard is a likely place for a fire unfortunately. When we went into the yards we had a T.A.D. Fire Dept. {understandably that's not possible on subs or smaller ships}. The division later became full time even at sea and maintained all fire stations and hatches etc. Our job was to do walk throughs in all accessible spaces looking for hazards etc. We also answered the Fire Bell.
The worse fire I saw in my time onboard ship was in the yards and me and a guy in my shop {both of us were T.A.D. FD also} had discovered it. It was basically a rags and cardboard fire best I recall. The duty team took the fire and we did OBA investigations on surrounding compartments. The fire was off the hanger bay. The heat transfer from it was on the 02 level two decks up. You better believe we had questions to answer after the fire was out. That space was one I reckon nobody had checked due to a pad lock on the hatch.
I fought one large class A fire (on another ship when our R and A team was called away) and had another 10 years later one night when I was the duty section leader. Interestingly, neither were in the yards and both were found later to have been deliberately set by disgruntled crewmen. The first one was on an LHA and the guy actually had three fires going at the same time, which was why they called for assistance from other ships. The second the same guy had also sabotaged steering gear motors earlier to keep the ship from getting underway. Later they nailed him for both the fire and the steering motors.