Patent ID: 8543908

Claim:
A program product for aiding in correcting defects included in structured text, wherein the program product comprises a non-transitory storage medium storing a program that, when executed by a computer, causes the computer to perform: calculating a degree of defect for each of the defects; calculating a degree of similarity for each of the defects; calculating, based on the degree of defect and the degree of similarity, a degree of contribution indicating a degree to which correction of each of the defects influences correction of remaining defects, wherein the structured text defined by a Document Object Model (DOM), and the degree of contribution cont(d) is calculated by an equation (1): [ Expression ⁢ ⁢ 1 ] cont ⁡ ( d ) = ∑ d ′ ∈ D ⁢ ⁢ psim ⁡ ( dd ′ ) · es ⁡ ( d ′ ) ( Equation ⁢ ⁢ 1 ) where cont(d) is the degree of correction contribution indicating the degree to which the correction of each of the defects in a page denoted by DOM d′ influences defects in a page denoted by DOM d, psim(d,d′) is the degree of similarity between each of the defects included in the page denoted by DOM d and each of the defects included in the page denoted by DOM d′, es(d′) is the degree of defect of the page denoted by DOM d′, and D is a set of DOM in target HTML text; and selecting a defect having a high degree of contribution as a higher-priority defect.