I solved the issue.
By chance the class I was analyzing, ZoomControls, from an "External Android
Apps" was an exact copy-paste of an Android library class. That's why I ended up
with duplicates.
Cheers,
RM
On Mar 3, 2012, at 10:43 PM, Roberto Minelli wrote:
The simple project analyzed is this one
http://goo.gl/vAhfO
Without adding the Android SDK sources the MSE is fine. Then I copied the Android SDK in
the source folder of the project (this because I need to extract dependencies between
Android apps and Android SDK). In this way the MSE is wrong. If you're interested in
reproduce my case you can download the Android SDK (from
http://developer.android.com/sdk/index.html) and copy the "android" folder in
the "src" folder of the ZoomerWithKeys project. Then try to generate the mse and
take a look at the 'mZoomIn' attribute, for example.
The classes do not appear twice and they do not appear in different packages, as I said
the project has just one single class ;)
Thanks for your interest,
RM
> Hi,
>
> This is strange. If it is like that, it is a bug. However, I would like to learn more
about the structure of your sources. Could it be that these classes appear twice? Or maybe
that they appear in different packages?
>
> Are these source available?
>
> Cheers,
> Doru
>
>
> On 3 Mar 2012, at 15:38, roberto.minelli(a)usi.ch wrote:
>
>> Dear all,
>>
>> I have a question regarding inFamix and the MSE format.
>>
>> I have an Android project composed by a single class. I need to perform an
analysis on the Invocations. For this reason I need the source code of the library called.
Thus I copied some of the sources of the Android SDK inside the src folder of the project.
When I generate the MSE file of the project I end up having a problem: Each FAMIX entity,
i.e., FAMIX.Attribute, appears twice in the MSE. I have duplicated classes, attributes,
invocations and methods. In this way it's impossible to perform any kind of analysis.
>>
>> As an example, here is a snippet of the obtained MSE:
>>
>> (FAMIX.Attribute (id: 430073)
>> (name 'mZoomIn')
>> (parentType (ref: 368554))
>> (declaredType (ref: 413535))
>> (isPrivate true)
>> (isFinal true)
>> )
>>
>> ...
>>
>> (FAMIX.Attribute (id: 450685)
>> (name 'mZoomIn')
>> (parentType (ref: 450670))
>> (declaredType (ref: 413535))
>> (isPrivate true)
>> (isFinal true)
>> )
>>
>> The 'parentType's 368554 and 450670 are the same, but duplicated as well.
>>
>> Any help is appreciated, thanks in advance.
>>
>> Regards,
>> RM
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch