I've noticed that if I give my military starbases the startship defense modules, it doesn't seem to help them in combat. Whether I look at them on the map, during battle, or in the afterbattle report under the starbase defense bonus category, no matter what it doesnt list anything. The attack bonuses seem to work fine.