MCPcopy Create free account
hub / github.com/KDE/labplot / callCount

Method callCount

tests/backend/Retransform/RetransformTest.cpp:2118–2124  ·  view source on GitHub ↗

! * \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 */

Source from the content-addressed store, hash-verified

2116 * \return
2117 */
2118int 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

Callers 10

TestLoadProjectMethod · 0.80
TestLoadProject2Method · 0.80
TestResizeWindowsMethod · 0.80
TestPaddingMethod · 0.80
TestCopyPastePlotMethod · 0.80
TestAddCurveMethod · 0.80
TestImportCSVMethod · 0.80
TestSetScaleMethod · 0.80

Calls 3

retransformCalledMethod · 0.80
containsMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected