What is the meaning of John 14:15?

If ye love me, keep my commandments. (John 14:15 KJV)

If ye love me, ye will keep my commandments. (John 14:15 ASV)

If ye love me, keep my commandments. (John 14:15 DBY)

If you love me, keep my commandments. (John 14:15 WEB)

If ye love me, my commands keep, (John 14:15 YLT)

Interlinear

If <ean> ye love <agapao> me, <me> keep <tereo> my <emos> commandments. <entole>

Albert Barnes’ Commentary

Verse 15.  If ye love me. Do not show your love by grief at my departure merely, or by profession, but by obedience.  

Keep my commandments. This is the only proper evidence of love to Jesus, for mere profession is no proof of love; but that love for him which leads us to do all his will, to love each other, to deny ourselves, to take up our cross, and to follow him through evil report and through good report, is true attachment. The evidence which we have that a child loves his parents is when that child is willing, without hesitation, gainsaying, or murmuring, to do all that the parent requires him to do. So the disciples of Christ are required to show that they are attached to him supremely by yielding to all his requirements, and by patiently doing his will in the face of ridicule and opposition, 1Jo 5:2-3.

{n} “If ye love me” Joh 15:10; 14:21,23; 1Jo 5:3