meiblorn/ngx-fullpage

View on GitHub

Showing 4 of 4 total issues

Function exports has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (karmaConf) {
const configuration = {
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
Severity: Minor
Found in karma.conf.js - About 1 hr to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    public silentMoveTo(section: string | number, slide?: number) {
    $.fn.fullpage.silentMoveTo(section, slide);
    }
    Severity: Minor
    Found in sources/components/fullpage/mnFullpage.service.ts and 1 other location - About 35 mins to fix
    sources/components/fullpage/mnFullpage.service.ts on lines 55..57

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    public moveTo(section: string | number, slide?: number) {
    $.fn.fullpage.moveTo(section, slide);
    }
    Severity: Minor
    Found in sources/components/fullpage/mnFullpage.service.ts and 1 other location - About 35 mins to fix
    sources/components/fullpage/mnFullpage.service.ts on lines 64..66

    Function ngAfterViewInit has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
    Open

    ngAfterViewInit(): void {
    /**
    * Initialize options object with default (empty)
    * values if it doesn't exist
    */
    Severity: Minor
    Found in sources/components/fullpage/mnFullpage.directive.ts - About 25 mins to fix
    Severity
    Category
    Status
    Source
    Language