Package Methods.Lines

Examples of Methods.Lines.LinesEffectives


    }
   
    @Test
    public void NumberLinesEffectives() throws FileNotFoundException, IOException{
        ReaderFile reader = new ReaderFile("src/Class/Classes.java");
        LinesEffectives numlineseffectives = new LinesEffectives(reader);
        assertEquals(numlineseffectives.getCount(), 61);
    }
View Full Code Here


            System.out.println("-------" + path + "-------");

            reader = new ReaderFile(path);

            LinesEffectives lineseffectives = new LinesEffectives(reader);

            Methods numMethods = new Methods(reader);

            if (numMethods.getCount() > 0) {
                medialinesmethods = new MediaLinesMethods(reader);
            }
           
           
            MediaSizeFiles mediasize = new MediaSizeFiles(folder);

            System.out.println("Numero de ficheros .java en el directorio: " + numfiles.getCount());

            System.out.println("Numero de paquetes efectivos del directorio: " + packages.getCount());

            System.out.println("Numero de clases del fichero: " + numclasses.getCount());
     
            System.out.println("Tamaño total de ficheros del directorio en (bytes): " + mediasize.getSizeTotalFolder() + " bytes");
           
            System.out.println("Tamaño Medio de ficheros del directorio en (bytes): " + mediasize.getCount());

            System.out.println("Numero de lineas: " + reader.getNumLinesFile());

            totalLines += reader.getNumLinesFile();

            System.out.println("Numero de lineas efectivas: " + lineseffectives.getCount());

            totalEffectives += lineseffectives.getCount();

            System.out.println("Numero de lineas totales: " + totalLines);

            System.out.println("Numero total de lineas efectivas: " + totalEffectives);
View Full Code Here

            Metric composite = new Composite();

            Metric clases = new Classes(readerfile);
            Metric methods = new Methods(readerfile);
            Metric lineseffectives = new LinesEffectives(readerfile);
            Metric lines = new Lines(readerfile);
            atributes = new Attribute(readerfile);
            Metric construct = new Construct(readerfile);
            Metric parameters = new Parameter(readerfile);
            parameters.getArrayInfo(readerfile);
View Full Code Here

    }
   
    @Test
    public void NumberLinesEffectives() throws FileNotFoundException, IOException{
        ReaderFile reader = new ReaderFile("src/Class/Classes.java");
        LinesEffectives numlineseffectives = new LinesEffectives(reader);
        assertEquals(numlineseffectives.getCount(), 61);
    }
View Full Code Here

            System.out.println("-------" + path + "-------");

            reader = new ReaderFile(path);

            LinesEffectives lineseffectives = new LinesEffectives(reader);

            Methods numMethods = new Methods(reader);

            if (numMethods.getCount() > 0) {
                medialinesmethods = new MediaLinesMethods(reader);
            }
           
           
            MediaSizeFiles mediasize = new MediaSizeFiles(folder);

            System.out.println("Numero de ficheros .java en el directorio: " + numfiles.getCount());

            System.out.println("Numero de paquetes efectivos del directorio: " + packages.getCount());

            System.out.println("Numero de clases del fichero: " + numclasses.getCount());
     
            System.out.println("Tamaño total de ficheros del directorio en (bytes): " + mediasize.getSizeTotalFolder() + " bytes");
           
            System.out.println("Tamaño Medio de ficheros del directorio en (bytes): " + mediasize.getCount());

            System.out.println("Numero de lineas: " + reader.getNumLinesFile());

            totalLines += reader.getNumLinesFile();

            System.out.println("Numero de lineas efectivas: " + lineseffectives.getCount());

            totalEffectives += lineseffectives.getCount();

            System.out.println("Numero de lineas totales: " + totalLines);

            System.out.println("Numero total de lineas efectivas: " + totalEffectives);
View Full Code Here

            Metric composite = new Composite();

            Metric clases = new Classes(readerfile);
            Metric methods = new Methods(readerfile);
            Metric lineseffectives = new LinesEffectives(readerfile);
            Metric lines = new Lines(readerfile);
            atributes = new Attribute(readerfile);
            Metric construct = new Construct(readerfile);
            Metric parameters = new Parameter(readerfile);
            parameters.getArrayInfo(readerfile);
View Full Code Here

            DataStoreDefinition.AFFERENT_COUPLING.getName(), DataStoreDefinition.PACKAGES.getName(), DataStoreDefinition.FILESFOLDERS.getName()};
        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

            DataStoreDefinition.METHODS.getName(), DataStoreDefinition.EFFERENT_COUPLING_LIBRARY.getName(), DataStoreDefinition.AFFERENT_COUPLING.getName()};
        return metricdefinition;
    }
   
    private Metric[] initializeMetricsClass(ReaderFile reader, AfferenceCoupling afference) throws IOException {
        Metric metrics[] = {new Lines(reader), new LinesEffectives(reader), new Construct(reader), new Classes(reader),
            new Attribute(reader), new Methods(reader), new EfferenceCoupling(reader), afference };
        return metrics;
    }
View Full Code Here

TOP

Related Classes of Methods.Lines.LinesEffectives

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.