src/Statistics/ComponentStatistics.php
public function getLinesOfCode() : float
    {
        return $this->classes
            ->map(function ($class) {
                return $class->getFileName();
            })
            ->pipe(function ($classes) {
                return app(Analyser::class)->countFiles($classes->all(), false)['lloc'];
            });
    }
public function getLinesOfCode() : float
    {
        return $this->classes
            ->map(function ($class) {
                return $class->getFileName();
            })
            ->pipe(function ($classes) {
                return app(Analyser::class)->countFiles($classes->all(), false)['lloc'];
            });
    }
public function getLinesOfCode ( ) : float { return $ this -> classes -> map ( function ( $ class ) { return $ class -> getFileName ( ) ; } ) -> pipe ( function ( $ classes ) { return app ( Analyser :: class ) -> countFiles ( $ classes -> all ( ) , false ) [ 'lloc' ] ; } ) ; }
Return the total number of lines of code.

@return float
Return the total number of lines of code .