<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JSEA</journal-id><journal-title-group><journal-title>Journal of Software Engineering and Applications</journal-title></journal-title-group><issn pub-type="epub">1945-3116</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jsea.2013.64A002</article-id><article-id pub-id-type="publisher-id">JSEA-30072</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Lognormal Process Software Reliability Modeling with Testing-Effort
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>hinji</surname><given-names>Inoue</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Shigeru</surname><given-names>Yamada</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Social Management Engineering, Graduate School of Engineering, Tottori University, Tottori, Japan</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>ino@sse.tottori-u.ac.jp(HI)</email>;<email>yamada@sse.tottori-u.ac.jp(SY)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>26</day><month>04</month><year>2013</year></pub-date><volume>06</volume><issue>04</issue><fpage>8</fpage><lpage>14</lpage><history><date date-type="received"><day>December</day>	<month>26th,</month>	<year>2012</year></date><date date-type="rev-recd"><day>January</day>	<month>29th,</month>	<year>2013</year>	</date><date date-type="accepted"><day>February</day>	<month>6th,</month>	<year>2013</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   We propose a software reliability growth model with testing-effort based on a continuous-state space stochastic process, such as a lognormal process, and conduct its goodness-of-fit evaluation. We also discuss a parameter estimation method of our model. Then, we derive several software reliability assessment measures by the probability distribution of its solution process, and compare our model with existing continuous-state space software reliability growth models in terms of the mean square error and the Akaike’s information criterion by using actual fault count data.
     
 
</p></abstract><kwd-group><kwd>Software Reliability Growth Model; Lognormal Process; Testing-Effort Function; Software Reliability  Assessment Measures; Goodness-of-Fit</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Quantitative software reliability assessment is one of the important activities to produce reliable software systems. A software reliability growth model (abbreviated as SRGM) [1,2] is known as a useful mathematical tool for assessing software reliability quantitatively. The SRGM can describe the software fault-detection phenomenon or the software failure-occurrence phenomenon in the testing or operational phase by applying stochastic and statistical theories. Especially, a nonhomogeneous Poisson process (abbreviated as NHPP) [3,4], which describes the faultdetection phenomenon as a discrete-state space, is often applied in software reliability growth modeling by supposing an appropriate mean value function of the NHPP. Accordingly, the NHPP model is utilized for quantitative software reliability assessment in many software houses and computer manufacturers from the view point of the high applicability and simplicity of the model structure of an NHPP.</p><p>In contrast with discrete-state space SRGMs, such as well-known NHPP models [<xref ref-type="bibr" rid="scirp.30072-ref5">5</xref>], there are continuousstate space SRGMs to assess software reliability for large scale software systems. Specifically, Yamada et al. [<xref ref-type="bibr" rid="scirp.30072-ref6">6</xref>] discussed a framework for the continuous-state space software reliability growth modeling based on a stochastic differential equation of It&#244; type, and compared the continuous-state space SRGM with the NHPP models. Recently, Yamada et al. [<xref ref-type="bibr" rid="scirp.30072-ref7">7</xref>] and Lee et al. [<xref ref-type="bibr" rid="scirp.30072-ref8">8</xref>] proposed several type of the continuous-state space SRGMs based on stochastic differential equations of It&#244; type, such as exponential, delayed S-shaped, inflection S-shaped stochastic differential equation models, by characterizing the fault-detection rate per unit time per one fault, respectively.</p><p>However, these continuous-state space SRGMs have not taken the effect of testing-effort into consideration in software reliability assessment. The testing-effort, such as the number of executed test-cases, testing-coverage, and CPU hours expended in the testing phase, is well known as one of the most important factors being related to the software reliability growth process [<xref ref-type="bibr" rid="scirp.30072-ref9">9</xref>]. Under the above background, there is necessity to discuss a testingeffort dependent SRGM on a continuous-state space for the purpose of developing a more plausible continuous-state space SRGM.</p><p>This paper proposes a continuous-state space software reliability growth model with the testing-effort factor by applying a mathematical technique of stochastic differrential equations of It&#244; type, and conducts goodnessof-fit comparisons of our model with existing continuous-state space SRGMs. Concretely, we extend a basic differential equation describing the behavior of the cumulative number of detected faults to a stochastic differential equation of It&#244; type by considering with the testing-effort factor, and derive its solution process which represents the fault-detection process. Then, we discuss estimation methods for unknown parameters in our model. And we then compare our model with existing continuous-state space SRGMs in terms of the mean square error (MSE) [<xref ref-type="bibr" rid="scirp.30072-ref5">5</xref>] and Akaike’s information criterion (AIC) [<xref ref-type="bibr" rid="scirp.30072-ref10">10</xref>]. Finally, we derive several software reliability assessment measures by the probability distribution of the solution process, and show numerical examples for software reliability assessment measures derived from our model by using actual fault counting data.</p></sec><sec id="s2"><title>2. Basic Modeling Framework</title><p>We discuss a framework of continuous-state space software reliability growth modeling [<xref ref-type="bibr" rid="scirp.30072-ref6">6</xref>]. Letting <img src="2-9301580\e06912de-89ea-49bf-b7be-1b1506965b89.jpg" /> be a random variable which represents the number of faults detected up to time t. From the common assumptions for software reliability growth modeling, that is, the instantaneous number of detected faults at time t depends on the residual number of undetected faults at time t [1,2,5], we have the following linear differential equation:</p><disp-formula id="scirp.30072-formula66525"><label>(1)</label><graphic position="anchor" xlink:href="2-9301580\d1f66b42-9367-4070-89d1-fa9047a7b025.jpg"  xlink:type="simple"/></disp-formula><p>where b(t) indicates the fault-detection rate at testing-time t and is assumed to be a non-negative function, and a the initial fault content in the software system. Equation (1) describes the behavior of the decrement of the fault content in the software system.</p><p>Especially, in the large-scale software development, a fault-detection process in an actual testing phase is influenced by several uncertain testing-factors, such as testing-skill, debugging-environment. Accordingly, we should take these factors into consideration in software reliability growth modeling. Therefore, we extend Equation (1) to the following equation:</p><disp-formula id="scirp.30072-formula66526"><label>, (2)</label><graphic position="anchor" xlink:href="2-9301580\0f806332-f024-483f-8c34-bf0424c7773c.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="2-9301580\92c758f4-1ef5-4d43-b8c5-06c31c3b1d0a.jpg" /> is a noise that exhibits an irregular fluctuation. For the purpose of making its solution a Markov process, we assume that <img src="2-9301580\807564a3-e21a-4835-88b3-fd69f63ebba4.jpg" /> in Equation (2) has</p><disp-formula id="scirp.30072-formula66527"><label>, (3)</label><graphic position="anchor" xlink:href="2-9301580\70d0280d-f44b-480c-a860-917cfdc8c601.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="2-9301580\a26732e1-81d2-4c95-acf6-690583e37faf.jpg" /> indicates a positive constant representing magnitude of the irregular fluctuation and <img src="2-9301580\d6d5b999-723a-4234-b4db-21155f6091f0.jpg" /> a standardized Gaussian white noise.</p><p>We transform Equation (2) into the following stochastic differential equation of It&#244; type:</p><disp-formula id="scirp.30072-formula66528"><label>(4)</label><graphic position="anchor" xlink:href="2-9301580\f89ff063-fbf7-48a5-9768-1a062c29f780.jpg"  xlink:type="simple"/></disp-formula><p>where W(t) is a one-dimensional Wiener process which is formally defined as an integration of the white noise <img src="2-9301580\1ace7bf8-69d4-4ab7-9513-88386d3e673c.jpg" /> with respect to time t. The Wiener process W(t) is called a Gaussian process, and has the following properties:</p><disp-formula id="scirp.30072-formula66529"><label>(a)</label><graphic position="anchor" xlink:href="2-9301580\9e021008-109b-4d1f-afdb-1781e5524184.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.30072-formula66530"><label>(b)</label><graphic position="anchor" xlink:href="2-9301580\be595370-9c9f-4bae-b224-267e369d1fc8.jpg"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.30072-formula66531"><label>(c)</label><graphic position="anchor" xlink:href="2-9301580\4b9862dc-8018-4e15-906c-62922e546caa.jpg"  xlink:type="simple"/></disp-formula><p>where Pr[A] and E[&#183;] represent the probability of the event A and the expectation, respectively. Next, we derive a solution process N(t) by using the It&#244;’s formula. The solution process N(t) can be derived as</p><disp-formula id="scirp.30072-formula66532"><label>(5)</label><graphic position="anchor" xlink:href="2-9301580\adb43a4d-da01-4067-8e94-1abbcab73db0.jpg"  xlink:type="simple"/></disp-formula><p>Equation (5) implies that the solution process N(t) obeys a geometric Brownian motion or a lognormal process [<xref ref-type="bibr" rid="scirp.30072-ref11">11</xref>]. And the transition probability distribution of the solution process N(t) is derived as</p><disp-formula id="scirp.30072-formula66533"><label>(6)</label><graphic position="anchor" xlink:href="2-9301580\7d00a96d-99ea-4d7b-98a6-2dfec4cef650.jpg"  xlink:type="simple"/></disp-formula><p>consequently, by the properties (a)-(c) and the assumption that W(t) is a Gaussian process. <img src="2-9301580\0b2776f8-c4e4-45f7-ad02-ca4b1fba45c5.jpg" />in Equation (6) indicates a standard normal distribution defined as</p><disp-formula id="scirp.30072-formula66534"><label>(7)</label><graphic position="anchor" xlink:href="2-9301580\6292b2ec-fc11-47c9-9ca1-8667bb91daaf.jpg"  xlink:type="simple"/></disp-formula><p>By giving an appropriate function b(t) in Equation (5), we can derive several SRGM’s. Yamada et al. [<xref ref-type="bibr" rid="scirp.30072-ref7">7</xref>] and Lee et al. [<xref ref-type="bibr" rid="scirp.30072-ref8">8</xref>] proposed several lognormal process models, in which the fault-detection rates b(t) follow the basic modeling assumptions of the well-known NHPP model, such as the delayed S-shaped [<xref ref-type="bibr" rid="scirp.30072-ref12">12</xref>] and inflection Sshaped [<xref ref-type="bibr" rid="scirp.30072-ref13">13</xref>] SRGMs, based on the modeling framework [<xref ref-type="bibr" rid="scirp.30072-ref6">6</xref>] mentioned in this section</p></sec><sec id="s3"><title>3. Lognormal Process SRGM with Testing-Effort</title><p>We develop a continuous-state space SRGM with the effect of testing-effort factor based on stochastic differential equations which follow the lognormal process. The testing-effort, such as the number of executed test-cases, testing-coverage, and CPU hours, is one of the important factors influencing on the software reliability growth process in an actual testing-phase. Therefore, the testing-effort should be taken into consideration in continuous-state space software reliability growth modeling.</p><sec id="s3_1"><title>3.1. Modeling</title><p>For developing a continuous-state space SRGM with the effect of the testing-effort factor, we characterize b(t) in Equation (5) as follows:</p><disp-formula id="scirp.30072-formula66535"><label>, (8)</label><graphic position="anchor" xlink:href="2-9301580\3fc657e7-8e50-43d1-8536-1e84e52ada77.jpg"  xlink:type="simple"/></disp-formula><p>where r represents the fault-detection rate per expended testing-effort at testing time t and s(t)(<img src="2-9301580\6d2425e3-fc46-42ed-bc03-489e87281f6d.jpg" /> dS(t)/dt) is the amount of the testing-effort expended at arbitrary testing time t. In Equation (8), we assume that the fault-detection rate at testing-time t depends on the instantaneous testing-effort expenditures [<xref ref-type="bibr" rid="scirp.30072-ref9">9</xref>]. That means, the testing-team can detect or remove more software faults when the software development manager decides to expend more testing-effort to detect or remove software fault. Based on the framework of continuous-state space software reliability growth modeling [<xref ref-type="bibr" rid="scirp.30072-ref6">6</xref>], we can obtain the following solution process:</p><disp-formula id="scirp.30072-formula66536"><label>(9)</label><graphic position="anchor" xlink:href="2-9301580\165d4171-32d1-4a7f-8445-1f4c4714de9e.jpg"  xlink:type="simple"/></disp-formula><p>The transition probability distribution function of the solution process in Equation (9) can be derived as</p><disp-formula id="scirp.30072-formula66537"><label>(10)</label><graphic position="anchor" xlink:href="2-9301580\6ccfccb5-7093-4693-9a7b-17957ddbdb3e.jpg"  xlink:type="simple"/></disp-formula><p>We should specify the testing-effort function s(t) in Equation (8) to utilize the solution process <img src="2-9301580\1d75b8e7-528e-4ed8-ba5a-d1c01e8fa916.jpg" /> in Equation (9) as an SRGM.</p></sec><sec id="s3_2"><title>3.2. Testing-Effort Function</title><p>We need to specify a suitable function for the s(t) in Equation (8). In this paper we describe the time-dependent behavior of testing-effort expenditures in the testing-phase by using a Weibull curve function, that is,</p><disp-formula id="scirp.30072-formula66538"><label>(11)</label><graphic position="anchor" xlink:href="2-9301580\3cc4d1c2-fc6e-4736-82d8-0fa5436d5d17.jpg"  xlink:type="simple"/></disp-formula><p>Then, we have</p><disp-formula id="scirp.30072-formula66539"><label>(12)</label><graphic position="anchor" xlink:href="2-9301580\3e66bf27-2c3f-40d8-bad0-3a4ff6595ea4.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="2-9301580\20886845-0423-4919-a7f7-8e95bc224aec.jpg" /> is the total amount of testing-effort expenditures, <img src="2-9301580\f78233b1-f683-4734-a07b-32cffb5aac34.jpg" />the scale parameter, and m the shape parameter characterizing the shape of the testing-effort function. The Weibull curve function has a useful property to describe the time-dependent behavior of the expended testing-effort expenditures in the testing-phase approximately because of its flexibility. For examples, we can obtain the exponential curves when m = 1 in Equations (11) and (12). And when m = 2, we can derive Rayleigh curves. That is, the Weibull curve function is a general type model, which includes the exponential and Rayleigh curve functions.</p></sec></sec><sec id="s4"><title>4. Parameter Estimation</title><p>We discuss estimation methods of unknown parameters of the testing-effort function in Equation (11) and the solution process in Equation (9), respectively. Now we suppose that K data pairs <img src="2-9301580\43d6b301-925c-4b47-a66e-b05146691c23.jpg" /><img src="2-9301580\20f02021-a6ec-44e2-8b39-7102fa138871.jpg" /> with respect to the total number of faults, <img src="2-9301580\8c4777a3-0b3f-47de-91b4-b6b335d2aa54.jpg" />detected during the time-interval <img src="2-9301580\062da649-5239-42bb-a9be-d4495a7462b1.jpg" /> and the amount of testing-effort expenditures, <img src="2-9301580\26d3c1ba-7ef7-49e1-b0af-bb182415e80c.jpg" />, expended at <img src="2-9301580\ae144e9b-0c3b-45b6-b0e2-b5c9eebcc8d9.jpg" /> are observed.</p><sec id="s4_1"><title>4.1. For the Testing-Effort Function</title><p>Regarding a parameter estimation method for the testing-effort function in Equation (11), we use a method of least squares. First we can obtain the following equation by taking the natural logarithm of Equation (11):</p><disp-formula id="scirp.30072-formula66540"><label>(13)</label><graphic position="anchor" xlink:href="2-9301580\61cec470-e6f7-4a15-82d9-85344c1220ed.jpg"  xlink:type="simple"/></disp-formula><p>Then, the sum of the squares of vertical distances from the data points to the estimated values is derived as</p><disp-formula id="scirp.30072-formula66541"><label>(14)</label><graphic position="anchor" xlink:href="2-9301580\c316292c-7ef2-42d3-9ab4-c30d898e3485.jpg"  xlink:type="simple"/></disp-formula><p>by using Equation (13). The estimations <img src="2-9301580\36fd15ca-f9dd-4dfa-a910-3f137b171041.jpg" /> and <img src="2-9301580\8bf3b7dd-3bd1-486b-9900-758ff0ead49b.jpg" /> for the parameters <img src="2-9301580\9c6f40d9-16af-47de-991e-bd9ebddfa729.jpg" /> and <img src="2-9301580\64cbc998-c3ef-4de1-b923-159fe549fcc0.jpg" /> minimizing</p><p><img src="2-9301580\e078a91c-b94d-418c-bc10-4f2fdf4f6831.jpg" />in Equation (14) can be obtained by solving the following simultaneous equations:</p><disp-formula id="scirp.30072-formula66542"><label>(15)</label><graphic position="anchor" xlink:href="2-9301580\2da67d0c-5738-4930-8068-cd0e952fdc00.jpg"  xlink:type="simple"/></disp-formula></sec><sec id="s4_2"><title>4.2. For the Solution Process</title><p>Next we discuss a parameter estimation method for the solution process in Equation (9) by using the method of maximum-likelihood. Let us denote the joint probability distribution function of the process <img src="2-9301580\2c60a14e-1f43-46a5-ba28-9ee6edf84e3d.jpg" /> as</p><disp-formula id="scirp.30072-formula66543"><label>(16)</label><graphic position="anchor" xlink:href="2-9301580\d5223a04-14c1-4fec-a310-b11951a22090.jpg"  xlink:type="simple"/></disp-formula><p>and also denote its density as</p><disp-formula id="scirp.30072-formula66544"><label>(17)</label><graphic position="anchor" xlink:href="2-9301580\7faaac35-d087-4148-9ac7-f2b71d42b3e5.jpg"  xlink:type="simple"/></disp-formula><p>Then, we can derive the likelihood function l for the observed data pairs <img src="2-9301580\a678f082-49c2-493d-a89f-d3ae19441462.jpg" /> as follows:</p><disp-formula id="scirp.30072-formula66545"><label>(18)</label><graphic position="anchor" xlink:href="2-9301580\a4daac34-fa32-4005-bb93-d1009647f050.jpg"  xlink:type="simple"/></disp-formula><p>For convenience in the mathematical manipulations, we use the following logarithmic likelihood function:</p><disp-formula id="scirp.30072-formula66546"><label>(19)</label><graphic position="anchor" xlink:href="2-9301580\3ddae2fc-24f0-4adb-ac17-bdb0fcc2cf57.jpg"  xlink:type="simple"/></disp-formula><p>The likelihood function l in Equation (18) can be written as the following equation by using the Bayes’ formula and a Markov property:</p><disp-formula id="scirp.30072-formula66547"><label>(20)</label><graphic position="anchor" xlink:href="2-9301580\ce7e44d3-7434-442d-8788-f97e5ccb033e.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="2-9301580\c6a1eb9e-918f-48fd-85be-54d1e61f609d.jpg" /> is the conditional probability density under the condition of <img src="2-9301580\a548cc5e-3731-4c1b-b710-ef22e6817220.jpg" /> The transition density <img src="2-9301580\fc1b8388-b8e8-4caf-8857-2513a3b3d229.jpg" />in Equation (20) can be obtained by partially differentiating the following transition probability of <img src="2-9301580\a88da695-0bf2-4be3-8ee3-c048122a73c2.jpg" /> under the condition <img src="2-9301580\22db84db-9a5a-4fba-aabc-47ec6d4b5e07.jpg" /></p><disp-formula id="scirp.30072-formula66548"><label>(21)</label><graphic position="anchor" xlink:href="2-9301580\01086b1a-6e60-425d-a972-e35fd9321e57.jpg"  xlink:type="simple"/></disp-formula><p>with respect to <img src="2-9301580\a4e80ba5-d2b0-455e-85df-244417f0a38f.jpg" /> Consequently, the likelihood function l in Equation (20) can be rewritten as</p><disp-formula id="scirp.30072-formula66549"><label>(22)</label><graphic position="anchor" xlink:href="2-9301580\bbaaa03e-6593-476b-97bd-04f68c44f394.jpg"  xlink:type="simple"/></disp-formula><p>and the logarithmic likelihood function is derived as</p><disp-formula id="scirp.30072-formula66550"><label>(23)</label><graphic position="anchor" xlink:href="2-9301580\ad4dfe4e-4c47-48fc-9ec8-73c02c44d127.jpg"  xlink:type="simple"/></disp-formula><p>Then, we can obtain the maximum likelihood estimations <img src="2-9301580\73dd5652-38ea-4492-909a-ad594cd372ed.jpg" /> and <img src="2-9301580\d6523f82-09a4-4e20-bbe0-16d7d0105c3b.jpg" /> for the parameters <img src="2-9301580\9715d75b-dca2-4557-873d-6710ca828805.jpg" /> and <img src="2-9301580\15e14442-06d6-4fbd-8d3e-ef0f24f98564.jpg" /> in Equation (9) by solving the following simultaneous likelihood equations numerically:</p><disp-formula id="scirp.30072-formula66551"><label>(24)</label><graphic position="anchor" xlink:href="2-9301580\b97db392-ad0f-4b2f-909c-d4e4eb866c53.jpg"  xlink:type="simple"/></disp-formula></sec></sec><sec id="s5"><title>5. Software Reliability Assessment Measures</title><p>We derive several software reliability assessment measures, which are useful for quantitative assessment of software reliability. Especially, we derive instantaneous and cumulative MTBF’s in this paper.</p><sec id="s5_1"><title>5.1. Instantaneous MTBF</title><p>We discuss an instantaneous MTBF (mean time between software failures or fault-detections) which has been used as one of the substitution for the usual MTBF. An instantaneous MTBF is approximately derived by</p><disp-formula id="scirp.30072-formula66552"><label>(25)</label><graphic position="anchor" xlink:href="2-9301580\3a98036c-bbdf-4a91-a0d1-b51747058f07.jpg"  xlink:type="simple"/></disp-formula><p>We need to derive<img src="2-9301580\5d016030-561d-4fb8-bd77-6e729ea0a673.jpg" />, which represents the expected number of faults detected up to arbitrary testing time t, to obtain <img src="2-9301580\5e51b283-2d09-4ed3-a5ac-ab04913f86f1.jpg" /> in Equation (25). By the Wiener process W(t) ~ N(0,t), the expected number of faults detected up to arbitrary testing time t is obtained as</p><disp-formula id="scirp.30072-formula66553"><label>(26)</label><graphic position="anchor" xlink:href="2-9301580\028069af-6394-48b4-88ec-5c380c7f3b18.jpg"  xlink:type="simple"/></disp-formula><p>Since the Wiener process has the independent increment property W(t) and dW(t) are statistically independent with each other, and E[dW(t)] = 0, <img src="2-9301580\f09974e9-c5e9-448a-83a3-02c81f5f95e9.jpg" />in Equation (25) is finally derived as</p><disp-formula id="scirp.30072-formula66554"><label>(27)</label><graphic position="anchor" xlink:href="2-9301580\7f8e14c0-6d65-48f3-914a-57ab2a4fb391.jpg"  xlink:type="simple"/></disp-formula><p>The instantaneous MTBF in Equation (25) can be calculated by substituting Equation (27) into Equation (25).</p></sec><sec id="s5_2"><title>5.2. Cumulative MTBF</title><p>A cumulative MTBF is also the substitution for the usual MTBF. The cumulative MTBF is approximately derived as</p><disp-formula id="scirp.30072-formula66555"><label>(28)</label><graphic position="anchor" xlink:href="2-9301580\3ffa9c28-ce46-41b1-89b0-4bc4f41c7de1.jpg"  xlink:type="simple"/></disp-formula><p>If the instantaneous MTBF in Equation (25) and the cumulative MTBF in Equation (28) take on a large value, respectively, then it enables us to decide that the software system becomes more reliable.</p></sec></sec><sec id="s6"><title>6. Model Comparisons</title><p>We show results of goodness-of-fit comparisons of our model with other continuous-state space SRGMs [6-8], such as exponential, delayed S-shaped, and inflection S-shaped stochastic differential equations, in terms of the mean square errors (MSE) [<xref ref-type="bibr" rid="scirp.30072-ref5">5</xref>] and Akaike’s Information Criterion (AIC) [<xref ref-type="bibr" rid="scirp.30072-ref10">10</xref>]. Regarding the goodness-of-fit comparisons, we use two actual data sets [<xref ref-type="bibr" rid="scirp.30072-ref14">14</xref>] named as DS1 and DS2, respectively. DS1 and DS2 indicate an Sshaped and exponential reliability growth curves, respectively.</p><p>The MSE [<xref ref-type="bibr" rid="scirp.30072-ref5">5</xref>] is obtained by dividing the sum of squared errors between the observed and estimated cumulative numbers of detected faults, <img src="2-9301580\2b1097b0-4f19-43e8-a277-7f1077bac268.jpg" />and <img src="2-9301580\a6256d28-cc3f-40e8-bf09-c9ab2e4bc811.jpg" /> during <img src="2-9301580\e9fd000f-7361-4cdd-820e-cddcaccb2eba.jpg" /> respectively, by the sample number of observed data. Assuming that K data pairs <img src="2-9301580\9238b4f0-536d-453a-819a-7cbe8cf33228.jpg" /> <img src="2-9301580\bb852571-8c1f-4197-a57f-e6f61fa67d7c.jpg" /> are observed, we can formulate the MSE as</p><disp-formula id="scirp.30072-formula66556"><label>(29)</label><graphic position="anchor" xlink:href="2-9301580\780c77cb-0d8a-44a0-b492-2c3b7b5b177c.jpg"  xlink:type="simple"/></disp-formula><p>where <img src="2-9301580\39f1a763-8615-422e-b522-5725db77abaf.jpg" /> denotes the estimated value of the expected cumulative number of faults by arbitrary testing time<img src="2-9301580\57ed40cd-0a32-457d-8e6f-3c82f1e244b0.jpg" /><img src="2-9301580\b41a0742-834c-4d84-a53a-4f959158b4ba.jpg" />. Accordingly, the model which indicates the smallest MSE fits best to the observed data set than other models.</p><p>The AIC [<xref ref-type="bibr" rid="scirp.30072-ref10">10</xref>] is known as a goodness-of-fit evaluation criterion considering the number of model parameter. The AIC is given by</p><disp-formula id="scirp.30072-formula66557"><label>, (30)</label><graphic position="anchor" xlink:href="2-9301580\71ab5342-066c-453b-8447-4fe9aca63d09.jpg"  xlink:type="simple"/></disp-formula><p>We should note that the AIC values themselves are not significant. The absolute value of difference among their values is significant. We can judge that the model indicating the smallest AIC fits best to the actual data set if their differences are greater than or equal to 1. If the differences are less than 1, there are no significant.</p><p><xref ref-type="table" rid="table1">Table 1</xref> shows the results of model comparisons based on the MSE and the AIC, respectively. The model comparisons based on the AIC is not significant only for DS2, however, we can see that our model improves a performance of the MSE and the AIC respectively, compared with other continuous-state space SRGMs discussed in this paper.</p><p><xref ref-type="table" rid="table1">Table 1</xref>. Results of model comparisons.</p><p><img src="2-9301580\ecfb0fe4-4694-47d3-b587-38eafb5d64b3.jpg" /></p><p>(SDE: stochastic differential equation).</p></sec><sec id="s7"><title>7. Numerical Examples</title><p>We show numerical examples by using testing-effort data recorded along with detected fault counting data collected from the actual testing. In this testing, 1301 fault are totally detected and 1846.92 (testing hours) are totally expended as the testing-effort within 35 months [<xref ref-type="bibr" rid="scirp.30072-ref14">14</xref>].</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref> shows the estimated testing-effort function <img src="2-9301580\ce9d120d-04b6-4515-a495-38b2c5d8f4e9.jpg" /> in Equation (11), in which the parameter estimates as<img src="2-9301580\a651349f-a190-4305-880d-1f74a119393c.jpg" />, <img src="2-9301580\6ac8f997-cc39-4127-807f-469f0c9f00ea.jpg" />, and<img src="2-9301580\64e7cb04-4e3f-48d3-b03c-dbc77ec81ff6.jpg" />. As we can see, the actual time-dependent behaviour of the instantaneous testing-effort expenditures is observed on the discrete-time, and is quite oscillatory. Although it is very difficult to describe completely such behaviour by a mathematical model, the Weibull curve function in Equation (11) enables us to describe the time-dependent behaviour approximately and smoothly on the continuous-time function. <xref ref-type="fig" rid="fig2">Figure 2</xref> shows the estimated expected number of detected faults in Equation (26), where the parameter estimates in <img src="2-9301580\94ef8cf8-8f25-4560-b607-b6160df74fc1.jpg" /> are obtained as<img src="2-9301580\e9b667e5-bedd-45bd-87b0-c799ccc1eb12.jpg" />, <img src="2-9301580\fba67f49-14d5-45b6-bb8d-6544d85dfa1b.jpg" />, and<img src="2-9301580\d482f808-4077-4ac7-a22e-bd9df63bce15.jpg" />. Furthermore, <xref ref-type="fig" rid="fig3">Figure 3</xref> shows the time-dependent behavior of the estimated two types of the substitutions of the MTBF, such as instantaneous and cumulative MTBFs in Equations (25) and (28), respectively. We should note that getting larger instantaneous or cumulative MTBF indicates growing the software reliability. From <xref ref-type="fig" rid="fig3">Figure 3</xref>, we can see that the software reliability decreases in the early testing period because the estimated software fault-detection rate is getting larger in the early testing period due to the model structure. And then, the software reliability grows as the testing procedures go on because the fault-detection rate is getting decrease and the residual fault content is also getting decrease. We note that the time-dependent behaviour of the instantaneous and cumulative MTBFs are different each other due to approximation methods. The instantaneous MTBF responds sensitively to the number of software faults detected at testing-time t because the instantaneous MTBF does not</p><p>incorporate information of the past software reliability growth process as shown in Equation (25). We can estimate the instantaneous MTBF at the termination time of the testing, <img src="2-9301580\653cc056-1138-40bb-9816-d806d6faab36.jpg" />, to be about 0.1297 (about 4.5 months), and also, the cumulative MTBF, <img src="2-9301580\a7abc77f-aac2-491c-abab-27090d502fac.jpg" />, to be about 0.0269 (about 0.9 months).</p></sec><sec id="s8"><title>8. Concluding Remarks</title><p>We have discussed a continuous-state space SRGM with the effect of testing-effort by using a mathematical technique of stochastic differential equations and its parameters estimation methods. Then, we have compared performance in software reliability measurement of our model with existing continuous-state space SRGMs in terms of the MSE and the AIC by using actual data, respectively. Finally, we have also shown numerical illustrations for the software reliability assessment measures, such as the instantaneous and cumulative MTBFs.</p><p>We believe that software developing managers can get information on a relationship between the attained software reliability and the testing-effort expenditures by using our software reliability growth model. And our model also enables software development managers to decide how much testing-effort are expended to attain a reliability objective. Further studies are needed to examine the validity of our model for practical applications by using many observed data.</p></sec><sec id="s9"><title>9. Acknowledgements</title><p>The second author is supported in part by the Grant-inAid for Scientific Research (C), Grant No. 22510150, from the Ministry of Education, Culture, Sports, Science and Technology of Japan.</p></sec><sec id="s10"><title>REFERENCES</title></sec></body><back><ref-list><title>References</title><ref id="scirp.30072-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">J. D. Musa, D. Iannio and K. Okumoto, “Software Reliability: Measurement, Prediction, Application,” McGrawHill, New York, 1987.</mixed-citation></ref><ref id="scirp.30072-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">H. Pham, “Software Reliability,” Springer-Verlag, Singapore City, 2000.</mixed-citation></ref><ref id="scirp.30072-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">S. Osaki, “Applied Stochastic System Modeling,” SpringerVerlag, Berlin-Heidelberg, 1992.  
doi:10.1007/978-3- 642-84681-6</mixed-citation></ref><ref id="scirp.30072-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">K. S. Trivedi, “Probability and Statistics with Reliability, Queueing and Computer Science Applications,” John Wiley &amp;  Sons, New York, 2002.</mixed-citation></ref><ref id="scirp.30072-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">S. Yamada, “Software Reliability Models,” In: S. Osaki, Ed., Stochastic Models in Reliability and Maintenance, Springer-Verlag, Berlin-Heidelberg, 2002, pp. 253-280.   
doi:10.1007/978-3-540-24808-8_10</mixed-citation></ref><ref id="scirp.30072-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">S. Yamada, M. Kimura, H. Tanaka and S. Osaki, “Software Reliability Measurement and Assessment with Stochastic Differential Equations,” IEICE Transactions on Fundamentals of Electronics, and Computer Sciences, Vol. E77-A, No. 1, 1994, pp. 109-116.</mixed-citation></ref><ref id="scirp.30072-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">S. Yamada, A. Nishigaki and M. Kimura, “A Stochastic Differential Equation Model for Software Reliability Assessment and Its Goodness-of-Fit,” International Journal of Reliability and Applications, Vol. 4, No. 1, 2003, pp. 1-11.</mixed-citation></ref><ref id="scirp.30072-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">C. H. Lee, Y. T. Kim and D. H. Park, “S-shaped Software Reliability Growth Models Derived from Stochastic Differential Equations,” IIE Transactions, Vol. 36, No. 12, 2004, pp. 1193-1199. doi:10.1080/07408170490507792</mixed-citation></ref><ref id="scirp.30072-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">S. Yamada, H. Ohtera and H. Narihisa, “Software Reliability Growth Models with Testing-Effort,” IEEE Transactions on Reliability, Vol. R-35, No. 1, 1986, pp. 19-23. 
doi:10.1109/TR.1986.4335332</mixed-citation></ref><ref id="scirp.30072-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">H. Akaike, “A New Look at the Statistical Model Identification,” IEEE Transactions on Automatic Control, Vol. AC-19, No. 6, 1974, pp. 716-723.  
doi:10.1109/TAC.1974.1100705</mixed-citation></ref><ref id="scirp.30072-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">B. oksendal, “Stochastic Differential Equations: An Introduction with Applications,” Springer-Verlag, BerlinHeidelberg, 1985.</mixed-citation></ref><ref id="scirp.30072-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">S. Yamada, M. Ohba and S. Osaki, “S-Shaped Software Reliability Growth Models and Their Applications,” IEEE Transactions on Reliability, Vol. R-33, No. 4, 1984, pp. 289-292. doi:10.1109/TR. 1984.5221826</mixed-citation></ref><ref id="scirp.30072-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">M. Ohba, “Inflection S-Shaped Software Reliability Growth Model,” In: S. Osaki and Y. Hatoyama, Eds., Stochastic Models in Reliability Theory, Springer-Verlag, Berlin, 1984, pp. 144-165.  
doi:10.1007/978- 3-642-45587-2_10</mixed-citation></ref><ref id="scirp.30072-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">W. D. Brooks and R. W. Motley, “Analysis of Discrete Software Reliability Models,” Technical Report RADCTR-80-84, Rome Air Development Center, New York, 1974.</mixed-citation></ref></ref-list></back></article>