1. A method for controlling an electroporation device configured for supplying an electrical power signal to a plurality of pairs of electrodes coupled to a portion of the human body, the method comprising: detecting, in the course of an electroporation treatment, a condition of malfunctioning or fail for one or more pairs of electrodes for which at least one electrical parameter of the power signal supplied to the one or more pairs of electrodes has an anomalous value; storing an indicator of the one or more pairs of electrodes in the fail condition; and selecting the one or more pairs of electrodes in the fail condition and re-computing, for each of the one or more pairs, new parameters for implementing a subsequent electroporation process, wherein the operation of re-computing the new parameters comprises: re-applying said power signal to said one or more pairs of electrodes in the fail condition, verifying the value of the current thus supplied to the one or more pairs of electrodes, when said current is lower than a given threshold, calculating a voltage value configured for enabling an increase of the current to bring the current to a target value and comparing said voltage value with a threshold value, and when the voltage value is lower than the threshold value, storing said voltage value as a new electroporation parameter, and when the voltage value is not lower than the threshold value, adopting one or more corrective actions.