{"id":192,"date":"2018-03-30T12:52:59","date_gmt":"2018-03-30T12:52:59","guid":{"rendered":"http:\/\/berkkibarer.com\/?p=192"},"modified":"2020-12-09T16:34:25","modified_gmt":"2020-12-09T16:34:25","slug":"test-cases-for-decision-coverage-and-modified-condition-decision-coverage-zalan-szugyi","status":"publish","type":"post","link":"https:\/\/www.berkkibarer.com\/?p=192","title":{"rendered":"Test cases for Decision Coverage and Modified Condition \/ Decision Coverage -Zal\u00e1n Szugyi"},"content":{"rendered":"<p>In\u00a0this\u00a0study\u00a0we\u00a0concern\u00a0to\u00a0structural\u00a0testing\u00a0methods,\u00a0especially\u00a0which\u00a0are\u00a0related\u00a0to\u00a0Decision\u00a0Coverage (DC),\u00a0and\u00a0Modified\u00a0Condition\u00a0\/\u00a0Decision\u00a0Coverage\u00a0(MCDC).\u00a0These\u00a0coverage\u00a0metrics\u00a0are\u00a0discussed in\u00a0the\u00a0next\u00a0chapter.\u00a0We\u00a0analyze\u00a0several\u00a0projects\u00a0\u2013\u00a0written\u00a0in\u00a0Ada\u00a0programming\u00a0language\u00a0\u2013\u00a0in\u00a0subprogram level,\u00a0and\u00a0estimate\u00a0how\u00a0many\u00a0test\u00a0cases\u00a0are\u00a0needed\u00a0to\u00a0satisfy\u00a0the\u00a0100%\u00a0of\u00a0DC\u00a0and\u00a0MCDC\u00a0coverage. At\u00a0last\u00a0we\u00a0\u00a0answer\u00a0to\u00a0the\u00a0question:\u00a0how\u00a0many\u00a0test\u00a0cases\u00a0need\u00a0more\u00a0to\u00a0satisfy\u00a0MCDC\u00a0then\u00a0DC. In\u00a0the\u00a0second\u00a0chapter\u00a0we\u00a0describe\u00a0the\u00a0most\u00a0frequently\u00a0used\u00a0coverage\u00a0metrics.\u00a0In\u00a0the\u00a0third\u00a0chapter\u00a0we give\u00a0a\u00a0detailed\u00a0description\u00a0about\u00a0how\u00a0we\u00a0analyzed\u00a0the\u00a0source\u00a0codes\u00a0of\u00a0projects.\u00a0Then\u00a0we\u00a0discuss\u00a0the results\u00a0of\u00a0our\u00a0analysis\u00a0in\u00a0the\u00a0fourth\u00a0chapter.\u00a0And\u00a0the\u00a0summary\u00a0and\u00a0the\u00a0conclusion\u00a0comes\u00a0in\u00a0the\u00a0fifth chapter.<\/p>\n<p><a href=\"https:\/\/www.berkkibarer.com\/wp-content\/uploads\/2018\/03\/TestCasesForDecisionCoverageAndMCDC.pdf\">TestCasesForDecisionCoverageAndMCDC<\/a><\/p>\n<p><a href=\"http:\/\/people.inf.elte.hu\/lupin\/dc_mcdc_study.pdf\">http:\/\/people.inf.elte.hu\/lupin\/dc_mcdc_study.pdf<\/a><\/p>\n ","protected":false},"excerpt":{"rendered":"<p>In&nbsp;this&nbsp;study&nbsp;we&nbsp;concern&nbsp;to&nbsp;structural&nbsp;testing&nbsp;methods,&nbsp;especially&nbsp;which&nbsp;are&nbsp;related&nbsp;to&nbsp;Decision&nbsp;Coverage (DC),&nbsp;and&nbsp;Modified&nbsp;Condition&nbsp;\/&nbsp;Decision&nbsp;Coverage&nbsp;(MCDC).&nbsp;These&nbsp;coverage&nbsp;metrics&nbsp;are&nbsp;discussed in&nbsp;the&nbsp;next&nbsp;chapter.&nbsp;We&nbsp;analyze&nbsp;several&nbsp;projects&nbsp;&ndash;&nbsp;written&nbsp;in&nbsp;Ada&nbsp;programming&nbsp;language&nbsp;&ndash;&nbsp;in&nbsp;subprogram level,&nbsp;and&nbsp;estimate&nbsp;how&nbsp;many&nbsp;test&nbsp;cases&nbsp;are&nbsp;needed&nbsp;to&nbsp;satisfy&nbsp;the&nbsp;100%&nbsp;of&nbsp;DC&nbsp;and&nbsp;MCDC&nbsp;coverage. At&nbsp;last&nbsp;we&nbsp;&nbsp;answer&nbsp;to&nbsp;the&nbsp;question:&nbsp;how&nbsp;many&nbsp;test&nbsp;cases&nbsp;need&nbsp;more&nbsp;to&nbsp;satisfy&nbsp;MCDC&nbsp;then&nbsp;DC. In&nbsp;the&nbsp;second&nbsp;chapter&nbsp;we&nbsp;describe&nbsp;the&nbsp;most&nbsp;frequently&nbsp;used&nbsp;coverage&nbsp;metrics.&nbsp;In&nbsp;the&nbsp;third&nbsp;chapter&nbsp;we give&nbsp;a&nbsp;detailed&nbsp;description&nbsp;about&nbsp;how&nbsp;we&nbsp;analyzed&nbsp;the&nbsp;source&nbsp;codes&nbsp;of&nbsp;projects.&nbsp;Then&nbsp;we&nbsp;discuss&nbsp;the results&nbsp;of&nbsp;our&nbsp;analysis&nbsp;in&nbsp;the&nbsp;fourth&nbsp;chapter.&nbsp;And&nbsp;the&nbsp;summary&nbsp;and&nbsp;the&nbsp;conclusion&nbsp;comes&nbsp;in&nbsp;the&nbsp;fifth chapter. TestCasesForDecisionCoverageAndMCDC http:\/\/people.inf.elte.hu\/lupin\/dc_mcdc_study.pdf<\/p>\n","protected":false},"author":1,"featured_media":194,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[21],"tags":[75,74,71,77,76],"class_list":["post-192","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-recommendations","tag-condition-coverage","tag-decision-coverage","tag-modified-condition-decision-coverage","tag-test-cases","tag-zalan-szugyi"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=\/wp\/v2\/posts\/192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=192"}],"version-history":[{"count":2,"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=\/wp\/v2\/posts\/192\/revisions"}],"predecessor-version":[{"id":418,"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=\/wp\/v2\/posts\/192\/revisions\/418"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=\/wp\/v2\/media\/194"}],"wp:attachment":[{"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.berkkibarer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}