Kraft Heinz (NASDAQ:KHC) is attracting more positive investor sentiment. The stock just received an upgrade from a Bank of America analyst, who sees a good chance that shares will rise to $38 in the near term.

Analyst Bryan Spillane said the consumer-packaged foods giant could outperform management's latest growth targets for a few reasons, including higher at-home cooking through late 2020. Kraft said in late April that the COVID-19 shelter-in-place moves helped push organic sales to their best quarterly result in years. Executives were cautious in their outlook, though, due to significant risks like slowing economic growth and slumping demand in the foodservice industry.

A mother cooks with her daughter.

Image source: Getty Images.

Kraft stock could jump if the company surpasses that modest outlook. But the bigger question is whether the company can break free from the persistent market share losses investors witnessed through 2019.

CEO Miguel Patricio called those results, which included a 2% sales decline for the full year, "disappointing" back in mid-February. Shareholders will need to review a few quarterly reports to learn whether Kraft has managed a sustainable improvement to those weak operating trends or simply saw a boost from temporary consumer behavior changes related to the COVID-19 pandemic.