Insight into the design of defect electrocatalysts: From electronic structure to adsorption energy