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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix C<br />

Mapping between Metrics <strong>and</strong><br />

Java Bytecode<br />

Table C.1 shows the list <strong>of</strong> metrics where the the Java Virtual Machine<br />

opcodes are used to compute the value.<br />

Abbv. Name Opcodes Used<br />

THC Throw Count ATHROW<br />

MCC Method Call Count INVOKEINTERFACE, INVOICESPECIAL,<br />

INVOICESTATIC, INVOICEVIRTUAL<br />

OOC Instance Of Check Count INSTANCEOF<br />

CAC Check Cast Count CHECKCAST<br />

TCC Type Construction Count NEW, NEWARRAY, MULTINEWARRAY<br />

CLC Constant Load Count LDC<br />

PLC Primitive Load Count ILOAD, FLOAD, DLOAD<br />

PSC Primitive Store Count ISTORE, FLOAD, DSTORE<br />

ALC Array Load Count AALOAD, BALOAD, CALOAD, DALOAD,<br />

FALOAD, IALOAD, SALOAD, LALOAD<br />

ASC Array Store Count AASTORE, BASTORE, CASTORE, DASTORE,<br />

FASTORE, IASTORE, SASTORE, LASTORE<br />

FLC Field Load Count GETFIELD, GETSTATIC<br />

FSC Field Store Count PUTFIELD, PUTSTATIC<br />

IOC Increment Operation IINC<br />

Count<br />

NOB Branch Count GOTO, GOTO_W, ATHROW<br />

GTC Goto Count GOTO, GOTO_W<br />

Table C.1: Metrics are computed by processing opcodes inside method<br />

bodies <strong>of</strong> each class.<br />

201

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

Saved successfully!

Ooh no, something went wrong!