I've noticed that the Defense results screen doesn't always match the Replay results screen. I've experienced two instances over the past three days.
EXAMPLE #1:
Defense screen states attacker received 5 star victory and all the food and gold available, plus trade goods.
Replay screen states attacker received 0 stars defeat and a portion of food and gold available, and no trade goods.
EXAMPLE #2:
Defense screen states attacker received 4 star victory and almost all food and gold, plus trade goods
Replay screen states attacker received 3 star victory and a portion of food and gold, plus trade goods.
EXAMPLE #1:
Defense screen states attacker received 5 star victory and all the food and gold available, plus trade goods.
Replay screen states attacker received 0 stars defeat and a portion of food and gold available, and no trade goods.
EXAMPLE #2:
Defense screen states attacker received 4 star victory and almost all food and gold, plus trade goods
Replay screen states attacker received 3 star victory and a portion of food and gold, plus trade goods.