I think that they're pretty directly related, though maybe that's because I associate the smell with the resultant feeling of being caffeinated. However, I do recall smelling coffee brewing that both did not smell good and then did not taste good either.