original_string: public function getGeneralInformation()
      {
          Piwik::checkUserHasSuperUserAccess();
          // calculate total size
          $totalSpaceUsed = 0;
          foreach ($this->metadataProvider->getAllTablesStatus() as $status) {
              $totalSpaceUsed += $status['Data_length'] + $status['Index_length'];
          }
  
          $siteTableStatus = $this->metadataProvider->getTableStatus('site');
          $userTableStatus = $this->metadataProvider->getTableStatus('user');
  
          $siteCount = $siteTableStatus['Rows'];
          $userCount = $userTableStatus['Rows'];
  
          return array($siteCount, $userCount, $totalSpaceUsed);
      }
code: public function getGeneralInformation()
      {
          Piwik::checkUserHasSuperUserAccess();
          // calculate total size
          $totalSpaceUsed = 0;
          foreach ($this->metadataProvider->getAllTablesStatus() as $status) {
              $totalSpaceUsed += $status['Data_length'] + $status['Index_length'];
          }
  
          $siteTableStatus = $this->metadataProvider->getTableStatus('site');
          $userTableStatus = $this->metadataProvider->getTableStatus('user');
  
          $siteCount = $siteTableStatus['Rows'];
          $userCount = $userTableStatus['Rows'];
  
          return array($siteCount, $userCount, $totalSpaceUsed);
      }
code_tokens: public function getGeneralInformation ( ) { Piwik :: checkUserHasSuperUserAccess ( ) ; // calculate total size $ totalSpaceUsed = 0 ; foreach ( $ this -> metadataProvider -> getAllTablesStatus ( ) as $ status ) { $ totalSpaceUsed += $ status [ 'Data_length' ] + $ status [ 'Index_length' ] ; } $ siteTableStatus = $ this -> metadataProvider -> getTableStatus ( 'site' ) ; $ userTableStatus = $ this -> metadataProvider -> getTableStatus ( 'user' ) ; $ siteCount = $ siteTableStatus [ 'Rows' ] ; $ userCount = $ userTableStatus [ 'Rows' ] ; return array ( $ siteCount , $ userCount , $ totalSpaceUsed ) ; }
docstring: Gets some general information about this Matomo installation, including the count of
  websites tracked, the count of users and the total space used by the database.
  
  
  @return array Contains the website count, user count and total space used by the database.
docstring_tokens: Gets some general information about this Matomo installation including the count of websites tracked the count of users and the total space used by the database .