tsantalis / RefactoringMiner

MIT License
372 stars 138 forks source link

Timeout Exception portfolio-performance/portfolio 6700f4a #642

Open victorgveloso opened 9 months ago

victorgveloso commented 9 months ago

https://github.com/portfolio-performance/portfolio/commit/6700f4a29726c14d22df91a8f3d2e500b0e12e27 timed out

92213069 [main] ERROR b.u.d.l.r.o.AnalyzeProjectsHandler - Error analyzing commit 6700f4a29726c14d22df91a8f3d2e500b0e12e27
java.util.concurrent.TimeoutException: null
    at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
    at org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl.detect(GitHistoryRefactoringMinerImpl.java:762)
    at org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl.detectAll(GitHistoryRefactoringMinerImpl.java:808)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.lambda$analyzeProject$0(AnalyzeAllCommits.java:61)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.TaskWithProjectLock.extractProjectPath(TaskWithProjectLock.java:49)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.analyzeProject(AnalyzeAllCommits.java:52)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.doTask(AnalyzeAllCommits.java:45)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.TaskWithProjectLock.doTask(TaskWithProjectLock.java:75)
    at br.ufmg.dcc.labsoft.refactoringanalyzer.operations.AnalyzeAllCommits.main(AnalyzeAllCommits.java:27)
tsantalis commented 9 months ago

Finished in 1 hour and 26 minutes. The code has very long builder chains.

Rename Method public testDividende07WithSecurityInEUR() : void renamed to public testWertpapierKaufMitSteuerbehandlung15WithSecurityInEUR() : void in class name.abuchen.portfolio.datatransfer.pdf.comdirect.ComdirectPDFExtractorTest Rename Method public testDividende09WithSecurityInEUR() : void renamed to public testWertpapierKaufMitSteuerbehandlung05WithSecurityInEUR() : void in class name.abuchen.portfolio.datatransfer.pdf.comdirect.ComdirectPDFExtractorTest Change Attribute Type data : Object to data : Map<String,Object> in class name.abuchen.portfolio.datatransfer.Extractor.Item Rename Method private addTaxTreatmentForDividendeTransaction() : void renamed to private addTaxesTreatmentTransaction() : void in class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Inline Method private addTaxReturnBlock(type DocumentType) : void inlined to private addBuySellTransaction() : void in class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : BuySellEntry to portfolioTransaction : BuySellEntry in method private addBuySellTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addDividendeTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable block : Block to firstRelevantLine : Block in method private addDividendeTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable t : AccountTransaction to accountTransaction : AccountTransaction in method private addSellWithNegativeAmountTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable block : Block to firstRelevantLine : Block in method private addSellWithNegativeAmountTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addDepositoryFeeTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable block : Block to firstRelevantLine : Block in method private addDepositoryFeeTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Extract Variable line : String in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable ForeignCurrencyAccount : boolean to foreignCurrencyAccount : boolean in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable pBaseCurrency : Pattern to pCurrency : Pattern in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addFinancialReport() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Inline Variable i : Item in method public postProcessing(items List) : List from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable iterator : Iterator to iter : Iterator in method public postProcessing(items List) : List from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor Rename Variable entry : AccountTransaction to accountTransaction : AccountTransaction in method private addTaxesTreatmentTransaction() : void from class name.abuchen.portfolio.datatransfer.pdf.ComdirectPDFExtractor

tsantalis commented 4 months ago

name.abuchen.portfolio.tests/src/name/abuchen/portfolio/datatransfer/pdf/comdirect/ComdirectPDFExtractorTest.java takes a very long time to be processed.