JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc
General

GUI Reference: Home; Project Tree

The Home page is the home page for the CodeSonar Web GUI.

A Project Tree page displays information about a project tree on the hub.

Both page types include the following.

The main differences between the Home page and Project Tree pages are that the Home page is available to all users (with contents and functionality depending on user permissions), and its table of projects and project trees has a broader set of contents.



Navigating to

Home and Project Tree pages can be reached in any of the following ways.

Home From any page Click the CodeSonar logo in the GUI page header.
By URL http://hub_location/index.html
Project Tree From Home or Project Tree Several navigation options:
  • Click an entry in the project tree outline.
  • Click a project tree entry in the table.
  • Click a project tree name in the breadcrumbs.
From Project or Analysis Click a project tree name in the breadcrumbs.
By URL http://hub_location/projecttree/ptree_id.html

Page Properties

Output formats CSV, JSON, XML (home.xsd)
Visibility Filter Applied Visible Projects
RBAC Permissions Needed Home:
Page Contents/FunctionalityANALYSIS_EXISTS
PROJECT_DELETE
PROJECT_EXISTS
PROJECT_WRITE
PTREE_ADD_CHILD
PTREE_DELETE
PTREE_EXISTS
PTREE_READ
PTREE_WRITE
Project Tree:
Page AccessPTREE_READ
Page Contents/FunctionalityPROJECT_DELETE
PROJECT_EXISTS
PROJECT_WRITE
PTREE_ADD_CHILD
PTREE_DELETE
PTREE_EXISTS
PTREE_WRITE

Home vs Project Tree Page

The Home page and Project Tree pages have very similar contents and functionality, so are documented together. The differences between the two are summarized in the following table.

Home Project Tree page for Project Tree T
URL http://hub_location/index.html http://hub_location/projecttree/ptree_id.html
Where ptree_id is the PTree ID for T.
Available To All users. Users with PTREE_READ permission for T.
Subject Project Tree The hub's root project tree. T
Table Contents Projects and project trees for which:
  • the user has PROJECT_EXISTS or PTREE_EXISTS permission, respectively, and
  • either:
    • the parent project tree is the root project tree, or
    • the parent project tree is some tree for which the user does not have PTREE_EXISTS permission.
Projects and project trees whose parent project tree is T, and for which the user has PROJECT_EXISTS or PTREE_EXISTS permission, respectively.

For example, consider a hub with several project trees and two users. User A has a broad set of permissions that include PTREE_EXISTS permissions for all project trees and PROJECT_EXISTS permissions for all projects. User B has far more restrictive permissions: they only have PTREE_EXISTS permission for one of the project trees, and PROJECT_EXISTS permission for one project from a different project tree. Both users can access the Home page (because all users can always access the Home page), but the displayed items are different. User A can access all Project Tree pages; User B can only access the Project Tree page for one project tree. These differences are summarized in the following table.

User Elements with EXISTS permission
(PTREE_EXISTS/PROJECT_EXISTS)
Contents of Home Page table
(when Visible Projects is set to 'all')
Accessible Project Tree pages
A project tree hierarchy where user has all EXISTS permissions directory icon My Team
directory icon Team X
file icon Project Q
(Home)
root
My Team
Team X
My Subteam
Other Subteam
Subteam Y
Subteam Z
B project tree hierarchy where user only has EXISTS permissions on two leaves directory icon Other Subteam
file icon Project P
(Home)
Other Subteam

Contents and Usage

The following annotated screenshot shows the various parts of the Home and Project Tree pages.

Annotated Screenshot: Home Page project tree explorer project tree outline table of projects and project trees standard header breadcrumbs page heading charts and tables link table of projects and project trees Annotation Import/Export links Remove/Move Projects buttons standard footer

Standard Header

See GUI Reference: Standard Header.

Breadcrumbs

Home; Project Tree for root project tree Home
Project Tree for other project trees Home > [Other_ProjectTree_Ancestors >] PTree_Name
where
  • Home links to the GUI Home page
  • Together with the Home link (corresponding to the root project tree), Other_ProjectTree_Ancestors represents the ancestors of the project tree. Each name links to the corresponding Project Tree page.
  • PTree_Name is the project tree name.

Page Heading

Home Projects
Project Tree
(including root project tree)
PTree_Name : Projects
where PTree_Name is the project tree name

Summary Information Options and Create Functionality

Three sections with further information about the project trees: Project Tree Details, Charts and Tables, Reports.
Two sections for creating new hub elements: Create Project and Create Project Tree.

All are hidden by default.

Project Tree Details Click for general information about the project tree.

screenshot fragment: show logs expansion

Project Tree The project tree name. The root project tree cannot be renamed or deleted, so does not offer edit or remove this launchd group links on this line.
Parent Path The project tree's ancestors, as a /-separated sequence of project tree names with a leading / representing the root project tree.

To move the project tree to a different location in the hub's project tree hierarchy, click edit and enter the path to the parent project tree that you wish to move to. For detailed instructions, see Task: Move a Single Project Tree to a Different Parent Project Tree

The root project tree has no parent and cannot be moved, so the Home page (and Project Tree page for the root project tree) does not include this element.

Description To change the description, click edit and enter a new description. For detailed instructions, see Task: Change a Project Tree Name or Description.
Created  
(Not available on Home page for users without PTREE_READ permission for the root project tree.)
Charts and Tables Click to expand the Charts and Tables section.

screenshot fragment: show logs expansion

The section contains links to various summary information about the projects on the hub:
Reports Click to expand the Reports section.

screenshot fragment: show Reports expansion

See GUI Reference: Management Reports for full details.
Create Project Use this link to create a new, empty CodeSonar project as a child of the current project tree. For detailed instructions, see Task: Create a New, Empty Project.
(Not available on Home page for users without PTREE_READ permission for the root project tree.)
Create Project Tree Use this link to create a new, empty CodeSonar project tree as a child of the current project tree. For detailed instructions, see Task: Create a New, Empty Project Tree.
This is the only location that provides functionality for creating a new project tree.
(Not available on Home page for users without PTREE_READ permission for the root project tree.)

Table of Projects and Project Trees

A table describing the projects and project trees that are children of the current project tree.
On the Home page, the table also includes projects and project trees whose parent project tree is some tree for which the user does not have PTREE_EXISTS permission.

Annotation Import/Export Links

An Export link is always available on the Home page. If warning group sharing is ON, an Import link is also available. See Importing and Exporting Annotations for full details.

Remove Projects button

Click to delete one or more of the projects or project trees in the table from the hub. See Task: Delete Multiple Projects or Project Trees (or both) for detailed instructions.

Move Projects button

Click to move one or more of the projects or project trees to a different parent project tree. See Task: Move Multiple Projects or Project Trees (or both) for detailed instructions.

Standard Footer

See GUI Reference: Standard Footer.

Project Tree Outline

The Project Tree Outline provides an overview of the hub's project tree hierarchy for orientation and navigation.

In its collapsed state, the Project Tree Outline is indicated by a shaded bar at the left of the Home page and all Project Tree pages. It is expanded by default if it has contents other than the root project tree.

screenshot fragment: clicking shaded bar to expand Project Tree Explorer.

The outline includes all project trees on the hub for which the user has PTREE_EXISTS permission, along with all ancestors of such trees (regardless of the ancestor permissions). The trees and subtrees are always ordered so that the project tree path to the current project tree is at the top of the display, and the current project tree is highlighted.

Expanding, Resizing, and Collapsing

expanding To expand the Project Tree Outline from its collapsed state, click the shaded bar.
resizing To resize, drag on the right edge of the Project Tree Outline.
collapsing To collapse it from its expanded state, drag the right edge to narrow the Project Tree Outline until the shaded bar reappears.

Example

For example, consider a hub with several project trees and two users. User A has a broad set of permissions that include PTREE_EXISTS permissions for all project trees, while User B has far more restrictive permissions and only has PTREE_EXISTS permission for one of the project trees. The two users are presented with different Project Tree Outline contents, as shown in the following table.

User Elements with EXISTS permission
(PTREE_EXISTS/PROJECT_EXISTS)
Project Tree Outline Contents
(fully expanded)
A project tree hierarchy where user has all EXISTS permissions

corresponding project tree outline contents where user has all EXISTS permissions

The user has PTREE_EXISTS permissions for all project trees, so the entire hierarchy is displayed.

B project tree hierarchy where user only has EXISTS permissions on two leaves

corresponding project tree outline contents where user only has EXISTS permissions on two leaves

The user has PTREE_EXISTS permission for the project tree named "Other Subteam", so that project tree and all its ancestors are displayed. The user has no other PTREE_EXISTS permissions, so no other project trees are included.

Navigating from

view more information about a project Locate the desired project in the table and click anywhere in that line.
  • With the default hub configuration, this will navigate to the Analysis page for the most recent analysis of the project.
  • The hub can also be configured so that this navigates to the Project page for the project.
view more information about a project tree Locate the desired project tree in the table and click anywhere in that line.
view a summary table or chart for the hub Expand the Charts and Tables section, then select the desired chart or table link.
view the undefined functions report for the hub Expand the Charts and Tables section, then select table link next to undefined functions.

Related Tasks

Other Related Links

 

To report problems with this documentation, please visit https://support.codesecure.com/.