Views count

Started by Johan2, February 29, 2016, 14:22:23 PM

Previous topic - Next topic

Johan2

Is there a way to see immediately how many views you have in the model?

Jean-Baptiste Sarrodie

Hi,

Ah, good question. To my knowledge: No. The only ways I see are through either a report or some tricks involving exporting the model in a specific format.

@Phil: any magic or trick to do it quickly ?

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Phil Beauvoir

Can't think of anything other than a manual count
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

ejess

Hi,

I've made some xsl to generate such analysis based on the standard opengroup xml export. (Number of views, nb of objects, how many views use each object...)
I will share it ASAP.

Johan2

"a manual count"

What is that .... "manual"?  ;)

@Ejess: looking forward to see your solution.
@Phil: would be a great new feature if Archi could have a one page Management Summary with for example the following information:

* Date started
* Date last update
* Author
* Number of views
* Number of objects
* Number of relations
* Balance percentages between Business, Application and Technology objects.
* Top 10 types of objects used
Etc.

Jean-Baptiste Sarrodie

Hi,

Quote from: Johan2 on March 01, 2016, 10:55:02 AM
@Phil: would be a great new feature if Archi could have a one page Management Summary with for example the following information:

* Date started
* Date last update
* Author

These are currently not in Archi model file, but

Quote from: Johan2 on March 01, 2016, 10:55:02 AM
* Number of views
* Number of objects
* Number of relations
* Balance percentages between Business, Application and Technology objects.
* Top 10 types of objects used

the other can easily be generated using a (jasper) report. I'll see if I have some time to create one...

@Phil: that could also be easily done using OSCAR ;-)

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Johan2

@Jean-Baptiste:
When can you show us the management summary?

Johan2

Got a workaround:

Make a report of the model, and count the number of HTML files in the Views folder :)


Johan2

Ps. Can I just count them all, or divide by two, because I these 2 types of HTML files in the Views folder.

Johan2

Did a manual count, and manual total is the same as total of all views in folder.
Correct way to use this?

Jean-Baptiste Sarrodie

Hi,

Yes, that's a good workaround: there is one HTML file (and one image) generated per view, so counting number of HTML files is ok (no need to divide by 2).

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

ejess

#11
Hi,

as promised, here is some insight of what I get from computing "open exchange" xml file with dedicated xsl

Attached are some xsl files with the following outputs:

1) My - Summary - Model.xsl
Number of Objects
186 View(s) ; 3766 Element(s) ; 7100 Relationship(s)

Motivation Layer
137 Assessment(s) ; 8 Constraint(s) ; 11 Driver(s) ; 12 Goal(s) ; 10 Principle(s) ; 41 Requirement(s) ; 3 Stakeholder(s)
...
Relationships
1042 Access(es) ; 1457 Composition(s) ; 361 Flow(s) ; 1596 Aggregation(s) ; 861 Assignment(s) ; 0 Influence(s) ; 690 Association(s) ; 654 Realisation(s) ; 112 Specialisation(s) ; 78 Triggering(s) ; 249 UsedBy(s)

List of Properties used


Folder Structure with nb of items
[Tree]

[/i]2) My - Summary - Views.xsl
this one has table layout

Number of object per view : Name   Nb of Elements in View   Nb of Connections in View
Number of view per object : Name   Nb of occurence in views

3) i use other xsl to et a global view of each element
with folder, documentation, properties, relations, list of all views where elements are shown

4) i also use some others for consistency check that are also useful for "mass updates" (with csv. import)
List of elements with no Property
Elements per Property
Potential duplicate relationships
Elements not used in a view



NB : How to use it? refer to the Blog post first, (from which i made a lot of reuse) :)
either add the following line in the header of the xml then open in your web browser or excel or...
<?xml-stylesheet type="text/xsl" href="My.xsl"?>

or use the attached html file that will prompt you to select the xml file (as it is generated by Archi) and xsl


hope it will help

Johan2

Thans ejess, need some time to process your info :-)

Patrick Jackson

I think that a manual count is simplest solution.

Hervé

Hi,

You may use my database import/export plugin that shows up the statistics you require (please see attached screenshot).

If you're interested, I can easily extract the statistics section of my plugin into a separate one ...

Best regards
Hervé