thesis - Faculty of Information and Communication Technologies ...
thesis - Faculty of Information and Communication Technologies ...
thesis - Faculty of Information and Communication Technologies ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 4. Measuring Evolving S<strong>of</strong>tware<br />
Abbv. Name Description<br />
ODC Out Degree Count Number <strong>of</strong> classes that this class depends<br />
upon. Metric is defined by<br />
l out (n) <strong>and</strong> the values are within the<br />
interval [0, |K|).<br />
IDC In Degree Count Number <strong>of</strong> classes that depend on<br />
this class. Metric is defined by l in (n)<br />
<strong>and</strong> the values are within the interval<br />
[0, |N|).<br />
EDC External Out Degree<br />
Count<br />
Number <strong>of</strong> classes that this class<br />
classes depends upon, but belong in<br />
external libraries. Metric is defined<br />
by lout e (n) <strong>and</strong> the values are within<br />
the interval [0, |K|).<br />
TDC Internal Out Degree<br />
Count<br />
Number <strong>of</strong> classes that depend on<br />
this class <strong>and</strong> are part <strong>of</strong> the core<br />
s<strong>of</strong>tware system. Metric is defined by<br />
lout i (n) <strong>and</strong> the values are within the<br />
interval [0, |N|).<br />
Table 4.5: Dependency metrics computed for each class.<br />
l out (n) = |{(n, n j ) ∧ n j ∈ K ∧ n ̸= n j }| (4.5.2)<br />
The In-Degree Count is a measure <strong>of</strong> the “popularity" <strong>of</strong> node n in the<br />
graph G T whereas the Out-Degree Count is node n’s “usage" <strong>of</strong> other<br />
types in the graph G T [223].<br />
We further refine the notions <strong>of</strong> in-degree <strong>and</strong> out-degree in the context<br />
<strong>of</strong> our analysis by considering dependencies to classes in external<br />
libraries. These external dependencies give rise to a refinement <strong>of</strong> the<br />
measures in-degree <strong>and</strong> out-degree in which we also distinguish between<br />
intra- <strong>and</strong> inter-system links. A given link to or from a node n<br />
may or may not cross the boundary <strong>of</strong> the containing core system, depending<br />
on some organizational, structural, <strong>and</strong>/or functional features.<br />
If an outbound link from node n ends in a node n int that occurs within<br />
the boundary <strong>of</strong> the system under analysis, then we call this link an<br />
internal outbound link. On the other h<strong>and</strong>, if an outbound link ends<br />
in a node n ext that lies outside <strong>of</strong> the system’s boundary, then we call<br />
85