MCPcopy Create free account
hub / github.com/KDE/kdevelop / count

Method count

kdevplatform/shell/problemstore.cpp:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120int ProblemStore::count(ProblemStoreNode *parent) const
121{
122 Q_D(const ProblemStore);
123
124 if(parent)
125 return parent->count();
126 else
127 return d->m_rootNode->count();
128}
129
130void ProblemStore::clear()
131{

Callers 15

rowCountMethod · 0.45
setPlaceholderTextMethod · 0.45
addProblemMethod · 0.45
ProjectSourcePageMethod · 0.45
gotoPrevNextWindowFunction · 0.45
gotoPrevNextSplitFunction · 0.45
updateActionStatesMethod · 0.45
selectedProjectsMethod · 0.45
openProjectConfigMethod · 0.45
projectCountMethod · 0.45
projectAtMethod · 0.45

Calls

no outgoing calls

Tested by 15

testActivationMethod · 0.36
testDisableBuddiesMethod · 0.36
testDisableAllMethod · 0.36
testsplitViewBuddiesMethod · 0.36
testAddProblemsMethod · 0.36
testClearProblemsMethod · 0.36
testSetProblemsMethod · 0.36
testFindNodeMethod · 0.36
testSeverityMethod · 0.36
testSeveritiesMethod · 0.36