import BaseScmCalculatorService from "./BaseScmCalculatorService" ; import SonarQubeApiScm from "../SonarQubeApiScm" ; export default class ScmAuthorsCalculatorService extends BaseScmCalculatorService { public calcNumberOfAuthors ( measures ) { const groupByAuthorName = this . groupBy ( measures , ( item ) => { return item . authorName ; } ) ; return groupByAuthorName . size ; } }