Patent attributes
An apparatus stores, for each correction processing applied to a source code, a correction record including at least one of a deleted code deleted in the correction processing, an added code added in the correction processing, and attribute information related to the correction processing. The apparatus compares the deleted code with the added code in the correction records, and identifies a first correction processing that is refactoring to correct a first partial code within the source code without changing input/output of the first partial code. The apparatus identifies a second correction processing whose added code includes the deleted code deleted in the first correction processing. The apparatus determines a suspected attribute indicating an attribute of a partial code that is a refactoring candidate, and outputs, as the refactoring candidate, a second partial code that has been added in a third correction processing associated with the suspected attribute.