[Uml-devel] [Bug 283744] Gratuitous warning messages on loading project file

Oliver Kellogg okellogg at users.sourceforge.net
Fri Feb 10 21:20:34 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=283744





--- Comment #17 from Oliver Kellogg <okellogg users sourceforge net>  2012-02-10 21:20:34 ---
(In reply to comment #1)
> [...]
> Updated project file. Note how large the file size is, which I don't think is
> reasonable. It's 1.1 MB uncompressed.

About the file size: Doing

$ sed -n 's/^.* <UML:\([A-Za-z]*\).*$/\1/p' Engine.xmi | sort -u

gives following elements:

Abstraction
Association
AssociationEnd
Attribute
BehavioralFeature
Class
Classifier
DataType
Dependency
Enumeration
EnumerationLiteral
GeneralizableElement
Generalization
Interface
Model
ModelElement
Namespace
Operation
Package
Parameter
Stereotype
TemplateParameter

Picking out the interesting ones from that list,

$ for i in Abstraction \
           Association \
           Attribute \
           Class \
           DataType \
           Dependency \
           Enumeration \
           EnumerationLiteral \
           Generalization \
           Interface \
           Operation \
           Package \
           Parameter \
           Stereotype
  do
    echo -n "$i : " && grep " <UML:$i " Engine.xmi | wc -l
  done

gives following numbers:

Abstraction : 1
Association : 133
Attribute : 250
Class : 402
DataType : 294
Dependency : 246
Enumeration : 15
EnumerationLiteral : 108
Generalization : 194
Interface : 1
Operation : 733
Package : 11
Parameter : 799
Stereotype : 29

Do these numbers look okay to you?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list