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

@return int
Return the total number of lines .