Restub analysis