{"id":{"repo_id":"toronto-retro","oai_identifier":"oai:utoronto.scholaris.ca:1807/109018"},"canonical_url":"https://search.ndltd.org/etd/toronto-retro/oai:utoronto.scholaris.ca:1807/109018","repository":{"repo_id":"toronto-retro","name":"University of Toronto","base_url":"https://utoronto.scholaris.ca/server/oai/request"},"display":{"title":"Language-based Lifting of Analyses to Software Product Lines","abstract":"Software Product Lines (SPLs) allow software engineering teams to develop families of products together using a common set of artifacts. The goal is to maximize reuse of artifacts (requirements, design models, source code, test cases, etc...) across related products. Many of the analysis tools (e.g., static analysis, model checking, test-case generation) used throughout the engineering process are designed to analyze one product at a time. Several attempts have been made to \\emph{lift} some of those analysis tools to analyze the whole product line at once, leveraging the amount of commonality between individual products to avoid the intractability of analyzing each product instance by itself in a brute-force fashion. In this thesis, we address the problem from a different angle. Instead of lifting an analysis, we lift languages used to implement analyses. Since a given analysis is a program written in some programming language, extending that language with variability-aware constructs would allow for reinterpreting the original analysis program to process a product line instead of a single product. We presented the lifting of two languages: Datalog, and an extended version of Programming Computable Functions (PCF). Datalog combines relational data definition and manipulation, together with logical inference. It has been used to implement different categories of declarative, succinct, and easy to understand software analyses. We present syntactic extensions to Datalog to allow variability annotations of facts, and a variability-aware inference algorithm. In addition, we present two approaches to automatic variability-aware lifting of software analyses written in a functional language (PCF+). A light-weight, black-box approach (shallow lifting) wraps an analysis in its variability-aware version. The second approach (deep lifting) is an automatic program-rewriting mechanism that translates an analysis program into a semantically equivalent variability-aware analysis. We evaluated the lifted versions of Datalog and PCF+ on a set of Java and C-language benchmarks, comparing their performance against brute-force analysis. Our evaluation results validate our assumption that variability-aware analysis is in general orders of magnitude faster than brute-force analysis. Also in the case of Datalog analyses, variability-aware analysis resulted in similar savings in fact database size.","abstract_html":"Software Product Lines (SPLs) allow software engineering teams to develop families of products together using a common set of artifacts. The goal is to maximize reuse of artifacts (requirements, design models, source code, test cases, etc...) across related products. Many of the analysis tools (e.g., static analysis, model checking, test-case generation) used throughout the engineering process are designed to analyze one product at a time. Several attempts have been made to \\emph{lift} some of those analysis tools to analyze the whole product line at once, leveraging the amount of commonality between individual products to avoid the intractability of analyzing each product instance by itself in a brute-force fashion. In this thesis, we address the problem from a different angle. Instead of lifting an analysis, we lift languages used to implement analyses. Since a given analysis is a program written in some programming language, extending that language with variability-aware constructs would allow for reinterpreting the original analysis program to process a product line instead of a single product. We presented the lifting of two languages: Datalog, and an extended version of Programming Computable Functions (PCF). Datalog combines relational data definition and manipulation, together with logical inference. It has been used to implement different categories of declarative, succinct, and easy to understand software analyses. We present syntactic extensions to Datalog to allow variability annotations of facts, and a variability-aware inference algorithm. In addition, we present two approaches to automatic variability-aware lifting of software analyses written in a functional language (PCF+). A light-weight, black-box approach (shallow lifting) wraps an analysis in its variability-aware version. The second approach (deep lifting) is an automatic program-rewriting mechanism that translates an analysis program into a semantically equivalent variability-aware analysis. We evaluated the lifted versions of Datalog and PCF+ on a set of Java and C-language benchmarks, comparing their performance against brute-force analysis. Our evaluation results validate our assumption that variability-aware analysis is in general orders of magnitude faster than brute-force analysis. Also in the case of Datalog analyses, variability-aware analysis resulted in similar savings in fact database size.","abstract_has_math":false,"creators":["Shahin, Ramy"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Chechik, Marsha"],"committee_chairs":[],"committee_members":[],"year":2021,"date_issued":"2021-11","date_published":"2021-11","updated_at":"2026-11-19T09:39:40Z","subjects":["Datalog","Functional Programming","Lifting","Software Analysis","Software Product Lines"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1807/109018","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1807/109018","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","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%3Atoronto-retro%3Aoai%3Autoronto.scholaris.ca%3A1807%2F109018","prefix":"oai_dc"},"source_record":{"url":"https://utoronto.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Autoronto.scholaris.ca%3A1807%2F109018","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Chechik, Marsha"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Shahin, Ramy"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2021-11"]},{"key":"dc:date.accepted","label":"Dc Date Accepted","values":["2021-11"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2021-11-30T18:17:26Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2021-11-30T18:17:26Z"]},{"key":"dc:date.issued","label":"Date","values":["2021-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_date","label":"Thesis Degree Date","values":["2021-11"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Datalog","Functional Programming","Lifting","Software Analysis","Software Product Lines"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["0984"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1807/109018"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Software Product Lines (SPLs) allow software engineering teams to develop families of products together using a common set of artifacts. The goal is to maximize reuse of artifacts (requirements, design models, source code, test cases, etc...) across related products. Many of the analysis tools (e.g., static analysis, model checking, test-case generation) used throughout the engineering process are designed to analyze one product at a time. Several attempts have been made to \\emph{lift} some of those analysis tools to analyze the whole product line at once, leveraging the amount of commonality between individual products to avoid the intractability of analyzing each product instance by itself in a brute-force fashion. In this thesis, we address the problem from a different angle. Instead of lifting an analysis, we lift languages used to implement analyses. Since a given analysis is a program written in some programming language, extending that language with variability-aware constructs would allow for reinterpreting the original analysis program to process a product line instead of a single product. We presented the lifting of two languages: Datalog, and an extended version of Programming Computable Functions (PCF). Datalog combines relational data definition and manipulation, together with logical inference. It has been used to implement different categories of declarative, succinct, and easy to understand software analyses. We present syntactic extensions to Datalog to allow variability annotations of facts, and a variability-aware inference algorithm. In addition, we present two approaches to automatic variability-aware lifting of software analyses written in a functional language (PCF+). A light-weight, black-box approach (shallow lifting) wraps an analysis in its variability-aware version. The second approach (deep lifting) is an automatic program-rewriting mechanism that translates an analysis program into a semantically equivalent variability-aware analysis. We evaluated the lifted versions of Datalog and PCF+ on a set of Java and C-language benchmarks, comparing their performance against brute-force analysis. Our evaluation results validate our assumption that variability-aware analysis is in general orders of magnitude faster than brute-force analysis. Also in the case of Datalog analyses, variability-aware analysis resulted in similar savings in fact database size."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:title","label":"Title","values":["Language-based Lifting of Analyses to Software Product Lines"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Chechik, Marsha"],"dc:contributor.department":["Computer Science"],"dc:creator":["Shahin, Ramy"],"dc:date":["2021-11"],"dc:date.accepted":["2021-11"],"dc:date.accessioned":["2021-11-30T18:17:26Z"],"dc:date.available":["2021-11-30T18:17:26Z"],"dc:date.issued":["2021-11"],"dc:description.abstract":["Software Product Lines (SPLs) allow software engineering teams to develop families of products together using a common set of artifacts. The goal is to maximize reuse of artifacts (requirements, design models, source code, test cases, etc...) across related products. Many of the analysis tools (e.g., static analysis, model checking, test-case generation) used throughout the engineering process are designed to analyze one product at a time. Several attempts have been made to \\emph{lift} some of those analysis tools to analyze the whole product line at once, leveraging the amount of commonality between individual products to avoid the intractability of analyzing each product instance by itself in a brute-force fashion. In this thesis, we address the problem from a different angle. Instead of lifting an analysis, we lift languages used to implement analyses. Since a given analysis is a program written in some programming language, extending that language with variability-aware constructs would allow for reinterpreting the original analysis program to process a product line instead of a single product. We presented the lifting of two languages: Datalog, and an extended version of Programming Computable Functions (PCF). Datalog combines relational data definition and manipulation, together with logical inference. It has been used to implement different categories of declarative, succinct, and easy to understand software analyses. We present syntactic extensions to Datalog to allow variability annotations of facts, and a variability-aware inference algorithm. In addition, we present two approaches to automatic variability-aware lifting of software analyses written in a functional language (PCF+). A light-weight, black-box approach (shallow lifting) wraps an analysis in its variability-aware version. The second approach (deep lifting) is an automatic program-rewriting mechanism that translates an analysis program into a semantically equivalent variability-aware analysis. We evaluated the lifted versions of Datalog and PCF+ on a set of Java and C-language benchmarks, comparing their performance against brute-force analysis. Our evaluation results validate our assumption that variability-aware analysis is in general orders of magnitude faster than brute-force analysis. Also in the case of Datalog analyses, variability-aware analysis resulted in similar savings in fact database size."],"dc:description.degree":["Ph.D."],"dc:identifier.uri":["http://hdl.handle.net/1807/109018"],"dc:subject":["Datalog","Functional Programming","Lifting","Software Analysis","Software Product Lines"],"dc:subject.classification":["0984"],"dc:title":["Language-based Lifting of Analyses to Software Product Lines"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_date":["2021-11"]},"updated_at":"2026-11-19T09:39:40Z"}