Package jdepend.framework

Examples of jdepend.framework.JavaPackage.afferentCoupling()


                    JavaPackage ipkg = (JavaPackage) ipkgs.next();
                    PackageVertex ipv = findPackageVertex( ipkg );

                    ImportEdge ie = new ImportEdge( clz, pkg );
                    addEdge( ie, cv, ipv );
                    setWeight( ie, 200.0 * ipkg.afferentCoupling() + 100.0 );
                }
            }
        }
    }
}
View Full Code Here


        while (i.hasNext()) {
            JavaPackage jPackage = (JavaPackage) i.next();
            getWriter().print(jPackage.getName() + ",");
            getWriter().print(jPackage.getClassCount() + ",");
            getWriter().print(jPackage.getAbstractClassCount() + ",");
            getWriter().print(jPackage.afferentCoupling() + ",");
            getWriter().print(jPackage.efferentCoupling() + ",");
            getWriter().print(toFormattedString(jPackage.abstractness()) + ",");
            getWriter().print(toFormattedString(jPackage.instability()) + ",");
            getWriter().print(toFormattedString(jPackage.distance()) + ",");
            getWriter().println(jPackage.getVolatility());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.