XYOracleNetwork/sdk-diviner-nodejs

View on GitHub
src/reports/xyo-query-report-plugin.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function initialize has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public async initialize(delegate: IXyoPluginDelegate): Promise<boolean> {
    const repository = delegate.deps
      .REPORT_REPOSITORY as IXyoQueryReportRepository
    const query = delegate.deps.QUERY as XyoQuery
    const hasher = new XyoSha256()
Severity: Minor
Found in src/reports/xyo-query-report-plugin.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status