Theoretical investigation of field-line quality in a driven spheromak