Design Analyzer

1
2
/*
* Need to specify classpath
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

1 Response

Assignment:

Use Java Reflection to measure these within a Package.

instability(A)
responsibility(A)
inDepth(A)
workLoad(A)

1.

Instability(A) is define as the provider of A or some class that class A uses divided by the total instability of the entire package.

2.

Responsibility(A) is define as the clients of A or classes that uses class A divided by the total clients of the package.

3.

inDepth(A) is compute the hierarchy of inheritance of A

4.

workLoad(A) is the number of methods class A has divided by the total of number of methods the entire package has.

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.