{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/29245"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/29245","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"Cross-language program analysis for dynamic web applications","abstract":"<p>Web applications have become one of the most important and prevalent types of software. In modern web applications, the display of any web page is usually an interplay of multiple languages and involves code execution at different locations (the server side, the database side, and the client side). These characteristics make it hard to write and maintain web applications. Much of the existing research and tool support often deals with one single language and therefore is still limited in addressing those challenges. To fill in this gap, this dissertation is aimed at developing an infrastructure for cross-language program analysis for dynamic web applications to support creating reliable and robust web applications with higher quality and lower costs. To reach that goal, we have developed the following research components. First, to understand the client-side code that is embedded in the server-side code, we develop an output-oriented symbolic execution engine that approximates all possible outputs of a server-side program. Second, we use variability-aware parsing, a technique recently developed for parsing conditional code in software product lines, to parse those outputs into a compact tree representation (called VarDOM) that represents all possible DOM variants of a web application. Third, we leverage the VarDOM to extract semantic information from the server-side code. Specifically, we develop novel concepts, techniques, and tools (1) to build call graphs for embedded client code in different languages, (2) to compute cross-language program slices, and (3) to compute a novel test coverage criterion called output coverage that aids testers in creating effective test suites for detecting output-related bugs. The results have been demonstrated in a wide range of applications for web programs such as IDE services, fault localization, bug detection, and testing.</p>","abstract_html":"&lt;p&gt;Web applications have become one of the most important and prevalent types of software. In modern web applications, the display of any web page is usually an interplay of multiple languages and involves code execution at different locations (the server side, the database side, and the client side). These characteristics make it hard to write and maintain web applications. Much of the existing research and tool support often deals with one single language and therefore is still limited in addressing those challenges. To fill in this gap, this dissertation is aimed at developing an infrastructure for cross-language program analysis for dynamic web applications to support creating reliable and robust web applications with higher quality and lower costs. To reach that goal, we have developed the following research components. First, to understand the client-side code that is embedded in the server-side code, we develop an output-oriented symbolic execution engine that approximates all possible outputs of a server-side program. Second, we use variability-aware parsing, a technique recently developed for parsing conditional code in software product lines, to parse those outputs into a compact tree representation (called VarDOM) that represents all possible DOM variants of a web application. Third, we leverage the VarDOM to extract semantic information from the server-side code. Specifically, we develop novel concepts, techniques, and tools (1) to build call graphs for embedded client code in different languages, (2) to compute cross-language program slices, and (3) to compute a novel test coverage criterion called output coverage that aids testers in creating effective test suites for detecting output-related bugs. The results have been demonstrated in a wide range of applications for web programs such as IDE services, fault localization, bug detection, and testing.&lt;/p&gt;","abstract_has_math":false,"creators":["Nguyen, Hung"],"institution":null,"degree_name":"Doctor of Philosophy","degree_level":"dissertation","degree_discipline":"Computer Engineering","degree_department":"Department of Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Suraj C. Kothari"],"committee_chairs":[],"committee_members":[],"year":2016,"date_issued":"2016-01-01","date_published":"2016-01-01","updated_at":"2026-11-19T00:11:35Z","subjects":[],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/29245"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/29245","href":"https://dr.lib.iastate.edu/handle/20.500.12876/29245","code":true}]},{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/etd/15061/"],"render_values":[{"text":"archive/lib.dr.iastate.edu/etd/15061/","href":null,"code":true}]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["6068","8882601"],"render_values":[{"text":"6068","href":null,"code":true},{"text":"8882601","href":null,"code":true}]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/etd/15061/Nguyen_iastate_0097E_15487.pdf|||Fri Jan 14 20:35:08 UTC 2022"],"render_values":[{"text":"archive/lib.dr.iastate.edu/etd/15061/Nguyen_iastate_0097E_15487.pdf|||Fri Jan 14 20:35:08 UTC 2022","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/etd-180810-4664","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/etd-180810-4664","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":"embargoed","embargo_until":"2001-01-01","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F29245","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F29245","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Suraj C. Kothari"]},{"key":"dc:contributor.department","label":"Department","values":["Department of Electrical and Computer Engineering"]},{"key":"dc:creator","label":"Author","values":["Nguyen, Hung"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2018-08-11T11:53:07.000"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-06-30T03:01:09Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-06-30T03:01:09Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["Fri Jan 01 00:00:00 UTC 2016"]},{"key":"dc:date.embargo","label":"Dc Date Embargo","values":["2001-01-01"]},{"key":"dc:date.issued","label":"Date","values":["2016-01-01"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["a75a044c-d11e-44cd-af4f-dab1d83339ff"]},{"key":"dc:type","label":"Dc Type","values":["dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["dissertation"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Computer Engineering"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Computer Engineering"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["archive/lib.dr.iastate.edu/etd/15061/"]},{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/etd-180810-4664"]},{"key":"dc:identifier.other","label":"Dc Identifier Other","values":["6068","8882601"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/29245"]},{"key":"mods:identifier.filename","label":"Mods Identifier Filename","values":["archive/lib.dr.iastate.edu/etd/15061/Nguyen_iastate_0097E_15487.pdf|||Fri Jan 14 20:35:08 UTC 2022"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["<p>Web applications have become one of the most important and prevalent types of software. In modern web applications, the display of any web page is usually an interplay of multiple languages and involves code execution at different locations (the server side, the database side, and the client side). These characteristics make it hard to write and maintain web applications. Much of the existing research and tool support often deals with one single language and therefore is still limited in addressing those challenges. To fill in this gap, this dissertation is aimed at developing an infrastructure for cross-language program analysis for dynamic web applications to support creating reliable and robust web applications with higher quality and lower costs. To reach that goal, we have developed the following research components. First, to understand the client-side code that is embedded in the server-side code, we develop an output-oriented symbolic execution engine that approximates all possible outputs of a server-side program. Second, we use variability-aware parsing, a technique recently developed for parsing conditional code in software product lines, to parse those outputs into a compact tree representation (called VarDOM) that represents all possible DOM variants of a web application. Third, we leverage the VarDOM to extract semantic information from the server-side code. Specifically, we develop novel concepts, techniques, and tools (1) to build call graphs for embedded client code in different languages, (2) to compute cross-language program slices, and (3) to compute a novel test coverage criterion called output coverage that aids testers in creating effective test suites for detecting output-related bugs. The results have been demonstrated in a wide range of applications for web programs such as IDE services, fault localization, bug detection, and testing.</p>"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Cross-language program analysis for dynamic web applications"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:admin","label":"Local Admin","values":["isulib-bepress-aws-west","etd/15061"]}]}],"canonical_facts":{"dc:contributor.advisor":["Suraj C. Kothari"],"dc:contributor.department":["Department of Electrical and Computer Engineering"],"dc:creator":["Nguyen, Hung"],"dc:date":["2018-08-11T11:53:07.000"],"dc:date.accessioned":["2020-06-30T03:01:09Z"],"dc:date.available":["2020-06-30T03:01:09Z"],"dc:date.copyright":["Fri Jan 01 00:00:00 UTC 2016"],"dc:date.embargo":["2001-01-01"],"dc:date.issued":["2016-01-01"],"dc:description.abstract":["<p>Web applications have become one of the most important and prevalent types of software. In modern web applications, the display of any web page is usually an interplay of multiple languages and involves code execution at different locations (the server side, the database side, and the client side). These characteristics make it hard to write and maintain web applications. Much of the existing research and tool support often deals with one single language and therefore is still limited in addressing those challenges. To fill in this gap, this dissertation is aimed at developing an infrastructure for cross-language program analysis for dynamic web applications to support creating reliable and robust web applications with higher quality and lower costs. To reach that goal, we have developed the following research components. First, to understand the client-side code that is embedded in the server-side code, we develop an output-oriented symbolic execution engine that approximates all possible outputs of a server-side program. Second, we use variability-aware parsing, a technique recently developed for parsing conditional code in software product lines, to parse those outputs into a compact tree representation (called VarDOM) that represents all possible DOM variants of a web application. Third, we leverage the VarDOM to extract semantic information from the server-side code. Specifically, we develop novel concepts, techniques, and tools (1) to build call graphs for embedded client code in different languages, (2) to compute cross-language program slices, and (3) to compute a novel test coverage criterion called output coverage that aids testers in creating effective test suites for detecting output-related bugs. The results have been demonstrated in a wide range of applications for web programs such as IDE services, fault localization, bug detection, and testing.</p>"],"dc:format.mimetype":["application/pdf"],"dc:identifier":["archive/lib.dr.iastate.edu/etd/15061/"],"dc:identifier.doi":["https://doi.org/10.31274/etd-180810-4664"],"dc:identifier.other":["6068","8882601"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/29245"],"dc:language.iso":["en"],"dc:relation.orgunit":["a75a044c-d11e-44cd-af4f-dab1d83339ff"],"dc:subject.discipline":["Computer Engineering"],"dc:subject.keyword":["Computer Engineering"],"dc:title":["Cross-language program analysis for dynamic web applications"],"dc:type":["dissertation"],"dspace:entity.type":["Publication"],"local:admin":["isulib-bepress-aws-west","etd/15061"],"mods:identifier.filename":["archive/lib.dr.iastate.edu/etd/15061/Nguyen_iastate_0097E_15487.pdf|||Fri Jan 14 20:35:08 UTC 2022"],"thesis:degree_discipline":["Computer Engineering"],"thesis:degree_level":["dissertation"],"thesis:degree_name":["Doctor of Philosophy"]},"updated_at":"2026-11-19T00:11:35Z"}