packages/deep-microservice-analysis/src/datasource/neo4j-store.js
Function _addSentiment
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async _addSentiment(economicEntity, utcDateTime, data) {
if (!validEconomicEntities([economicEntity])) {
throw new Error(
`Invalid economic entity received:\n${JSON.stringify(economicEntity)}`
);
Function readMostRecentSentiment
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async readMostRecentSentiment(economicEntity) {
if (!validEconomicEntities([economicEntity])) {
throw new Error(
`Invalid economic entity received:\n${JSON.stringify(economicEntity)}`
);
Function readSentiments
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async readSentiments(economicEntity, startDate, endDate) {
if (!validEconomicEntities([economicEntity])) {
throw new Error(
`Invalid economic entity received:\n${JSON.stringify(economicEntity)}`
);