original_string: public function getMissingPlugins()
      {
          $missingPlugins = array();
  
          $plugins = $this->pluginList->getActivatedPlugins();
  
          foreach ($plugins as $pluginName) {
              // if a plugin is listed in the config, but is not loaded, it does not exist in the folder
              if (!$this->isPluginLoaded($pluginName) && !$this->isPluginBogus($pluginName) &&
                  !($this->doesPluginRequireInternetConnection($pluginName) && !SettingsPiwik::isInternetEnabled())) {
                  $missingPlugins[] = $pluginName;
              }
          }
  
          return $missingPlugins;
      }
code: public function getMissingPlugins()
      {
          $missingPlugins = array();
  
          $plugins = $this->pluginList->getActivatedPlugins();
  
          foreach ($plugins as $pluginName) {
              // if a plugin is listed in the config, but is not loaded, it does not exist in the folder
              if (!$this->isPluginLoaded($pluginName) && !$this->isPluginBogus($pluginName) &&
                  !($this->doesPluginRequireInternetConnection($pluginName) && !SettingsPiwik::isInternetEnabled())) {
                  $missingPlugins[] = $pluginName;
              }
          }
  
          return $missingPlugins;
      }
code_tokens: public function getMissingPlugins ( ) { $ missingPlugins = array ( ) ; $ plugins = $ this -> pluginList -> getActivatedPlugins ( ) ; foreach ( $ plugins as $ pluginName ) { // if a plugin is listed in the config, but is not loaded, it does not exist in the folder if ( ! $ this -> isPluginLoaded ( $ pluginName ) && ! $ this -> isPluginBogus ( $ pluginName ) && ! ( $ this -> doesPluginRequireInternetConnection ( $ pluginName ) && ! SettingsPiwik :: isInternetEnabled ( ) ) ) { $ missingPlugins [ ] = $ pluginName ; } } return $ missingPlugins ; }
docstring: Returns names of plugins that should be loaded, but cannot be since their
  files cannot be found.
  
  @return array
  @api
docstring_tokens: Returns names of plugins that should be loaded but cannot be since their files cannot be found .