Skip to content

Systems ​

A System is Nomain's model of one of your software systems, built from its source code and any documents you attach. Everything in Nomain starts from a System: you open one to explore it, read its business processes, and chat with it.

The Systems dashboard ​

Systems, under Administration in the left sidebar, lists your organization's Systems as cards. Administrators open it there and see every System, with Manage only on the ones they can manage but not use; who may use what is set in System access. Members reach a System they can use through a link, for example from My insights, and pick one when they start a chat. The header shows totals for the Systems listed: systems, business processes, programs and jobs.

You can sort the list by newest, name, lines of code, status or last analyzed, and filter it by status. Nomain remembers your sort, your filter and the Show archived toggle for your next visit.

The Systems page: System cards with their status, description, four headline numbers and business-domain chips.The Systems page: System cards with their status, description, four headline numbers and business-domain chips.

Each card shows:

  • The System's name, and how many sources (repositories) and languages it has.
  • Its status (see System status). A Manage only badge beside it means you can manage the System but not use it.
  • An optional description of what the System covers. A long one shows its first three lines; hover it to read the rest. Without one, the card reads "No description provided for this system yet."
  • Four headline numbers from the latest analysis: Business Processes, Programs, Jobs and Lines of Code.
  • When it was last analyzed. Hover the date for the exact time.
  • Business domains covered, as chips such as Account Management or Reporting & Compliance, so you can see which part of the business the System covers without opening it.

Click a card to open the System.

Archived Systems ​

Archived Systems are hidden from the list by default and left out of the totals. When any exist, turn on Show archived to include them.

System status ​

Every System has a status badge. It updates on its own as analysis runs start and finish, including runs that start automatically.

StatusMeaning
ReadyThe last analysis completed. The System is ready to explore and chat with.
RunningAn analysis is in progress.
QueuedAn analysis is waiting its turn to start.
WaitingA refresh is waiting for the analysis of one or more of its repositories to finish. The line under the System's name says which, for example "Waiting for repository Card Batch".
BehindA repository the System is built from has a newer analysis than the one the System was built from. The line under the System's name says which, with both generations, for example "Behind repository Card Batch (generation 5, built from 4)".
PendingThe System has not been analyzed yet.
FailedThe last analysis did not complete. It can be run again.
DegradedThe last analysis finished, but part of one step's work did not complete. That step can be retried on its own.
CancelledThe last analysis was cancelled before it finished.
ArchivedThe System is retired and read-only.

A Ready System can also show an Alert badge beside its status. It means the last analysis completed but has steps to review in Job History, for example because a few items failed. Hover the badge to read it. The badge is not shown while a newer analysis is running, or on a System that is Degraded or Failed.

The System detail page ​

Opening a System shows its name and, when one is set, its description, then its Summary, a strip of statistics and the Analysis logs tab, which opens with a Sources button. Administrators also get a Document management tab, a System memory tab and an Access tab.

A System detail page: the Summary, the statistics strip, the Sources button with Add source beside it, and the Job History table.A System detail page: the Summary, the statistics strip, the Sources button with Add source beside it, and the Job History table.

The System summary ​

The Summary card describes what the System does, Written by the assistant from the analysis. Show full summary opens the rest. Under Built from, it lists each repository the summary covers and the generation it was written from. Updated since marks a repository with a newer analysis, and Added since a repository added after the summary was written. Until every source has been analyzed, the card reads Nomain writes one once every source has been analysed.

System statistics ​

  • Success Rate, and how it has moved vs last month.
  • Analysis (last 30 days): analysis time per million lines of code, in min/MLoC, so Systems of different sizes compare. Below it are the deterministic and success percentages for those runs and when the Last run was. It shows – until the System has been analyzed. See Analysis insights.
  • Lines of Code.
  • Code Entities: how many parts of your code the System holds, with N connections between them.
  • Unused Code: code that appears to be unused, checked against every repository you have added, with how many repositories the check covered. It counts only the System's repositories that have unused code detection on, says Off for N of M repositories when some have it off, and reads Off when none has it on. See Dead-code detection.

Lines of Code, Code Entities and Unused Code reflect the last analysis. If some figures cannot be refreshed, they keep their earlier values and the step shows an Alert in Job History.

A System's sources ​

The Sources button, above Job History, shows how many sources the System has: 1 Source, 3 Sources, or 0 Sources. Click it to open the list of repositories the System is built from, one row per repository. For an administrator, each row links to the repository's page. Each row shows the generation of the repository the System was built from, marked Behind when the repository has a newer one, or Not built yet. A System with none says No repositories linked to this System yet.

Anyone who can use the System can open the list. Sources are listed by name, in the same order as the repository picker.

Administrators can also:

  • Add a source with Add source, beside the Sources button. Choose a repository from the list, or type in Search repositories to find it. When every repository is already linked, it says All repositories are already linked to this System.
  • Change a source's path filter, or remove the source, with the settings icon (Edit source settings) on that source's row in the list.

A System follows its repositories' auto-analysis, which administrators set on each repository's Settings tab. See Automatic re-analysis.

Job history ​

Under Analysis logs, the Job History table lists each analysis run with its status, run time and queue time, trigger (Automatic or Manual) and progress. You can expand a run to see its steps, filter the list, and export it to CSV. A completed run with a step to review shows an Alert badge on its row. See Running system analysis.

Two meanings of "jobs"

On a System card, Jobs counts the batch jobs (such as JCL jobs) found in your code. In Job History, a job is one step of an analysis run.

Creating, editing and archiving a System ​

Administrator actions

Creating a System, editing its name and description, refreshing it, adding and removing sources, and archiving are available to tenant administrators only. Members can open the detail pages of the Systems they can use and read their job history.

To create a System, click New System on the Systems page, choose one or more repositories, name the System, optionally describe it, choose its Tags and set path filters, and click Create. A new System grants nobody, its creator included, until you grant access on it or give it a tag that already has grants.

The repository picker lists repositories by name, in the same order as the Repositories page. Open it and type in Search repositories to narrow the list by name. No repositories match appears when nothing fits. When you can choose several repositories, the ones you already chose stay chosen while a search hides them. Add source on a System's page lists the repositories not yet linked to it the same way.

Description (optional) takes up to 500 characters, with a counter as you type. Describe what the System does for the business and the business processes it covers, if known. Add context the code cannot show that applies to the whole System, such as who uses or owns it. The description shows on the System's card and page, and is passed to connected tools.

The New System dialog: a chosen repository, the System name, and a description with its character counter.The New System dialog: a chosen repository, the System name, and a description with its character counter.

To edit a System's name or description, click Edit details on its detail page. In the Edit System dialog, change the System name (required, up to 500 characters) or the Description (optional), and click Save. Save is enabled once you have changed something and the name is not blank. The page shows the new name and description straight away, with "System updated."

  • You can add a description to a System that has none, change it, or clear it.
  • The change shows on the System's card and page, and in List Systems for connected tools. A connected tool can take up to about a minute to see it.
  • Renaming a System does not affect its analysis or its chats.
  • Sources are changed from the Sources list, not from this dialog.
  • Edit details is unavailable on an archived System, because archived Systems are read-only.

To archive a System, click Archive on its detail page and confirm. Archiving:

  • Blocks new chats and new analysis for that System.
  • Keeps existing chats readable.
  • Cannot be undone.