original_string: protected function component_name(string $component): string {
  
          if ($component === 'core' || strpos($component, 'core_')) {
              return get_string('componentcore', 'tool_analytics');
  
          } else {
              return get_string('pluginname', $component);
          }
      }
code: protected function component_name(string $component): string {
  
          if ($component === 'core' || strpos($component, 'core_')) {
              return get_string('componentcore', 'tool_analytics');
  
          } else {
              return get_string('pluginname', $component);
          }
      }
code_tokens: protected function component_name ( string $ component ) : string { if ( $ component === 'core' || strpos ( $ component , 'core_' ) ) { return get_string ( 'componentcore' , 'tool_analytics' ) ; } else { return get_string ( 'pluginname' , $ component ) ; } }
docstring: Return a human readable name for the given frankenstyle component.
  
  @param string $component Frankenstyle component such as 'core', 'core_analytics' or 'mod_workshop'
  @return string Human readable name of the component
docstring_tokens: Return a human readable name for the given frankenstyle component .