Naked singularities formation in perfect fluids collapse