{"id":{"repo_id":"ksu","oai_identifier":"oai:krex.k-state.edu:2097/15731"},"canonical_url":"https://search.ndltd.org/etd/ksu/oai:krex.k-state.edu:2097/15731","repository":{"repo_id":"ksu","name":"Kansas State University","base_url":"https://krex.k-state.edu/server/oai/request"},"display":{"title":"Generating high confidence contracts without user input using Daikon and ESC/Java2","abstract":"Invariants are properties which are asserted to be true at certain program points. Invariants are of paramount importance when proving program correctness and program properties. Method, constructor, and class invariants can serve as contracts which specify program behavior and can lead to more accurate reuse of code; more accurate than comments because contracts are less error prone and they may be proved without testing. Dynamic invariant generation techniques run the program under inspection and observe the values that are computed at each program point and report a list of invariants that were observed to be possibly true. Static checkers observe program code and try to prove the correctness of annotated invariants by generating proofs for them. This project attempts to get strong invariants for a subset of classes in Java; there are two phases first we use Daikon, a tool that suggests invariants using dynamic invariant generation techniques, and next we get the invariants checked using ESC/Java2, which is a static checker for Java. In the first phase an ‘Instrumenter’ program inspects Java classes and generates code such that sufficient information is supplied to Daikon to generate strong invariants. All of this is achieved without any user input. The aim is to be able to understand the behavior of a program using already existing tools.","abstract_html":"Invariants are properties which are asserted to be true at certain program points. Invariants are of paramount importance when proving program correctness and program properties. Method, constructor, and class invariants can serve as contracts which specify program behavior and can lead to more accurate reuse of code; more accurate than comments because contracts are less error prone and they may be proved without testing. Dynamic invariant generation techniques run the program under inspection and observe the values that are computed at each program point and report a list of invariants that were observed to be possibly true. Static checkers observe program code and try to prove the correctness of annotated invariants by generating proofs for them. This project attempts to get strong invariants for a subset of classes in Java; there are two phases first we use Daikon, a tool that suggests invariants using dynamic invariant generation techniques, and next we get the invariants checked using ESC/Java2, which is a static checker for Java. In the first phase an ‘Instrumenter’ program inspects Java classes and generates code such that sufficient information is supplied to Daikon to generate strong invariants. All of this is achieved without any user input. The aim is to be able to understand the behavior of a program using already existing tools.","abstract_has_math":false,"creators":["Rayakota, Balaji"],"institution":"Kansas State University","degree_name":null,"degree_level":"Masters","degree_discipline":null,"degree_department":"Department of Computing and Information Science","school":null,"contributors":[],"advisors":["Torben Amtoft"],"committee_chairs":[],"committee_members":[],"year":2013,"date_issued":"2013-05-01","date_published":"2013-05-01","updated_at":"2026-11-26T03:05:29Z","subjects":["Software Contracts","Automatic Invariant Generation","Daikon","ESC/Java2"],"languages":["en"],"rights":["© the author. This Item is protected by copyright and/or related rights. You are free to use this Item in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s)."],"rights_urls":["http://rightsstatements.org/vocab/InC/1.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/2097/15731","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/2097/15731","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%3Aksu%3Aoai%3Akrex.k-state.edu%3A2097%2F15731","prefix":"oai_dc"},"source_record":{"url":"https://krex.k-state.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Akrex.k-state.edu%3A2097%2F15731","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.department","label":"Department","values":["Department of Computing and Information Science"]},{"key":"dc:creator","label":"Author","values":["Rayakota, Balaji"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2013-05-01T13:54:19Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2013-05-01T13:54:19Z"]},{"key":"dc:date.issued","label":"Date","values":["2013-05-01"]},{"key":"dc:date.published","label":"Dc Date Published","values":["2013"]},{"key":"dc:publisher","label":"Institution","values":["Kansas State University"]},{"key":"dc:type","label":"Dc Type","values":["Report"]},{"key":"thesis:degree_date","label":"Thesis Degree Date","values":["May"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Software Contracts","Automatic Invariant Generation","Daikon","ESC/Java2"]},{"key":"dc:subject.proquest","label":"Dc Subject Proquest","values":["Computer Science (0984)"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["© the author. This Item is protected by copyright and/or related rights. You are free to use this Item in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s)."]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://rightsstatements.org/vocab/InC/1.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/2097/15731"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Invariants are properties which are asserted to be true at certain program points. Invariants are of paramount importance when proving program correctness and program properties. Method, constructor, and class invariants can serve as contracts which specify program behavior and can lead to more accurate reuse of code; more accurate than comments because contracts are less error prone and they may be proved without testing. Dynamic invariant generation techniques run the program under inspection and observe the values that are computed at each program point and report a list of invariants that were observed to be possibly true. Static checkers observe program code and try to prove the correctness of annotated invariants by generating proofs for them. This project attempts to get strong invariants for a subset of classes in Java; there are two phases first we use Daikon, a tool that suggests invariants using dynamic invariant generation techniques, and next we get the invariants checked using ESC/Java2, which is a static checker for Java. In the first phase an ‘Instrumenter’ program inspects Java classes and generates code such that sufficient information is supplied to Daikon to generate strong invariants. All of this is achieved without any user input. The aim is to be able to understand the behavior of a program using already existing tools."]},{"key":"dc:description.advisor","label":"Dc Description Advisor","values":["Torben Amtoft"]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master of Science"]},{"key":"dc:title","label":"Title","values":["Generating high confidence contracts without user input using Daikon and ESC/Java2"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.department":["Department of Computing and Information Science"],"dc:creator":["Rayakota, Balaji"],"dc:date.accessioned":["2013-05-01T13:54:19Z"],"dc:date.available":["2013-05-01T13:54:19Z"],"dc:date.issued":["2013-05-01"],"dc:date.published":["2013"],"dc:description.abstract":["Invariants are properties which are asserted to be true at certain program points. Invariants are of paramount importance when proving program correctness and program properties. Method, constructor, and class invariants can serve as contracts which specify program behavior and can lead to more accurate reuse of code; more accurate than comments because contracts are less error prone and they may be proved without testing. Dynamic invariant generation techniques run the program under inspection and observe the values that are computed at each program point and report a list of invariants that were observed to be possibly true. Static checkers observe program code and try to prove the correctness of annotated invariants by generating proofs for them. This project attempts to get strong invariants for a subset of classes in Java; there are two phases first we use Daikon, a tool that suggests invariants using dynamic invariant generation techniques, and next we get the invariants checked using ESC/Java2, which is a static checker for Java. In the first phase an ‘Instrumenter’ program inspects Java classes and generates code such that sufficient information is supplied to Daikon to generate strong invariants. All of this is achieved without any user input. The aim is to be able to understand the behavior of a program using already existing tools."],"dc:description.advisor":["Torben Amtoft"],"dc:description.degree":["Master of Science"],"dc:identifier.uri":["http://hdl.handle.net/2097/15731"],"dc:language.iso":["en"],"dc:publisher":["Kansas State University"],"dc:rights":["© the author. This Item is protected by copyright and/or related rights. You are free to use this Item in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s)."],"dc:rights.uri":["http://rightsstatements.org/vocab/InC/1.0/"],"dc:subject":["Software Contracts","Automatic Invariant Generation","Daikon","ESC/Java2"],"dc:subject.proquest":["Computer Science (0984)"],"dc:title":["Generating high confidence contracts without user input using Daikon and ESC/Java2"],"dc:type":["Report"],"others:access_status":["open.access"],"thesis:degree_date":["May"],"thesis:degree_level":["Masters"]},"updated_at":"2026-11-26T03:05:29Z"}