In order to further improve the diversity of the sample set, the DDHNSbS algorithm was proposed, in which the Diversity Mutation Strategy(DMS)not only preserves the diversity of the initial population, but also optimizes the effect of traditional genetic operators. Meanwhile, to make up for the limitations of novelty search, diversity detection(DD)was proposed to check and flip the assigned values of features with a certain probability. So as to further diversify the number of features selected in the sample set, probability-aware diversification via the Halton sequence(Halton-PaD)was achieved, and the generated initial configurations' uniformity was developed thanks to Halton-PaD. Experiments were carried out on 39 public SPLs, and the experimental results show that when DDHNSbS algorithm is compared with PaD-NSbS algorithm, DDHNSbS performs significantly better in 42.1% of the small SPLs, and has the same performance on other SPLs.
HouY M, OuyangD T, TianX L, et al. Evolutionary many-objective satisfiability solver for configuring software product lines[J]. Applied Intelligence: The International Journal of Artificial Intelligence, Neural Networks, and Complex Problem-Solving Technologies, 2022, 52(9): 10650-10673.
MaYong-jie, ChenMin. Dynamic multi⁃objective optimization algorithm based on Kalman filter prediction strategy [J]. Journal of Jilin University (Engineering and Technology Edition), 2022, 52(6): 1442-1458.
[7]
PettT, KrieterS, ThümT, et al. AutoSMP: an evaluation platform for sampling algorithms[C]∥Proceedings of the 25th ACM International Systems and Software Product Line Conference-Volume B, New York, NY, USA, 2021: 41-44.
[8]
DevroeyX, PerrouinG, LegayA, et al. Search-based similarity-driven behavioural SPL testing[C]∥Proceedings of the 10th International Workshop on Variability Modelling of Software-Intensive Systems, Salvador, Brazil, 2016: 89-96.
[9]
OhJ, GazzilloP, BatoryD, et al. Scalable uniform sampling for real-world software product lines[R]. Austin: The Univ Texas at Austin, 2020.
[10]
DutraR, LaeuferK, BachrachJ, et al. Efficient sampling of SAT solutions for testing[C]∥Proceedings of the 40th International Conference on Software Engineering, Gothenburg, Sweden, 2018: 549-559.
[11]
PlazarQ, AcherM, PerrouinG, et al. Uniform sampling of sat solutions for configurable systems: Are we there yet?[C]∥Proceedings of the 2019 12th IEEE Conference on Software Testing, Validation and Verification (ICST), Xi'an, China, 2019: 240-251.
[12]
HeradioR, Fernandez-AmorosD, GalindoJ A, et al. Uniform and scalable SAT-sampling for configurable systems[C]∥Proceedings of the 24th ACM Conference on Systems and Software Product Line, Montreal, Quebec, Canada, 2020: 1-11.
[13]
LiebigJ, Von RheinA, KästnerC, et al. Scalable analysis of variable software[C]∥Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering, Saint Petersburg, Russia, 2013: 81-91.
[14]
MedeirosF, KästnerC, RibeiroM, et al. A comparison of 10 sampling algorithms for configurable systems[C]∥Proceedings of the 38th International Conference on Software Engineering, Austin, Texas, USA, 2016: 643-654.
[15]
MeloJ, FlesborgE, BrabrandC, et al. A quantitative analysis of variability warnings in linux[C]∥Proceedings of the 10th International Workshop on Variability Modelling of Software-intensive Systems, Salvador, Brazil, 2016: 3-8.
[16]
CohenM B, DwyerM B, ShiJ. Interaction testing of highly-configurable systems in the presence of constraints[C]∥Proceedings of the 2007 International Symposium on Software Testing and Analysis, London, England, United Kingdom, 2007: 129-139.
[17]
KrieterS, ThümT, SchulzeS, et al. YASA: yet another sampling algorithm[C]∥Proceedings of the 14th International Working Conference on Variability Modelling of Software-Intensive Systems, Magdeburg, Germany, 2020: 1-10.
[18]
GarvinB J, CohenM B, DwyerM B. Evaluating improvements to a meta-heuristic search for constrained interaction testing[J]. Empirical Software Engineering, 2011, 16(1): 61-102.
[19]
ChakrabortyS, FremontD J, MeelK S, et al. On parallel scalable uniform SAT witness generation[C]∥Proceedings of the 21st International Conference on Tools and Algorithms for the Construction and Analysis of Systems, London, UK, 2015: 304-319.
[20]
ErmonS, GomesC P, SelmanB. Uniform solution sampling using a constraint solver as an oracle[J/OL]. [2024-03-15].
[21]
KalteneckerC, GrebhahnA, SiegmundN, et al. Distance-based sampling of software configuration spaces[C]∥Proceedings of the 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE), Montreal, Quebec, Canada, 2019: 1084-1094.
[22]
HenardC, PapadakisM, PerrouinG, et al. Looking for novelty in search-based software combinatorial explosion: using similarity to generate and prioritize t-wise test configurations for software product lines[J]. IEEE Transactions on Software Engineering, 2014, 40(7): 650-670.
[23]
HenardC, PapadakisM, HarmanM, et al. Combining multi-objective search and constraint solving for configuring large software product lines[C]∥2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Firenze, Italy, 2015: 517-528.
[24]
HieronsR M, LiM, LiuX, et al. SIP: optimal product selection from feature models using many-objective evolutionary optimization[J]. ACM Transactions on Software Engineering and Methodology (TOSEM), 2016, 25(2): 1-39.
[25]
SayyadA S, IngramJ, MenziesT, et al. Scalable product line configuration: a straw to break the camel's back[C]∥2013 28th IEEE/ACM International Conference on Automated Software Engineering (ASE), Palo Alto, USA, 2013: 465-474.
[26]
XiangY, ZhouY R, ZhengZ B, et al. Configuring software product lines by combining many-objective optimization and SAT solvers[J]. ACM Transactions on Software Engineering and Methodology (TOSEM), 2018, 26(4): 1-46.
[27]
XiangY, HuangH, ZhouY R, et al. Search-based diverse sampling from real-world software product lines[C]∥Proc of the 44th International Conference on Software Engineering, Pittsburgh, USA, 2022: 1945-1957.
[28]
XiangY, YangX W, HuangH, et al. Sampling configurations from software product lines via probability-aware diversification and SAT solving[J]. Automated Software Engineering, 2022, 29(2): 1-45.
HuangMei-fa, JingHui, ZhongYan-ru, et al. Sampling method on 3D model surface based on quasi random sequence[J]. Computer Engineering, 2008, 34(14): 263-265.
ZhouHui-si, OuyangDan-tong, TianXin-liang, et al. A novel encoding for model-based diagnosis[J]. Journal of Computer Research and Development, 2023, 60(1): 95-102.
[33]
KangK C, CohenS G, HessJ A, et al. Feature-oriented domain analysis (FODA) feasibility study[R]. Pittsburgh: Carnegie Mellon University, 1990.
[34]
MaaranenH, MiettinenK, MäkeläM M. Quasi-random initial population for genetic algorithms[J]. Computers & Mathematics with Applications, 2004, 47(12): 1885-1895.
[35]
KellerA. Quasi-Monte Carlo image synthesis in a nutshell[C]∥Monte Carlo and Quasi-Monte Carlo Methods 2012, Sydney, Australia, 2013: 213-249.
[36]
LuoC, SunB Q, QiaoB, et al. LS-sampling: an effective local search based sampling approach for achieving high t-wise coverage[C]∥Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Athens, Greece, 2021: 1081-1092.
[37]
BaranovE, LegayA, MeelK S. Baital: an adaptive weighted sampling approach for improved t-wise coverage[J/OL]. [2024-03-15].
[38]
XiangY, HuangH, LiM Q, et al. Looking for novelty in search-based software product line testing[J]. IEEE Transactions on Software Engineering, 2021, 48(7): 2317-2338.
[39]
ArcuriA, BriandL. A practical guide for using statistical tests to assess randomized algorithms in software engineering[C]∥Proceedings of the 33rd International Conference on Software Engineering, Honolulu, Hawaii, USA, 2011: 1-10.