|
Written by Peter Perhac
|
|
Chained Invocation Weighted Score (CIWS) is a number calculated for each Java source file and it shows how often are methods invoked on the objects returned from other method calls. Well, actually, what this metric shows would need a bit more thinking about and investigating, which I am more than happy to do, and will do in due course.
Chained invocation is closely related to the Law of Demeter, which I talk about in a different article.
Below, you will find a snapshot of the most CIWS-loaded 18 classes from the JDK source and below that an explanation of how the CIWS score is actually computed.
|
|
Last Updated on Thursday, 03 December 2009 00:28 |
|
Read more...
|
|
|
Written by Peter Perhac
|
|
It may appear I have abandoned the idea of devising a product metric of my own, but I am still on the case. I have been exercising my Java skills over the last couple of weeks and now my little hocus-pocus Java application has grown. In this article you can find a drawing of the Metric Calculation pipeline. The application is basically calculates, collates, and exports custom metrics or measures devised during my seach for the new useful metric which I would like to introduce as part of my Master's thesis.
Below is a graphical representation of my application's modus operandi. I have avoided strict UML for I believe the simple ideas are best conveyed in a simple form. I do not expect anyone to pore through a UML diagram. Just follow the arrows in the drawing below...
|
|
Last Updated on Tuesday, 01 December 2009 16:16 |
|
Read more...
|
Topic
Object-Oriented Product Metrics
Key Characteristics
Introduction
“A science is as mature as its measurement tools” Louis Pasteur
The field of OO product metrics is attracting many researchers’ interest, as metrics provide a mechanism for assessing product quality. Measurement is a key element of any engineering process. Many researchers have dedicated much of their time and effort to devising a single comprehensive measure of software complexity. According to Fenton [FEN94], such measure is an “impossible holy grail”. Assuming Fenton was right and that there really isn’t a single comprehensive measure, a number of “independent indicators of the quality of analysis and design models” [PRE05, p.467] could be devised in order to measure various software attributes. There’s a great quantity of software tools for measuring and analysing a variety of product metrics. According to Pressman, “hundreds of metrics have been proposed for computer software, but not all provide practical support to the software engineer” [PRE05, p.469].
|
|
Last Updated on Tuesday, 10 November 2009 17:15 |
|
Read more...
|
|
|
I have found an annotated bibliography of some 541 works in the area of Object-Oriented Metrics.
It's well worth checking out!
|
|
Last Updated on Friday, 06 November 2009 00:11 |
|
Read more...
|
|
|
|
|
|