{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/112540"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/112540","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"Hyper-parameter Tuning for Search-based Test Case Generation","abstract":"There are different techniques used to automatically generate adequate test cases for a software program. Among all, search-based test case generation, which is the application of meta-heuristic search for generating test cases, has been studied a lot in the literature, lately. Since, in theory, the performance of meta-heuristic search methods is highly dependent on their hyper-parameters, there is a need to study hyper-parameter tuning in this domain. In this study, we first studied the effectiveness of hyper-parameter tuning for search-based test generation exhaustively analyze 1,200 hyper-parameter configurations of a well-known search-based test generation tool for Java (EvoSuite). Finding out that some Java classes do not respond to changing hyper-parameters in terms of coverage, we were motivated to allocate tuning budget to a subset of classes rather than the entire set. We proposed a new metric (``Tuning Gain''), which estimates how cost-effective tuning a particular class is. We then predict ``Tuning Gain'' using static features of source code classes. Finally, we prioritize classes for tuning, based on the estimated ``Tuning Gains'' and spend the tuning budget only on the highly-ranked classes. To evaluate our approach, we analyzed 250 classes of 19 projects from benchmarks such as SF110 and SBST 2018 tool competition. We used a tuning approach called Meta-GA and compared the tuning results with and without the proposed class prioritization. The results show that for a low tuning budget, prioritizing classes outperforms the alternatives in terms of extra covered branches (10 times more than a traditional global tuning). Moreover, we tried different approaches like changing subset size, shrinking search space size and giving high tuning budgets to examine the potentials of our tuning method.","abstract_html":"There are different techniques used to automatically generate adequate test cases for a software program. Among all, search-based test case generation, which is the application of meta-heuristic search for generating test cases, has been studied a lot in the literature, lately. Since, in theory, the performance of meta-heuristic search methods is highly dependent on their hyper-parameters, there is a need to study hyper-parameter tuning in this domain. In this study, we first studied the effectiveness of hyper-parameter tuning for search-based test generation exhaustively analyze 1,200 hyper-parameter configurations of a well-known search-based test generation tool for Java (EvoSuite). Finding out that some Java classes do not respond to changing hyper-parameters in terms of coverage, we were motivated to allocate tuning budget to a subset of classes rather than the entire set. We proposed a new metric (``Tuning Gain&#x27;&#x27;), which estimates how cost-effective tuning a particular class is. We then predict ``Tuning Gain&#x27;&#x27; using static features of source code classes. Finally, we prioritize classes for tuning, based on the estimated ``Tuning Gains&#x27;&#x27; and spend the tuning budget only on the highly-ranked classes. To evaluate our approach, we analyzed 250 classes of 19 projects from benchmarks such as SF110 and SBST 2018 tool competition. We used a tuning approach called Meta-GA and compared the tuning results with and without the proposed class prioritization. The results show that for a low tuning budget, prioritizing classes outperforms the alternatives in terms of extra covered branches (10 times more than a traditional global tuning). Moreover, we tried different approaches like changing subset size, shrinking search space size and giving high tuning budgets to examine the potentials of our tuning method.","abstract_has_math":false,"creators":["Zamani, Shayan"],"institution":"Schulich School of Engineering","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Engineering – Electrical & Computer","degree_department":null,"school":null,"contributors":[],"advisors":["Hemmati, Hadi"],"committee_chairs":[],"committee_members":["Ruhe, Guenther","Baeck, Thomas"],"year":2020,"date_issued":"2020-09-15","date_published":"2020-09-15","updated_at":"2026-11-19T07:23:34Z","subjects":["software testing","search-based software engineering","hyper-parameter optimization","software test generation"],"languages":["eng"],"rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1880/112540"],"render_values":[{"text":"http://hdl.handle.net/1880/112540","href":"https://hdl.handle.net/1880/112540","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Zamani, S. (2020). Hyper-parameter Tuning for Search-based Test Case Generation (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"render_values":[{"text":"Zamani, S. (2020). Hyper-parameter Tuning for Search-based Test Case Generation (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.11575/PRISM/38205","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.11575/PRISM/38205","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Acalgary%3Aoai%3Aucalgary.scholaris.ca%3A1880%2F112540","prefix":"oai_dc"},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F112540","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Hemmati, Hadi"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Ruhe, Guenther","Baeck, Thomas"]},{"key":"dc:creator","label":"Author","values":["Zamani, Shayan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2020-11"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-09-16T22:23:37Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-09-16T22:23:37Z"]},{"key":"dc:date.issued","label":"Date","values":["2020-09-15"]},{"key":"dc:publisher.faculty","label":"Dc Publisher Faculty","values":["Schulich School of Engineering"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Calgary"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering – Electrical & Computer"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Calgary"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["software testing","search-based software engineering","hyper-parameter optimization","software test generation"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Zamani, S. (2020). Hyper-parameter Tuning for Search-based Test Case Generation (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."]},{"key":"dc:identifier.doi","label":"DOI","values":["http://dx.doi.org/10.11575/PRISM/38205"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1880/112540"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["There are different techniques used to automatically generate adequate test cases for a software program. Among all, search-based test case generation, which is the application of meta-heuristic search for generating test cases, has been studied a lot in the literature, lately. Since, in theory, the performance of meta-heuristic search methods is highly dependent on their hyper-parameters, there is a need to study hyper-parameter tuning in this domain. In this study, we first studied the effectiveness of hyper-parameter tuning for search-based test generation exhaustively analyze 1,200 hyper-parameter configurations of a well-known search-based test generation tool for Java (EvoSuite). Finding out that some Java classes do not respond to changing hyper-parameters in terms of coverage, we were motivated to allocate tuning budget to a subset of classes rather than the entire set. We proposed a new metric (``Tuning Gain''), which estimates how cost-effective tuning a particular class is. We then predict ``Tuning Gain'' using static features of source code classes. Finally, we prioritize classes for tuning, based on the estimated ``Tuning Gains'' and spend the tuning budget only on the highly-ranked classes. To evaluate our approach, we analyzed 250 classes of 19 projects from benchmarks such as SF110 and SBST 2018 tool competition. We used a tuning approach called Meta-GA and compared the tuning results with and without the proposed class prioritization. The results show that for a low tuning budget, prioritizing classes outperforms the alternatives in terms of extra covered branches (10 times more than a traditional global tuning). Moreover, we tried different approaches like changing subset size, shrinking search space size and giving high tuning budgets to examine the potentials of our tuning method."]},{"key":"dc:title","label":"Title","values":["Hyper-parameter Tuning for Search-based Test Case Generation"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:request.copy","label":"Local Request Copy","values":["true"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Hemmati, Hadi"],"dc:contributor.committeemember":["Ruhe, Guenther","Baeck, Thomas"],"dc:creator":["Zamani, Shayan"],"dc:date":["2020-11"],"dc:date.accessioned":["2020-09-16T22:23:37Z"],"dc:date.available":["2020-09-16T22:23:37Z"],"dc:date.issued":["2020-09-15"],"dc:description.abstract":["There are different techniques used to automatically generate adequate test cases for a software program. Among all, search-based test case generation, which is the application of meta-heuristic search for generating test cases, has been studied a lot in the literature, lately. Since, in theory, the performance of meta-heuristic search methods is highly dependent on their hyper-parameters, there is a need to study hyper-parameter tuning in this domain. In this study, we first studied the effectiveness of hyper-parameter tuning for search-based test generation exhaustively analyze 1,200 hyper-parameter configurations of a well-known search-based test generation tool for Java (EvoSuite). Finding out that some Java classes do not respond to changing hyper-parameters in terms of coverage, we were motivated to allocate tuning budget to a subset of classes rather than the entire set. We proposed a new metric (``Tuning Gain''), which estimates how cost-effective tuning a particular class is. We then predict ``Tuning Gain'' using static features of source code classes. Finally, we prioritize classes for tuning, based on the estimated ``Tuning Gains'' and spend the tuning budget only on the highly-ranked classes. To evaluate our approach, we analyzed 250 classes of 19 projects from benchmarks such as SF110 and SBST 2018 tool competition. We used a tuning approach called Meta-GA and compared the tuning results with and without the proposed class prioritization. The results show that for a low tuning budget, prioritizing classes outperforms the alternatives in terms of extra covered branches (10 times more than a traditional global tuning). Moreover, we tried different approaches like changing subset size, shrinking search space size and giving high tuning budgets to examine the potentials of our tuning method."],"dc:identifier.citation":["Zamani, S. (2020). Hyper-parameter Tuning for Search-based Test Case Generation (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca."],"dc:identifier.doi":["http://dx.doi.org/10.11575/PRISM/38205"],"dc:identifier.uri":["http://hdl.handle.net/1880/112540"],"dc:language.iso":["eng"],"dc:publisher.faculty":["Schulich School of Engineering"],"dc:publisher.institution":["University of Calgary"],"dc:rights":["University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"dc:subject":["software testing","search-based software engineering","hyper-parameter optimization","software test generation"],"dc:subject.classification":["Computer Science"],"dc:title":["Hyper-parameter Tuning for Search-based Test Case Generation"],"dc:type":["master thesis"],"dspace:entity.type":["Publication"],"local:request.copy":["true"],"others:access_status":["open.access"],"thesis:degree_discipline":["Engineering – Electrical & Computer"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["University of Calgary"]},"updated_at":"2026-11-19T07:23:34Z"}