original_string: public function getProcessors()
      {
          $processors = [];
          foreach ($this->data['actions'] as $action) {
              if (isset($action['processors'])) {
                  foreach ($action['processors'] as $processor) {
                      $id = $processor['id'];
                      $time = isset($processor['time'])
                          ? $processor['time']
                          : 0;
                      if (isset($processors[$id])) {
                          $processors[$id]['count'] += 1;
                          $processors[$id]['time'] += $time;
                      } else {
                          $processors[$id] = ['id' => $id, 'count' => 1, 'time' => $time];
                      }
                  }
              }
          }
  
          return array_values($processors);
      }
code: public function getProcessors()
      {
          $processors = [];
          foreach ($this->data['actions'] as $action) {
              if (isset($action['processors'])) {
                  foreach ($action['processors'] as $processor) {
                      $id = $processor['id'];
                      $time = isset($processor['time'])
                          ? $processor['time']
                          : 0;
                      if (isset($processors[$id])) {
                          $processors[$id]['count'] += 1;
                          $processors[$id]['time'] += $time;
                      } else {
                          $processors[$id] = ['id' => $id, 'count' => 1, 'time' => $time];
                      }
                  }
              }
          }
  
          return array_values($processors);
      }
code_tokens: public function getProcessors ( ) { $ processors = [ ] ; foreach ( $ this -> data [ 'actions' ] as $ action ) { if ( isset ( $ action [ 'processors' ] ) ) { foreach ( $ action [ 'processors' ] as $ processor ) { $ id = $ processor [ 'id' ] ; $ time = isset ( $ processor [ 'time' ] ) ? $ processor [ 'time' ] : 0 ; if ( isset ( $ processors [ $ id ] ) ) { $ processors [ $ id ] [ 'count' ] += 1 ; $ processors [ $ id ] [ 'time' ] += $ time ; } else { $ processors [ $ id ] = [ 'id' => $ id , 'count' => 1 , 'time' => $ time ] ; } } } } return array_values ( $ processors ) ; }
docstring: Gets executed processors.
  
  @return array
docstring_tokens: Gets executed processors .