nContract - Creating Configurable Run-Time Contract Verification for .NET Components

dc.contributor.authorHaggard, Westleyen
dc.contributor.committeechairEdwards, Stephen H.en
dc.contributor.committeememberBalci, Osmanen
dc.contributor.committeememberRibbens, Calvin J.en
dc.contributor.departmentComputer Scienceen
dc.date.accessioned2014-03-14T20:33:10Zen
dc.date.adate2005-04-07en
dc.date.available2014-03-14T20:33:10Zen
dc.date.issued2005-03-21en
dc.date.rdate2005-04-07en
dc.date.sdate2005-04-05en
dc.description.abstractThe use of third-party components is helpful while writing complex software systems, but it can be difficult to debug software that interacts with third-party components. To address this problem, a mechanism for determining if one is using the component correctly would be beneficial. Reading component documentation may or may not help, depending on its clarity and precision. A formally specified contract for that component would be better, and would also allow run-time contract verification via assertions. The client of the component could enable these assertions during development and debugging, and then disable them for the final production release to increase performance. This thesis presents nContract, a tool that provides configurable run-time contract verification without requiring component recompilation or source code access. nContract allows component developers to formally specify .NET components using attributes. This contract information is retrieved from the compiled component's metadata and a subclass is generated for each formally specified type. All members of the component's interface are overridden and contract assertions are wrapped around calls to the base class. As long as the component client uses a factory to create instances of the component's types, the decision of whether or not to create assertion-checked or unchecked objects can be deferred until run-time.en
dc.description.degreeMaster of Scienceen
dc.identifier.otheretd-04052005-011913en
dc.identifier.sourceurlhttp://scholar.lib.vt.edu/theses/available/etd-04052005-011913/en
dc.identifier.urihttp://hdl.handle.net/10919/31632en
dc.publisherVirginia Techen
dc.relation.haspartnContract-Thesis.pdfen
dc.relation.haspartnContractSourceCode.zipen
dc.rightsIn Copyrighten
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en
dc.subjectcontract verificationen
dc.subject.net componentsen
dc.subjectdesign-by-contracten
dc.subjectformal specificationen
dc.subjectcomponent specificationen
dc.titlenContract - Creating Configurable Run-Time Contract Verification for .NET Componentsen
dc.typeThesisen
thesis.degree.disciplineComputer Scienceen
thesis.degree.grantorVirginia Polytechnic Institute and State Universityen
thesis.degree.levelmastersen
thesis.degree.nameMaster of Scienceen

Files

Original bundle
Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
nContract-Thesis.pdf
Size:
2.54 MB
Format:
Adobe Portable Document Format
Name:
nContractSourceCode.zip
Size:
1005.29 KB
Format:
Unknown data format

Collections