Author Topic: Views count  (Read 5648 times)

Johan2

  • Active Member
  • ***
  • Posts: 46
Views count
« on: February 29, 2016, 14:22:23 PM »
Is there a way to see immediately how many views you have in the model?

Jean-Baptiste Sarrodie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 647
  • Archi Evangelist and Contributor. Visionary.
    • About me...
Re: Views count
« Reply #1 on: February 29, 2016, 14:33:31 PM »
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! https://www.archimatetool.com/donate

Phil Beauvoir

  • Archi Guy
  • Hero Member
  • *****
  • Posts: 1500
  • Archi Guy
    • Archi
Re: Views count
« Reply #2 on: February 29, 2016, 14:37:11 PM »
Can't think of anything other than a manual count
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

ejess

  • Newbie
  • *
  • Posts: 6
Re: Views count
« Reply #3 on: February 29, 2016, 16:56:17 PM »
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

  • Active Member
  • ***
  • Posts: 46
Re: Views count
« Reply #4 on: March 01, 2016, 10:55:02 AM »
"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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 647
  • Archi Evangelist and Contributor. Visionary.
    • About me...
Re: Views count
« Reply #5 on: March 01, 2016, 11:00:35 AM »
Hi,

@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

* 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! https://www.archimatetool.com/donate

Johan2

  • Active Member
  • ***
  • Posts: 46
Re: Views count
« Reply #6 on: March 04, 2016, 11:25:45 AM »
@Jean-Baptiste:
When can you show us the management summary?

Johan2

  • Active Member
  • ***
  • Posts: 46
Re: Views count
« Reply #7 on: March 24, 2016, 07:09:35 AM »
Got a workaround:

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


Johan2

  • Active Member
  • ***
  • Posts: 46
Re: Views count
« Reply #8 on: March 24, 2016, 07:14:07 AM »
Ps. Can I just count them all, or divide by two, because I these 2 types of HTML files in the Views folder.

Johan2

  • Active Member
  • ***
  • Posts: 46
Re: Views count
« Reply #9 on: March 24, 2016, 07:16:59 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 647
  • Archi Evangelist and Contributor. Visionary.
    • About me...
Re: Views count
« Reply #10 on: March 24, 2016, 19:28:27 PM »
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! https://www.archimatetool.com/donate

ejess

  • Newbie
  • *
  • Posts: 6
Re: Views count
« Reply #11 on: March 29, 2016, 11:33:19 AM »
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
« Last Edit: April 04, 2016, 09:49:37 AM by ejess »

Johan2

  • Active Member
  • ***
  • Posts: 46
Re: Views count
« Reply #12 on: April 04, 2016, 08:04:44 AM »
Thans ejess, need some time to process your info :-)

Patrick Jackson

  • Newbie
  • *
  • Posts: 3
Re: Views count
« Reply #13 on: April 06, 2016, 19:04:21 PM »
I think that a manual count is simplest solution.

Hervé

  • Hero Member
  • *****
  • Posts: 487
Re: Views count
« Reply #14 on: May 23, 2016, 14:49:27 PM »
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é