Hi,
I would like to retrieve the number of lines of code of a file when
importing C code in moose. Here is what I do once the code loaded in moose:
- I inspect a FAMIXFile from the MooseFinder
-> when printing 'self numberOfLinesOfText' , it returns '0'
(while
the corresponding file is not empty). This is my first problem,
- Then, I try to retrieve the object CAImplementation (from CAnalyzer)
correspondind by inspecting 'self entities first' (is it the good way?)
-> when printing 'self numberOfLinesOfText', it returns '-1'
(-> even if I inspect directly a CAImplementation object from the
moose finder, it returns -1)
So is there somethings wrong or is the problem coming from the xml files
generated bu srcml?