Taking the issue for code quality improvement of the system as a reference, focusing on addressing code smells, we performed code refactoring for the code smell ExcessiveMethodLength using the Extract Class as refactoring method in the following classes:
StockDataUpdater
YahooFinance
CrumbManager
HistDividendsRequest
HistQuotes2Request
QuoteRequest
HistSplitRequest
HistQuotesRequest
HistQuotesQuery2V8Request
StockQuotesData
QuotesRequest
StockQuotesQuery1v7Request
BigDecimal
CalendarUtil
PrimitiveTypesConvertUtils
Code Analysis
After performing the necessary refactoring, we ran PMD once again following the same directives indicated in the issue and found the following results (indicating that we were able to address the aforementioned code smells):]
Resolution of Issue #218
Taking the issue for code quality improvement of the system as a reference, focusing on addressing code smells, we performed code refactoring for the code smell ExcessiveMethodLength using the Extract Class as refactoring method in the following classes:
Code Analysis
After performing the necessary refactoring, we ran PMD once again following the same directives indicated in the issue and found the following results (indicating that we were able to address the aforementioned code smells):]
Notion