Package Package.Packages

Examples of Package.Packages.Packages


    }
   
    @Test
    public void totalNumberPackagesSRC() throws FileNotFoundException, IOException{
        File folder = new File("src");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 18);
    }
View Full Code Here


    }
   
    @Test
    public void NumberPackagesClass() throws FileNotFoundException, IOException{
        File folder = new File("src/Class");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 3);
    }
View Full Code Here

    }
   
    @Test
    public void NumberPackagesMethods() throws FileNotFoundException, IOException{
        File folder = new File("src/Methods");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 9);
    }
View Full Code Here

    }
   
    @Test
    public void totalNumberPackagesTest() throws FileNotFoundException, IOException{
        File folder = new File("test");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 12);
    }
View Full Code Here

        FilesFolders numfiles = new FilesFolders(folder);

        Classes numclasses = new Classes(readerfile);

        Packages packages = new Packages(new File("src"));

        ArrayList<String> arrayfiles = numfiles.getArrayListFiles();

        for (String path : arrayfiles) {
View Full Code Here

    }
   
    @Test
    public void totalNumberPackagesSRC() throws FileNotFoundException, IOException{
        File folder = new File("src");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 18);
    }
View Full Code Here

    }
   
    @Test
    public void NumberPackagesClass() throws FileNotFoundException, IOException{
        File folder = new File("src/Class");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 2);
    }
View Full Code Here

    }
   
    @Test
    public void NumberPackagesMethods() throws FileNotFoundException, IOException{
        File folder = new File("src/Methods");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 9);
    }
View Full Code Here

    }
   
    @Test
    public void totalNumberPackagesTest() throws FileNotFoundException, IOException{
        File folder = new File("test");
        Packages numPackages = new Packages(folder);
        assertEquals(numPackages.getCount(), 10);
    }
View Full Code Here

        return metricdefinition;
    }

    private Metric[] initializeMetricsPackage(ReaderFile reader, AfferenceCoupling afference) throws IOException {
        Metric metrics[] = {new Lines(reader), new LinesEffectives(reader), new Classes(reader), new EfferenceCoupling(reader),
            afference,  new Packages(packages), new FilesFolders(packages)};
        return metrics;
    }
View Full Code Here

TOP

Related Classes of Package.Packages.Packages

Copyright © 2018 www.massapicom. 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.