Fwd: MovingCursor + Ranges, Features

Milian Wolff mail at milianw.de
Sat Apr 24 17:32:48 UTC 2010


On Saturday 24 April 2010 16:00:09 Milian Wolff wrote:
> On Saturday 24 April 2010 12:16:54 Christoph Cullmann wrote:
> > Christoph Cullmann wrote:
> <snip>
> 
> > Btw., Milian :P You wanted to send me used API list :P
> 
> sorry, got distracted yesterday. I'm now running the coverage on
> kdevplatform + kdevelop. Will send you later today, when I'm back home.
> 
> Bye
> 
> PS: Attaching the coverage queries, in case anybody else wants to run them.
> You'll need Bertjan's KDevCppTools plugin [1] and then e.g.:
> 
> kdevcppquery-cli -d kte_smart_queries.pd -p kdevplatform/ &>
> kdevplatform.ktesmart.coverage.txt
> kdevcppquery-cli -d kte_smart_queries.pd -p kdevelop/ &>
> kdevelop.ktesmart.coverage.txt
> 
> The binary can be found in the build dir (it's not getting installed).
> 
> [1]:
> http://gitorious.org/kdevcpptools/kdevcpptools/commits/new_query_engine

Attached you find the full log of my coverage analysis. The important aspect 
is:

KDevplatform:

1       void useRevision (int)
1       void setClearOnDocumentReload (bool)
1       void releaseRevision (int)
1       void deleteChildRanges ()
1       void clearRevision ()
1       const KTextEditor::SmartCursor& smartEnd ()
1       class SmartCursorWatcher
1       bool isSmartRange ()
1       bool advance (int, KTextEditor::SmartCursor::AdvanceMode)
1       SmartRangeWatcher ()
1       QStringList text (bool)
1       KTextEditor::SmartRange::InsertBehaviors insertBehavior ()
1       KTextEditor::SmartRange* mostSpecificRange (const KTextEditor::Range&)
1       KTextEditor::SmartRange* deepestRangeContaining (const 
KTextEditor::Cursor&, QStack< KTextEditor::SmartRange* >*, QStack< 
KTextEditor::SmartRange* >*)
1       KTextEditor::SmartRange* childAfter (const KTextEditor::SmartRange*)
1       KTextEditor::SmartCursor* newSmartCursor (const KTextEditor::Cursor&, 
KTextEditor::SmartCursor::InsertBehavior)
1       KTextEditor::SmartCursor& smartEnd ()
2       void setRange (const KTextEditor::Range&)
2       int depth ()
2       int currentRevision ()
2       const QList< KTextEditor::SmartRangeWatcher* >& watchers ()
2       KTextEditor::SmartRange* newSmartRange (const KTextEditor::Cursor&, 
const KTextEditor::Cursor&, KTextEditor::SmartRange*, 
KTextEditor::SmartRange::InsertBehaviors)
2       KTextEditor::Range translateFromRevision (const KTextEditor::Range&, 
KTextEditor::SmartRange::InsertBehaviors)
2       KTextEditor::Document* document ()
3       void setWatcher (KTextEditor::SmartCursorWatcher*)
3       void addHighlightToDocument (KTextEditor::SmartRange*, bool)
3       KTextEditor::SmartRange* newSmartRange (const KTextEditor::Range&, 
KTextEditor::SmartRange*, KTextEditor::SmartRange::InsertBehaviors)
4       void setParentRange (KTextEditor::SmartRange*)
4       const QList< KTextEditor::SmartRange* >& childRanges ()
5       KTextEditor::SmartRange* toSmartRange ()
5       KTextEditor::Attribute::Ptr attribute ()
7       class SmartRangeWatcher
7       class SmartCursor
8       void setAttribute (KTextEditor::Attribute::Ptr)
10      KTextEditor::SmartRange* parentRange ()
11      void addWatcher (KTextEditor::SmartRangeWatcher*)
13      void removeWatcher (KTextEditor::SmartRangeWatcher*)
18      QMutex* smartMutex ()
49      class SmartInterface
130     class SmartRange

KDevelop:
1       class SmartInterface
1       QMutex* smartMutex ()
4       QStringList text (bool)
10      class SmartRange

Bye

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop.ktesmart.coverage.txt.zip
Type: application/zip
Size: 118073 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100424/bbec9a6e/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevplatform.ktesmart.coverage.txt.zip
Type: application/zip
Size: 257448 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100424/bbec9a6e/attachment-0001.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100424/bbec9a6e/attachment.sig>


More information about the KDevelop-devel mailing list