Statement 1 : H2O2 is non-ionic compound.
Statement 2 : The bond length in H2O2 is shorter than that of O2F2.
Due to more electronegative atom like ‘F’ the positive charge generate on oxygen resulting increase in bond order and decrease in bond length. In H2O2 , oxygen get -ve charge due to this bond order decreases and bond length increases.