Examples of calculeNumberOfPullRequest()


Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

           
            Long pairFileNumberOfPullrequestOfPairFuture;
            if (futurePullRequest.containsKey(pairFile)) {
                pairFileNumberOfPullrequestOfPairFuture = futurePullRequest.get(pairFile);
            } else {
                pairFileNumberOfPullrequestOfPairFuture = pairFileDAO
                    .calculeNumberOfPullRequest(repository,
                            pairFile.getFileName(), pairFile.getFileName2(),
                            futureBeginNumber, futureEndNumber, true);
                futurePullRequest.put(pairFile, pairFileNumberOfPullrequestOfPairFuture);
            }
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

            efficiencyAvg = efficiencySum / (double) distinctCommentersCount;
            effectiveSizeAvg = effectiveSizeSum / (double) distinctCommentersCount;
            constraintAvg = constraintSum / (double) distinctCommentersCount;
            hierarchyAvg = hierarchySum / (double) distinctCommentersCount;

            Long updates = pairFileDAO.calculeNumberOfPullRequest(repository,
                    fileFile.getFileName(), fileFile.getFileName2(),
                    beginNumber, endNumber, true);

            Long futureUpdates = pairFileDAO.calculeNumberOfPullRequest(repository,
                    fileFile.getFileName(), fileFile.getFileName2(),
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

            Long updates = pairFileDAO.calculeNumberOfPullRequest(repository,
                    fileFile.getFileName(), fileFile.getFileName2(),
                    beginNumber, endNumber, true);

            Long futureUpdates = pairFileDAO.calculeNumberOfPullRequest(repository,
                    fileFile.getFileName(), fileFile.getFileName2(),
                    futureBeginNumber, futureEndNumber, true);

            Long commentsSum = pairFileDAO.calculeComments(repository,
                    fileFile.getFileName(), fileFile.getFileName2(),
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

                continue;
            }
           
            PairFileDAO pairFileDAO = new PairFileDAO(dao);
           
            Long pairFileNumberOfPullrequestOfPairFuture = pairFileDAO
                    .calculeNumberOfPullRequest(repository,
                            pairFile.getFileName(), pairFile.getFileName2(),
                            futureBeginDate, futureEndDate, true);
            Long numberOfAllPullrequestFuture = pairFileDAO
                    .calculeNumberOfPullRequest(repository,
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

           
            Long pairFileNumberOfPullrequestOfPairFuture = pairFileDAO
                    .calculeNumberOfPullRequest(repository,
                            pairFile.getFileName(), pairFile.getFileName2(),
                            futureBeginDate, futureEndDate, true);
            Long numberOfAllPullrequestFuture = pairFileDAO
                    .calculeNumberOfPullRequest(repository,
                            null, null, futureBeginDate, futureEndDate, true);
           
            Double supportPairFile = numberOfAllPullrequestFuture == 0 ? 0d :
                    pairFileNumberOfPullrequestOfPairFuture.doubleValue() /
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

        Map<AuxFileFile, DirectedSparseGraph<String, String>> pairFileNetwork = new HashMap<>();
       
        int countIgnored = 0;
        FileDAO fileDAO = new FileDAO(dao);
        PairFileDAO pairFileDAO = new PairFileDAO(dao);
        Long pullRequestsSize = pairFileDAO
                .calculeNumberOfPullRequest(repository,
                        null, null, futureBeginDate, futureEndDate, true);
       
        System.out.println("Number of all pull requests: " + pullRequestsSize);
       
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

         Map<String, Double> eigenvector = EigenvectorCalculator.calcule(graph, edgesWeigth);
        Map<String, EgoMeasure<String>> ego = EgoMeasureCalculator.calcule(graph, edgesWeigth);
        Map<String, StructuralHolesMeasure<String>> structuralHoles = StructuralHolesCalculator.calcule(graph, edgesWeigth);

        // number of pull requests in date interval
        Long numberOfAllPullrequestFuture = pairFileDAO.calculeNumberOfPullRequest(getRepository(), null, null, futureBeginDate, futureEndDate, true);
        // cache for optimization number of pull requests where file is in,
        // reducing access to database
        Map<String, Long> pullRequestFileMap = new HashMap<>();
        // cache for optimization file code churn (add, del, change),
        // reducing access to database
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

            ownershipAvg = (double) ownershipSum / (double) committers;

//            double majorContributorsRate = (double) majorContributors / (double) committers; // % de major
//            double minorContributorsRate = (double) minorContributors / (double) committers; // % de minor

            Long updates = pairFileDAO.calculeNumberOfPullRequest(repository,
                    fileFile.getFileName(), fileFile.getFileName2(),
                    beginDate, endDate, true);

            Long futureUpdates;
            if (beginDate.equals(futureBeginDate) && endDate.equals(futureEndDate)) {
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

            Long futureUpdates;
            if (beginDate.equals(futureBeginDate) && endDate.equals(futureEndDate)) {
                futureUpdates = updates;
            } else {
                futureUpdates = pairFileDAO.calculeNumberOfPullRequest(repository,
                        fileFile.getFileName(), fileFile.getFileName2(),
                        futureBeginDate, futureEndDate, true);
            }

            // list all issues and its comments
View Full Code Here

Examples of br.edu.utfpr.cm.JGitMinerWeb.dao.PairFileDAO.calculeNumberOfPullRequest()

        Map<AuxFileFile, DirectedSparseMultigraph<String, String>> pairFileNetwork = new HashMap<>();
       
        int countIgnored = 0;
       
        PairFileDAO pairFileDAO = new PairFileDAO(dao);
        Long numberOfAllPullrequestFuture = pairFileDAO
                .calculeNumberOfPullRequest(repository,
                        null, null, futureBeginDate, futureEndDate, true);
       
        System.out.println("Number of all future pull requests: " + numberOfAllPullrequestFuture);
       
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.