We developed a general theory about the performance of a rotational shearing interferometer. We apply the aberration theory to the detection of planets outside our planet system. We considered cases when the mutual coherence functions of the on-axis and the off-axis system are 0 and 1.