Skip to Main Content
Set pair analysis possesses many virtues, including specific concept, convenience calculation and it covers comprehensive information as well. In course of software refactoring, traditional code locating method mostly relies on developer's observations and subjective perceptions, which brings with much inconvenience. Therefore, a new software refactoring scheme optimization model was built up based on identical degree of set pair analysis, in virtue of correlation indicators of software metrics, which offered a resolution to code locating in software refactoring. This paper applied variation coefficient method to calculate the weight of indicators, which improves the reliability of scheme evaluation. An experimental case argues that the set pair analysis model can locate the iffy code correctly, and furthermore, it can offer specific refactoring order of each scheme.