|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ch.elca.dependency.core.Statistic
Represents all the statistic data which comes fron the initial analyse.
This class acts just as struct with its access methods.
Constructor Summary | |
Statistic()
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
getAnalyzedClasses()
Gets the number of clsses. |
int |
getAnalyzedLibPackages()
Gets the number of library packages which passed the load filter. |
int |
getAnalyzedPackages()
Gets the number of packages. |
double |
getAverageAnalyzedClassesPerPackage()
Gets the average classes per package which passed the load filter. |
double |
getAverageProjClassesPerPackage()
Gets the average classes per package in the whole project. |
java.lang.String |
getBiggestAnalyzedPackage()
Gets the biggest package which passed the load filter. |
java.lang.String |
getBiggestProjPackage()
Gets the biggest package in the project; |
int |
getNumberOfUsesDep()
Gets the number of "uses" dependencies. |
int |
getProjClasses()
Gets the number of classes in the project. |
int |
getProjLibPackages()
Gets the number of library packages in the project. |
int |
getProjPackages()
Gets the number of packages in the project. |
void |
setAnalyzedClasses(int classes)
Sets number of classes. |
void |
setAnalyzedPackages(int packages)
Sets the number of packages. |
void |
setAnalyzedVertices(int vertices)
Sets the number of vertices which passed the load filter. |
void |
setBiggestAnalyzedPackage(java.lang.String bigPackage)
Sets the biggest package which passed the load filter. |
void |
setBiggestProjPackage(java.lang.String bigPackage)
Sets the biggest package in the analyzed project. |
void |
setNumberOfUsesDep(int dep)
Sets the number of "uses" dependencies in the view. |
void |
setProjClasses(int classTotal)
Sets the number of classes in the project. |
void |
setProjPackages(int packageTotal)
Sets the number of packages in the project. |
void |
setProjVertices(int vertices)
Sets the number of vertices in the project. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Statistic()
Method Detail |
public void setProjClasses(int classTotal)
classTotal
- Number of classes in the project.public int getProjClasses()
public void setProjPackages(int packageTotal)
packageTotal
- Number of packages in the project.public int getProjPackages()
public void setProjVertices(int vertices)
vertices
- Number of the vertices in the project.public int getProjLibPackages()
public void setAnalyzedClasses(int classes)
classes
- Number of classes in the analyzed project.public int getAnalyzedClasses()
public void setAnalyzedPackages(int packages)
packages
- Number of packages in the analyzed project.public int getAnalyzedPackages()
public void setAnalyzedVertices(int vertices)
vertices
- Number of the vertices which passed the load filter.public int getAnalyzedLibPackages()
public void setNumberOfUsesDep(int dep)
dep
- Number of dependencies in the analyzed project.public int getNumberOfUsesDep()
public void setBiggestProjPackage(java.lang.String bigPackage)
bigPackage
- Biggest package in the analyzed project.public java.lang.String getBiggestProjPackage()
public void setBiggestAnalyzedPackage(java.lang.String bigPackage)
bigPackage
- Biggest package which passed the load filter.public java.lang.String getBiggestAnalyzedPackage()
public double getAverageProjClassesPerPackage()
public double getAverageAnalyzedClassesPerPackage()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- If the object's class does not support
the Cloneable interface. Subclasses
that override the clone method can
also throw this exception to indicate
that an instance cannot be cloned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |