Analogy (tamthīl) extends a judgment from one particular case to another on the basis of a relevant shared characteristic.
Suppose two devices have the same tested internal mechanism. Knowledge of one device's behavior may support a claim about the other. The reasoning moves from one particular device to another.
Superficial resemblance is insufficient. Unless the similarity concerns the feature relevant to the judgment, the analogy is weak.