original_string: public function detect_plugin_component($zipfilepath) {
  
          $workdir = make_request_directory();
          $versionphp = $this->extract_versionphp_file($zipfilepath, $workdir);
  
          if (empty($versionphp)) {
              return false;
          }
  
          return $this->detect_plugin_component_from_versionphp(file_get_contents($workdir.'/'.$versionphp));
      }
code: public function detect_plugin_component($zipfilepath) {
  
          $workdir = make_request_directory();
          $versionphp = $this->extract_versionphp_file($zipfilepath, $workdir);
  
          if (empty($versionphp)) {
              return false;
          }
  
          return $this->detect_plugin_component_from_versionphp(file_get_contents($workdir.'/'.$versionphp));
      }
code_tokens: public function detect_plugin_component ( $ zipfilepath ) { $ workdir = make_request_directory ( ) ; $ versionphp = $ this -> extract_versionphp_file ( $ zipfilepath , $ workdir ) ; if ( empty ( $ versionphp ) ) { return false ; } return $ this -> detect_plugin_component_from_versionphp ( file_get_contents ( $ workdir . '/' . $ versionphp ) ) ; }
docstring: Detect the given plugin's component name
  
  Only plugins that declare valid $plugin->component value in the version.php
  are supported.
  
  @param string $zipfilepath full path to the saved ZIP file
  @return string|bool declared component name or false if unable to detect
docstring_tokens: Detect the given plugin s component name