# Effective::getAverageEfficiency()

URL: https://chugunov.pro/api-bitrix/tasks/internals/effective/getaverageefficiency/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\Bitrix\Tasks\Internals\Effective`](https://chugunov.pro/api-bitrix/tasks/internals/effective/)
Модуль: Tasks.
Свойства элемента: method, public, static.

## Сигнатура

```php
public static getAverageEfficiency([DateTime|null $dateFrom = null ][, DateTime|null $dateTo = null ][, int $userId = 0 ][, int $groupId = 0 ]) : int
```

## Описание

If at least one of dates is not set, it will try to take the dates from the filter preset user pinned as default.
If filter options were not set in b_user_options for some reason and we still haven't dates,
it will take the default dates from static::getDatesRange().
For now they are borders of current month.

## Параметры

- `$dateFrom` `DateTime|null` — необязательный, по умолчанию `null`
- `$dateTo` `DateTime|null` — необязательный, по умолчанию `null`
- `$userId` `int` — необязательный, по умолчанию `0`
- `$groupId` `int` — необязательный, по умолчанию `0`

## Возвращаемое значение

`int`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Tasks-Internals-Effective.html
