[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-496401-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-496401-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","combined-static-and-dynamic-automated-test-generation-palus-tool","Combined Static and Dynamic Automated Test Generation - Palus tool","","In object-oriented programs, unit tests typically consist of sequences of method calls that create and mutate objects, then pass them as arguments to the method under test. Automatically generating legal, behaviorally-diverse sequences is difficult because it requires reaching many program states while respecting implicit call-order and argument constraints. This paper introduces a combined static and dynamic approach and the Palus tool, which infers a call-sequence model from executions, derives field-based dependencies via static analysis, and uses guided random generation to improve coverage and bug finding.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/combined-static-and-dynamic-automated-test-generation-palus-tool/496401/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/combined-static-and-dynamic-automated-test-generation-palus-tool/496401.png","ImageObject",300,407,{"name":42,"@type":43},"Rhys","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-15","2026-10-02",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does the paper address in automated unit test generation?","Question",{"text":63,"@type":64},"It addresses generating legal and behaviorally-diverse sequences of method calls in object-oriented programs, where implicit specifications like call order and argument constraints make random generation often illegal or unable to reach new states.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does Palus combine dynamic and static analysis?",{"text":68,"@type":64},"Palus first uses dynamic analysis on a sample correct execution to infer a call-sequence model and annotate argument constraints, then uses static analysis to compute dependence relations among methods based on the fields they read or write.",{"name":70,"@type":61,"acceptedAnswer":71},"How were Palus tests evaluated compared to other approaches?",{"text":72,"@type":64},"The paper reports comparisons against pure random, dynamic-random (without static), and static-random (without dynamic) on popular open-source Java programs, showing higher structural coverage and more bugs, and it also states Palus found 22 previously unknown bugs in four well-tested Google products.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},496401,1791410228,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},687207024643,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Combined Static and Dynamic Automated Test Generation  \nSai Zhang 1 David Saff2 Yingyi Bu3 Michael D. Ernst 1  \n1 University of Washington 2 Google, Inc 3 University of California, Irvine  \n{szhang, [mernst}@cs.washington.edu](mernst}@cs.washington.edu), [saff@google.com](saff@google.com), [yingyib@ics.uci.edu](yingyib@ics.uci.edu)  \nABSTRACT  \nIn an object-oriented program, a unit test often consists of a sequence of method calls that create and mutate objects, then use them as arguments to a method under test. It is challenging to automatically generate sequences that are legal and behaviorally-diverse, that is, reaching as many different program states as possible.  \nThis paper proposes a combined static and dynamic automated test generation approach to address these problems, for code without a formal speciﬁcation. Our approach ﬁrst uses dynamic analysis to infer a call sequence model from a sample execution, then uses static analysis to identify method dependence relations based on the ﬁelds they may read or write. Finally, both the dynamicallyinferred model (which tends to be accurate but incomplete) and the statically-identiﬁed dependence information (which tends tobe conservative) guide a random test generator to create legal and behaviorally-diverse tests.  \nOur Palus tool implements this testing approach. We compared its effectiveness with a pure random approach, a dynamic-random approach (without a static phase), and a static-random approach (without a dynamic phase) on several popular open-source Java programs. Tests generated by Palus achieved higher structural coverage and found more bugs.  \nPalus is also internally used in Google. It has found 22 previouslyunknown bugs in four well-tested Google products.  \nCategories and Subject Descriptors: D.2.5 [Software Engineering]: Testing and Debugging.  \nGeneral Terms: Reliability, Experimentation.  \nKeywords: Automated test generation, static and dynamic analyses.  \n1. INTRODUCTION  \nIn an object-oriented language like Java, a unit test consists of a sequence of method calls that explores a particular aspect of the behavior of the methods under test. Two primary objectives of testing are to achieve high structural coverage, which increases conﬁdence in the code under test, and to ﬁnd unknown bugs. To achieve either objective, unit testing requires desirable method-call  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for proﬁt or commercial advantage and that copies bear this notice and the full citation on the ﬁrst page. To copy otherwise, torepublish, to post on servers or to redistribute to lists, requires prior speciﬁc permission and/or a fee.  \nISSTA '11, July 17-21, 2011, Toronto, ON, Canada  \nCopyright 2011 ACM 978-1-4503-0562-4/11/05 ...$10.00 .  \nsequences (in short, sequences) that create and mutate objects. These sequences generate target object states of the receiver or arguments of the method under test.  \nTo reduce the burden of manually writing unit tests, many automated test generation techniques have been studied [2,6,7,19,26,33] . Of existing test generation techniques, bounded-exhaustive [5, 23], symbolic execution-based [15, 32, 37], and random [6, 26] approaches represent the state of the art. Bounded-exhaustive approaches generate sequences exhaustively up to a small bound on sequence length. However, generating good tests often requires longer sequences beyond the small bound. Symbolic execution-based analysis tools such as JPF [37] and CUTE/jCUTE [32] explore paths in the program under test symbolically and collect symbolic constraints at all branching points in an explored path. The collected constraints are solved if feasible, and a solution is used to generate an input for a speciﬁc method. However, these symbolic execution-based tools face the challenge of scalability, and the quality of generated inputs heavily depend","cbCairxANKxRa8e3","https://ap.wps.com/l/cbCairxANKxRa8e3","pdf",464329,11,"English","# Abstract\n# Introduction","[{\"question\":\"What problem does the paper address in automated unit test generation?\",\"answer\":\"It addresses generating legal and behaviorally-diverse sequences of method calls in object-oriented programs, where implicit specifications like call order and argument constraints make random generation often illegal or unable to reach new states.\"},{\"question\":\"How does Palus combine dynamic and static analysis?\",\"answer\":\"Palus first uses dynamic analysis on a sample correct execution to infer a call-sequence model and annotate argument constraints, then uses static analysis to compute dependence relations among methods based on the fields they read or write.\"},{\"question\":\"How were Palus tests evaluated compared to other approaches?\",\"answer\":\"The paper reports comparisons against pure random, dynamic-random (without static), and static-random (without dynamic) on popular open-source Java programs, showing higher structural coverage and more bugs, and it also states Palus found 22 previously unknown bugs in four well-tested Google products.\"}]","Combined Static and Dynamic Automated Test Generation - Palus tool | PDF",1790931741,28,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/69883443a13e6b7c4a8aa6d43e06f6fc.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e79db769cdd64a61ca562730bf814875.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2a8ac9dab870cc6d986d0ab840b9aaa1.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/522a6ea0024a553dff03fd64ce1bf8cb.webp",980,1268]