It seems to me that if you are speaking of a perception of ethical behavior outside your own behavior, then the greatest influence on how you perceive others' ethical behavior is whether or not it causes harm and the nature of the harm it causes.
For example, in an office place, an emotional breakdown with yelling and physical outbursts would be perceived far more severly because of the harm it does others than would the boss explaining why a report had to be reassigned because of inadequate work. The harm caused by the second (assuming the boss acted in a compassionate though firm and professional manner) would be seen as unavoidable because of some inadequate act, thus the boss would be perceived as ethical while the harm caused by the other would be perceived as unacceptable and even inexplicable thus wholly unethical.
If you mean how you perceive your own behavior, the greatest influence on that might be how others react and respond to your behavior. If others respond well and favorably in a difficult situation, then you might perceive your behavior as ethical while unethical if the response is adverse or unfavorable. Though of course there are always weaknesses to making judgements based on influences.