In order to solve the problem ofloopholetendency between clone code and non-clone code,this paper made a comparative analysis of different types of clones and non-clones based onloopholes. First of all,it extracted the vulnerability of the software system code,used the clone detection tool to detect the software cloning code. Secondly,it extracted the clone and nonclone code which could produceloophole,and calculated the BOC vulnerability density and LOC vulnerability density of different clone types and no...