20.01.2014 Views

thesis - Faculty of Information and Communication Technologies ...

thesis - Faculty of Information and Communication Technologies ...

thesis - Faculty of Information and Communication Technologies ...

SHOW MORE
SHOW LESS

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 />

CBC Try-Catch Block Number <strong>of</strong> try-catch blocks<br />

Count<br />

THC Throw Count Number <strong>of</strong> throw statements<br />

ICC Inner Class Number <strong>of</strong> inner classes (counted recursively)<br />

Count<br />

MCC Method Call Number <strong>of</strong> method calls<br />

Count<br />

MCI Internal Method Number <strong>of</strong> internal method calls (that is, methods<br />

Call Count<br />

defined in the same class)<br />

MCE External Method Number <strong>of</strong> times methods defined outside <strong>of</strong> the<br />

Call Count class are invoked<br />

LVC Local Variable Number <strong>of</strong> local variables defined across all<br />

Count<br />

methods in the class<br />

OOC Instance Of Number <strong>of</strong> times the instance<strong>of</strong> operator is<br />

Check Count used<br />

CAC Check Cast Number <strong>of</strong> times a cast is checked for<br />

Count<br />

TCC Type Construction<br />

Number <strong>of</strong> times a new object is created<br />

Count<br />

CLC Constant Load Number <strong>of</strong> constants loaded from a local variable<br />

Count<br />

PLC Primitive Load Number <strong>of</strong> times a primitive is loaded from a local<br />

Count<br />

variable<br />

PSC Primitive Store Number <strong>of</strong> times a primitive is stored into a local<br />

Count<br />

variable<br />

ALC Array Load Count Number <strong>of</strong> arrays loaded from a local variable<br />

ASC Array Store Count Number <strong>of</strong> arrays stored into a local variable<br />

FLC Field Load Count Number <strong>of</strong> times an object or primitive is loaded<br />

from a field<br />

FSC Field Store Count Number <strong>of</strong> times an object or primitive is stored<br />

into a field<br />

LIC Load Count Total number <strong>of</strong> load operations (is a sum <strong>of</strong> PLC,<br />

ALC, FLC, <strong>and</strong> CLC)<br />

SIC Store Count Number <strong>of</strong> store operations (is a sum <strong>of</strong> PSC,<br />

ASC, <strong>and</strong> FSC)<br />

IOC Increment Operation<br />

Number <strong>of</strong> times the increment operation is used<br />

Count<br />

ZIC Zero Oper<strong>and</strong> Instr.<br />

Count<br />

Number <strong>of</strong> bytecode instructions that have no<br />

oper<strong>and</strong>s<br />

ITC Instruction Number <strong>of</strong> bytecode instructions<br />

Count<br />

NOB Branch Count Number <strong>of</strong> branch instructions (counts all conditional<br />

branches including the cases inside a<br />

switch statement as well as for <strong>and</strong> while loops)<br />

GTC Goto Count Number <strong>of</strong> times a goto instruction is used (this<br />

is generated when the source code contains loop<br />

constructs <strong>and</strong> is generally paired with a branch<br />

instruction)<br />

Table 4.3: Metrics computed by processing method bodies <strong>of</strong> each<br />

class. The mapping between these measures <strong>and</strong> the bytecode is presented<br />

in Appendix C.<br />

80

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!