Analysis of resistive joints for superconducting cables for fusion applications