XCVQ Testing, Evaluation and Discussion

XCVQ Testing, Evaluation and Discussion

Badya Al-Hamadani (University of Huddersfield, UK) and Joan Lu (University of Huddersfield, UK)
DOI: 10.4018/978-1-4666-1975-3.ch011
OnDemand PDF Download:
$30.00
List Price: $37.50

Abstract

Since the testing and evaluation processes are part of SDM, this chapter illustrates the detailed testing of XCVQ and its ensuing evaluation. Because the XCVQ model consists of three main parts, XCVQ-C, XCVQ-D, and XCVQ-QP, the testing strategy will involve testing each stage on its own. This chapter describes the testing of the three parts of the XCVQ model.
Chapter Preview
Top

1.1 Testing Strategy

For the purposes of testing the complete model, the testing strategies are to be specified first. The next sections describe the behaviour testing strategy used (state graph) and then the functional testing strategies (white and black boxes).

<i>1.1.1</i> Testing XCVQ’s Behaviour</div><p>For the purposes of testing the complete model, first the state diagram was defined to describe the behaviour of <i>XCVQ</i> and to implement the State Graph testing strategy (Beizer, 1990; Farrell-Vinay, 2008).</p><p>The following is the detailed description of each state of the state graph in Figure 1.</p><div class="xmlReaderFig"><i>Figure 1. </i><div class="xmlReaderFig"><p><i>XCVQ</i> state graph</p></div><div style="width: 100%;"><a href="/sourcecontent/9781466619753_64884/978-1-4666-1975-3.ch011.f01.png" target="_blank"><img src="/sourcecontent/9781466619753_64884/978-1-4666-1975-3.ch011.f01.png" style="max-width: 100%;" /></a></div></graphic></div><ul class="xmlReaderUl"><li><p><b>State-A:</b> This state is the GUI of the designed model. It represents the starting state in order to deal with all the other states. This state has three outputs:</p></li><li><p><i>Out-1</i>: to compress an XML document, go to state-B.</p></li><li><p><i>Out-2</i>: to decompress an XML document, go to State-C. This output is true only if (Out-1) is performed at least one time.</p></li><li><p><i>Out-3</i>: to write a query, go to State-D. This output is true only if (Out-1) is performed at least one time.</p></li><li><p><b>State-B:</b> This state represents the process of compressing an XML document. It has two outputs:</p></li><li><p><i>Out-4</i>: to decompress an XML document, go to State-C.</p></li><li><p><i>Out-5</i>: to submit a query, go to State-D.</p></li><li><p><b>State-C:</b> This stage represents the process of decompressing an XML document and it has two outputs:</p></li><li><p><i>Out-6</i>: return to the starting state.</p></li><li><p><i>Out-7</i>: submit the decompressed document to the user, go to State-I.</p></li><li><p><b>State-D:</b> this is the most important state in the system which represents the query submission and checking its syntax. It has the following five outputs:</p></li><li><p><i>Out-8</i>: if the submitted query has syntactical error(s), return to the same stage to resubmit another query.</p></li><li><p><i>Out-9</i>: if the syntactically true query specifies the exact XML document to retrieve information from, go to Stage-E.</p></li><li><p><i>Out-10</i>: if the syntactically true query does not specify the exact XML document to retrieve information from, go to Stage-F.</p></li><li><p><i>Out-11</i>: take the out-of-errors query and the relevant XML document(s) as inputs to State-G.</p></li><li><p><i>Out-12</i>: from this stage the user can return back to the starting state.</p></li><li><p><b>State-E:</b> This state is responsible on retrieving the required XML document which specified by the query. It has only one output:</p></li><li><p><i>Out-13</i>: carry the unique XML document which is specified by the query to State-D.</p></li><li><p><b>State-F:</b> In the state, the set of relevant XML document is specified depending on the submitted query. This state has one output:</p></li><li><p><i>Out-14</i>: carry the set of the relevant XML document(s) retrieved from the repository to State-D.</p></li><li><p><b>State-G:</b> In this state, the query is processed and the required information is retrieved from the relevant XML document(s). It has three outputs:</p></li><li><p><i>Out-15</i>: to ignore the current query, return to State-D.</p></li><li><p><i>Out-16</i>: if more retrieval process required for the retrieved document, go to State-B to decompress the retrieved document first.</p></li><li><p><i>Out-18</i>: to submit the results of the querying process to the user, go to State-I</p></li><li><p><b>State-H:</b> This state returns the retrieved information as an XML document to the compressor to compress it and add it to the XML repository for further querying process and it has only one</p></li><li><p>Out-17: if the user required more querying on the retrieved information, go to State-B.</p></li><li><p><b>State-I:</b> This state is the final state where the resulted document(s) are submitted to the user.</p></li></ul></div><div class="preview-footer"><a href="javascript:__doPostBack('ctl00$cphFeatured$lnkAddToCart','')">Purchase this chapter to continue reading all 14 pages ></a></div></div><div id="table-of-contents"><h2>Complete Chapter List</h2><div class="search-contents"><span class="text"> Search this Book: </span><span class="text-box-container"><input id="txtKeywords" type="text" maxlength="50" onkeypress="return SearchBookFulltextHandleEnter(event, 64884);" placeholder="Full text search terms" title="Full text search terms" class="full-text-search-box" /></span><div class="inline-block search-contents-xs-full-width"><span class="search"><span class="search-button" onclick="RemoveSpecialCharacters();SearchBookFulltext(64884);"></span></span><span class="reset"><span onclick="RemoveSpecialCharacters();SearchBookFulltextReset();" class="link-gray-s">Reset</span></span></div></div><div id="searchResults"></div><div id="full-toc"></div><div id="loading-toc" class="text-align-center"><div class="loading-icon-lg"></div></div><script type="text/javascript"> $(document).ready(function () { if (31 !== 0) { GetBookToc(64884, 69134, 2, 'True', '', '$37.50'); } else { GetBookTocFromSubmissionSystem(64884, 69134, 2, 'True', '', '$37.50'); } } ); </script></div></div></div></div><div class="contentcnav" style="display:none;"><span id="ctl00_cphFeatured_pnlAbstract"><a href="#abstract" class="navlinklightc">Abstract</a> | </span><span id="ctl00_cphFeatured_pnlPreview"><a href="#chapter-preview" class="navlinklightc">Chapter Preview</a> | </span><a href="#table-of-contents" class="navlinklightc">Complete Chapter List</a><div class="rightouter"><div class="rightheader"> Complete Book </div><div class="rightinner"><strong>$195.00 - $295.00</strong><div style="margin-top: 2px; padding-left: 2px;"><a href="/book/design-performance-analysis-innovative-information/64884" id="ctl00_cphFeatured_lnkBookPricing" class="navlinkcsmall">View Book Pricing Options</a></div></div></div><div id="ctl00_cphFeatured_ucInfoSciOnDemandSidebar_pnlSearch"><div class="panel-heading box-corner" data-toggle="collapse" data-target="#on-demand-search-toggle"><img src="/Images/infosci-ondemand-small.png" alt="InfoSci-OnDemand Powered Search" width="155" height="32" /></div><ul id="on-demand-search-toggle" class="nav nav-stacked list-unstyled collapse navbar-collapse nav-stacked-custom"><li style="padding: 6px 10px;"><div style="margin-bottom: 7px; font-size: 11px; color: #666;"> Full-text search over 107,700 research articles and chapters. </div><div style="display:inline-block;"><a onclick="RemoveSpecialCharacters();" id="ctl00_cphFeatured_ucInfoSciOnDemandSidebar_lnkSearch" class="ButtonBlack FloatRight" href="javascript:__doPostBack('ctl00$cphFeatured$ucInfoSciOnDemandSidebar$lnkSearch','')" style="height:19px;background-color:#777;"><span class="jQueryIconBlitzer ui-icon-search"></span></a><input name="ctl00$cphFeatured$ucInfoSciOnDemandSidebar$txtSearchPhrase" type="text" id="ctl00_cphFeatured_ucInfoSciOnDemandSidebar_txtSearchPhrase" class="SearchTextBox TextBoxWatermark FloatLeft" title="Full text search term(s)" style="width: 117px;" /></div></li></ul></div><div id="ctl00_cphFeatured_pnlRelatedTitles" class="rightouter"><div class="rightheader"> Related Chapters </div><div class="rightinner"><div class="list-item-link" style="border-bottom: dotted 1px #dadada; padding: 4px 0px; font-size: 11px;"><div title='Top-k Relevant Term Suggestion Approach for Relational Keyword Search'><a id="Link" href="/chapter/top-k-relevant-term-suggestion-approach-for-relational-keyword-search/138691" title='Top-k Relevant Term Suggestion Approach for Relational Keyword Search'> Top-k Relevant Term Suggestion Approach for... </a><div style="color: #555;">© 2016, 24 pp.</div></div></div><div class="list-item-link" style="border-bottom: dotted 1px #dadada; padding: 4px 0px; font-size: 11px;"><div title='Evaluating Top-k Skyline Queries on R-Trees'><a id="Link" href="/chapter/evaluating-top-k-skyline-queries-on-r-trees/138693" title='Evaluating Top-k Skyline Queries on R-Trees'> Evaluating Top-k Skyline Queries on R-Trees </a><div style="color: #555;">© 2016, 39 pp.</div></div></div><div class="list-item-link" style="border-bottom: dotted 1px #dadada; padding: 4px 0px; font-size: 11px;"><div title='Complex Motion Pattern Queries in Spatio-Temporal Databases'><a id="Link" href="/chapter/complex-motion-pattern-queries-in-spatio-temporal-databases/138700" title='Complex Motion Pattern Queries in Spatio-Temporal Databases'> Complex Motion Pattern Queries in Spatio-Temporal... </a><div style="color: #555;">© 2016, 25 pp.</div></div></div><div class="list-item-link" style="border-bottom: dotted 1px #dadada; padding: 4px 0px; font-size: 11px;"><div title='C2S'><a id="Link" href="/chapter/c2s/138702" title='C2S'> C2S </a><div style="color: #555;">© 2016, 31 pp.</div></div></div><div class="list-item-link" style="border-bottom: dotted 1px #dadada; padding: 4px 0px; font-size: 11px;"><div title='RDF Storage and Querying'><a id="Link" href="/chapter/rdf-storage-and-querying/138710" title='RDF Storage and Querying'> RDF Storage and Querying </a><div style="color: #555;">© 2016, 19 pp.</div></div></div><div class="list-item-link" style="border-bottom: dotted 1px #dadada; padding: 4px 0px; font-size: 11px;"><div title='User Driven Query Framework of Social Networks for Geo-Temporal Analysis of Events of Interest'><a id="Link" href="/chapter/user-driven-query-framework-of-social-networks-for-geo-temporal-analysis-of-events-of-interest/138699" title='User Driven Query Framework of Social Networks for Geo-Temporal Analysis of Events of Interest'> User Driven Query Framework of Social Networks for... </a><div style="color: #555;">© 2016, 26 pp.</div></div></div><div class="list-item-link" style="border-bottom: dotted 1px #dadada; padding: 4px 0px; font-size: 11px;"><div title='Supporting Position Change through On-Line Location-Based Skyline Queries'><a id="Link" href="/chapter/supporting-position-change-through-on-line-location-based-skyline-queries/138703" title='Supporting Position Change through On-Line Location-Based Skyline Queries'> Supporting Position Change through On-Line... </a><div style="color: #555;">© 2016, 38 pp.</div></div></div></div></div><a href="/search/?sid=2&stid=138"><div class="rightnavad featuredtitles"><span class="item" style="font-size:14px;">More Library &<br />Info. Science Titles</span><span class="details"><strong>Related Titles</strong>View all Library &<br />Info. Science search results</span></div></a></div><script type="text/javascript"> MenuAdjust(); $(window).on('resize orientationChange', function (event) { MenuAdjust(); }); </script><footer class="footer"><div class="container"><div class="row"><div class="top-margin"><div class="col-md-6"><div class="footer-header"> Learn More </div><div class="text"><a href="/about/" class="footer-link">About IGI Global</a> | <a href="/publish/partnerships/" class="footer-link">Partnerships</a> | <a href="/contact/" class="footer-link">Contact</a> | <a href="/careers/" class="footer-link">Careers</a> | <a href="/faq/" class="footer-link">FAQ</a> | <a href="/staff/" class="footer-link">Staff</a></div><div class="footer-header header-margin-top"> Resources For </div><div class="text"><a href="/librarians/" class="footerlink">Librarians</a> | <a href="/publish/" class="footerlink">Authors/Editors</a> | <a href="/distributors/" class="footerlink">Distributors</a> | <a href="/course-adoption/" class="footerlink">Instructors</a> | <a href="/translators/" class="footerlink">Translators</a> | <a href="https://www.econtentpro.com/partners/referrer/2eeff007-a17a-e611-80c4-0cc47a0d221d?url=/copyediting" class="footerlink" target="_blank">Copy Editing Services</a></div><div class="footer-header header-margin-top"> Media Center </div><div class="text"><a href="/symposium/" class="footer-link">Online Symposium</a> | <a href="/newsroom/" class="footer-link">Blogs</a> | <a href="/catalogs/" class="footer-link">Catalogs</a> | <a href="/newsletters/" class="footer-link">Newsletters</a></div><div class="footer-header header-margin-top"> Policies </div><div class="text"><a href="/policies/privacy/" class="footer-link">Privacy Policy</a> | <a href="/policies/content-reuse/" class="footer-link">Content Reuse Policy</a> | <a href="/policies/ethics-and-malpractice/" class="footer-link">Ethics and Malpractice</a></div></div><div class="col-md-6 td-r"><div class="td-r-t"><div class="td-r-t-r"><a id="ctl00_lnkConferenceBadge" href="https://2018.alamidwinter.org/" target="_blank"><img src="/Images/ala-2018.png" alt="" style="height:124px;width:250px;" /></a></div><div class="td-r-t-l"><div class="t-space" style="margin-top:31px;"><a href="http://www.facebook.com/pages/IGI-Global/138206739534176?ref=sgm" target="_blank"><span class="fb"></span></a>  <a href="http://twitter.com/igiglobal" target="_blank"><span class="tw"></span></a></div><div class="b-space"><a href="http://www.world-forgotten-children.org" target="_blank"><img src="/images/proud-supporter-of-wfcf-07282015.png" alt="World Forgotten Children's Foundation" title="Proud Supporter of the World Forgotten Children's Foundation" width="157" height="52" /></a></div></div></div><div class="text"> Copyright © 1988-2017, IGI Global - All Rights Reserved </div><div class="td-r-ip"></div></div></div></div></div></footer><div class="aspNetHidden"><input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="679D6B48" /><input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="ImnrIOupfuPFW0WRh4RXFUg00q7sWHSgQSXzh96HAGyH+nlg970LmcKv1n+WHBfZETJrdFzcYCoBBNLgFVH0uNHtdSCK5s53bGirSkXa08vrvVe3+3u1APu5RC/yei2zIzLgQEEquZyde12a0ncEaveACdIoBlydrtpIF6UxRc1LlAA46yseIT3bHIlrxrQ6T+wXCCTP7Z1ZpZoI+asuSo1zwC7cHBGf/YmO8BWVi9J6VWataiq1SyEJaQLep0YOhGwB17eEJawwf/WDhAc7dL3dTpOFRzdvoXrQlR0VJKpbknZRCvUKS5ews+W7ist42nA2axrg0TU9huzJlJeIU513yC43pxU6hUNRw4ojFmoN/Qi1bGCiDiQ0dieuPrzyO6Uzd2ljlPqrhwBk73uG0u3j5kAZaiOwn+YME1WjLI09r55nOiiS0J3lSKCgHroW0yX+NFhDLOBJHOtV8bubssj7zyI=" /></div></form></body></html>