datacite/bracco

View on GitHub
app/utils/dfg-mappings.js

Summary

Maintainability
F
5 days
Test Coverage

File dfg-mappings.js has 1929 lines of code (exceeds 250 allowed). Consider refactoring.
Open

const OECD_SCHEME = 'Fields of Science and Technology (FOS)';
const OECD_SCHEME_URI = 'http://www.oecd.org/science/inno/38235147.pdf';
const MAPPING = {
  mappingListVersion: '1.0',
  originalUrl:
Severity: Major
Found in app/utils/dfg-mappings.js - About 5 days to fix

    Detected ES5 method syntax
    Open

    Severity: Minor
    Found in app/utils/dfg-mappings.js by watson

    Newer versions of JavaScript provide a shorthand syntax for functions.

    import Ember from 'ember';
    
    export default Ember.Component.extend({
      click() {
        this.get('onclick')();
      }
    });

    To fix this, run ember watson:methodify.

    There are no issues that match your filters.

    Category
    Status