Derivatives and Hedge Accounting MC Question - FAR

Neron Co. has two derivatives related to two different financial instruments, Instrument A and Instrument B, both of which are debt instruments. The derivative related to Instrument A is a fair value hedge, and the derivative related to Instrument B is a cash flow hedge. Neron experienced gains in the value of Instruments A and B due to a change in interest rates. Which of the gains should be reported by Neron in its income statement? Gain in value of debt Instrument A only is the correct answer. Initially, I wanted to say that the Gains of A and B should both be reported in the income statement. I am getting confused between a perfect hedge, an effective cash flow hedge, and an ineffective cash flow hedge. I know that an effective cash flow hedge goes into other comprehensive income. I know that an ineffective cash flow hedge goes into earnings on the income statement. However, I also know that a perfect hedge is where there is no gain or loss. When I see a problem with a cash flow hedge, the concept of a perfect hedge lingers in my head and trips me up. Can someone clarify this? Is the cash flow hedge "ineffective" when it results in a loss? What makes it "ineffective"? Thank you.