将基于搜索的程序切片技术应用到程序内聚度分析中,在程序的所有可能的切片集合中搜索非冗余切片的集合,用于程序的内聚度度量,通过实验,验证了非冗余切片的集合用于程序内聚度度量方面的可行性,同时,对比分析了遗传搜索算法在适应度函数调整前后的性能,证明了适应度函数调整的必要性。
The application of search-based slicing was discussed in modular cohesion measurement,and proposed the idea that uses non-redundancy slice set measure modular cohesion.Through experiments,the feasibility was proved using non-redundancy slice set measure modular cohesion,and the necessary to adjust the fitness function.