| Summary: | Proposal for a new Facet on kdm.source : lines of code computing | ||
|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Fabien Giquel <fabien.giquel> |
| Component: | Infrastructure | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gdupe, hugo.bruneliere, modisco.web-inbox, nicolas.bros |
| Version: | 0.9.0 | Flags: | nicolas.bros:
indigo+
fabien.giquel: review+ |
| Target Milestone: | 0.9.0 M1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 317733 | ||
| Bug Blocks: | |||
| Attachments: | |||
|
Description
Fabien Giquel
Created attachment 173393 [details]
MoDisco Plug-in with Facet and Queries to count lines in KDM InventoryItems
Created attachment 173522 [details]
MoDisco Plug-in with Facet and Queries to count lines in KDM InventoryItems (v2)
I had forgotten to internationalize the Manifest. I fixed it and a few other things in this new zip.
Thanks for this contribution. It works fine on files (sourcefile, configuration). But there is missing the count on InventoryContainer. Created attachment 173626 [details]
MoDisco Plug-in with Facet and Queries to count lines in KDM InventoryItems (v3)
Here is a new version, which computes counts recursively on InventoryContainers.
I also factorized the code and added a singleton cache to avoid parsing the same file several times.
I have committed this plug-in in https://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.modisco/examples/trunk/org.eclipse.gmt.modisco.infra.facet.examples.kdm (revision 2669) Contribution integrated. |