Meego Wiki
Views

AgileBrowser/FullUserGuide/HowTos

From MeeGo wiki
Jump to: navigation, search

Contents

Show API Users How To

  • Reset dependency level to 0.
  • To first locate the API, type API name into search field and press enter.
  • If nothing is shown but only sf element, raise Detail level (under Content Rules).
  • Right click the API element and select External Users View

Show Dependencies How To

  • Reset dependency level to 0.
  • Type component name into search field and press enter.
  • Next you need to use Search Tree to focus on the correct component by double clicking it.
  • When the component becoms visible, tight click it and select Externally Used Dependencies View

Check Cycles (Bad Design/Architecture) How To

  • Go to some domain, area, package, component etc. which has some elements and dependencies in it.
  • Select Propose Dependency Changes in Current View from Tools menu.
  • The visual graph is translated into acyclic so that red edges highlight the edges that have been modified in order to remove cycles.
  • Use F5 to return to normal view and do it again to see what changes.

Export Package Attributes How To

  • Depending on the metric, you may need to propagate (see separate how to) it first (if the data is not associated to the elements that you need to study).
  • Reset dependency level to 0 to make usage quicker.
  • Next you need to use search field (the text field at the top) to determine the scope of the export.
    • Example: If interested only on app layer packages, type /sf/app as query and then pressing ENTER. Increase detail level if packages are not visible. Elements that are not visible will be excluded from the export.
  • Select Export Wizard from File menu, and then select Export Elements.
  • In Exporting dialog, enable Include attributes. You may want also use Include full element id
    • Enable Exclude parent nodes if not interested on higher level elements (/sf, /sf/app, etc.) information.
  • Use a spreadsheet application for the generated .csv file to study exported attributes.

Export API Usage Counts How To

  • Use search field to type query @type=interface. This will take time and after a while, every interface should be visible.
    • You may alse want to concentrate only on public interfaces by using query @type=interface AND @category=public
  • Select Export Wizard from File menu, and then select Export Elements.
  • In Exporting dialog, enable Include attributes and Include full element id.
  • Use a spreadsheet application for the generated .csv file to study user_count values of APIs.

Propagate How To

  • If there is some numeric values at the model leaf nodes (e.g. source code files, headers, interface elements and binary elements), that can be calculated to the higher levels by using Propagate features under Tools menu / Transform.
  • For propagating incoming dependency counts for packages, select Propagate Total Of Attribute" and choose user_count from the attribute list (that contains only numeric attributes).
  • For propagating license information (this is just an imaginatory example, license info is not available in SF models) for packages, select Propagate Unique List of Values" and then choose license.

Visualize Packages with Heat Map Coloring

  • First you may need to propagate some attributes.
  • Select the suitable attribute from Coloring field in Attribute Highlighting section (right side panel).
  • For numeric values, green color is used to represent low and minimum values, red for maximum and high, while yellow represents the average.
  • For more informative picture, you may need to add numeric values to the picture (especially if exporting the view outside)
    • This is done from Tools menu / Preferences / Nodes / Node Attributes
Personal tools