I'd say it's pretty bad. The beans themselves are OK, it's the salt & sugar sauce that's the bad! 5g is lots of sugar, plus you didn't mention the 0.7g salt equivalent! I used to think baked beans are a good thing to eat, but they really aren't. Yes, perhaps better than eating pie and chips with lots of salt, but really not great.
Anyway if you don't want my advice that's fine. I'm just trying to help!