! * \brief RetransformCallCounter::callCount * Returns the call count of a specific element defined by \p path * \param path The path of the element element->path() * \return */
| 2116 | * \return |
| 2117 | */ |
| 2118 | int RetransformCallCounter::callCount(const QString& path) { |
| 2119 | const auto& result = statistic(false); |
| 2120 | if (!result.contains(path)) |
| 2121 | return 0; |
| 2122 | |
| 2123 | return result.value(path); |
| 2124 | } |
| 2125 | |
| 2126 | /*! |
| 2127 | * \brief RetransformCallCounter::callCount |
no test coverage detected