original_string: public function hasEnoughTablesToReuseDb($tablesInstalled)
      {
          if (empty($tablesInstalled) || !is_array($tablesInstalled)) {
              return false;
          }
  
          $archiveTables       = ArchiveTableCreator::getTablesArchivesInstalled();
          $baseTablesInstalled = count($tablesInstalled) - count($archiveTables);
          $minimumCountPiwikTables = 12;
  
          return $baseTablesInstalled >= $minimumCountPiwikTables;
      }
code: public function hasEnoughTablesToReuseDb($tablesInstalled)
      {
          if (empty($tablesInstalled) || !is_array($tablesInstalled)) {
              return false;
          }
  
          $archiveTables       = ArchiveTableCreator::getTablesArchivesInstalled();
          $baseTablesInstalled = count($tablesInstalled) - count($archiveTables);
          $minimumCountPiwikTables = 12;
  
          return $baseTablesInstalled >= $minimumCountPiwikTables;
      }
code_tokens: public function hasEnoughTablesToReuseDb ( $ tablesInstalled ) { if ( empty ( $ tablesInstalled ) || ! is_array ( $ tablesInstalled ) ) { return false ; } $ archiveTables = ArchiveTableCreator :: getTablesArchivesInstalled ( ) ; $ baseTablesInstalled = count ( $ tablesInstalled ) - count ( $ archiveTables ) ; $ minimumCountPiwikTables = 12 ; return $ baseTablesInstalled >= $ minimumCountPiwikTables ; }
docstring: should be private but there's a bug in php 5.3.6
docstring_tokens: should be private but there s a bug in php 5 . 3 . 6