exhaust leak on 1992 Nissan Pathfinder

I have real bad leak at cat to pipe connection and huge crack down the muffler. could this be why have no torque when accelerating. do I need fix this before emissions

2 answers
Could be the exhaust is restricted causing no power, and yes, replace/repair exhaust before emissions testing.
your leak may have been caused by plugged exh.seek a insp from muffler shop