Well the ships defending the starbase always fight their own battle when attacked. Only if the defending ships are defeated, will the starbase get involved.
Its effectively a 'separate' engagement.
So normally, my focus is on the defending ships only, and to me, the starbase is irrelevant - except for the purpose of increased logistics.
Sometimes i will have 'junk' ships defending a starbase, in which case i do not really care about the ships and my main focus will be on the starbase combat phase. The junk ships are mainly for the purpose of diplomacy and will eventually be sold or upgraded at some point.