Insight WorkflowsATLASAutomations Health Score
Saved copy of the Lotus Behavioral Atlas Automations Health Score · snapshot 2026-11-02, scoring version 3 (leaves out no tables) · works offline
Lotus Behavioral

Atlas Automations Health Score

Most tables are small and clean, but — tables graded D hold — of the live code. — scores — and is fed by — other tables, so it is the place to start.

Health score, weighted by code size
— / 100
Simple average across tables: —
Live script code
—
lines in — enabled scripts
Functions that are never called
—
lines inside live scripts
Disabled scripts
—
lines across — scripts
Repeated lookups
—
same record loaded again in one script
Copied functions that have drifted
—
of — functions copied into 2+ scripts

Since the last snapshot

Compares this snapshot with the one before it, within one scoring version.

Measure Previous This snapshot Change

Health score over time

Each Insight Workflows Atlas health check after a snapshot adds a point. Scores compare only within one scoring version.

Scores by table

Sorted by review priority: points lost × size × how many other tables feed it. Click a row to map it below.

Dependency map

Left: tables whose scripts load or create records in the selected table. Right: tables the selected table's scripts load or create. Dot color is each table's grade.

creates records loads only
Selected table
—
—

Where it loses points

Quick wins

Low-risk cleanups that cut code without changing behavior. Confirm each one in TrackVia before removing anything.

Functions never called

Defined in a live script, with no call to them anywhere in that script.

FunctionScriptTableLines

Copies that have drifted

Same function name in several scripts, with different code in each copy.

FunctionScriptsVersionsTables

Lookups loaded more than once

A record fetched by a typed-in name, again, in the same script. Load it once into a variable.

Looked upExtra loadsScripts

Id declarations out of form

Field and table ids should be written int name = 1234;. These lines are not, for example a missing or doubled ;.

LineOut of placeScriptLine no.Table

How the score works

Each table starts at 100 and loses points for what its enabled scripts contain. This is read from the code in the 2026-11-02 snapshot, not from running it, so it measures how hard the code is to maintain and how much it asks TrackVia to load, not run time.

  • Script size, up to 25: biggest live script over 300, 700, 1,500 or 3,000 logic lines. Blank lines, comments and field or table id declarations (int bsp = 1001;) are not counted.
  • Long function, up to 10: longest function over 100, 200 or 400 logic lines, counted the same way.
  • Repeated lookups, up to 20: 2 per record loaded again by the same typed-in name in one script.
  • Unused code, up to 15: commented-out code plus never-called functions, as a share of live lines.
  • Disabled scripts, up to 10: 1 per 100 lines kept in disabled scripts.
  • Copied functions, up to 15: 3 per copy that differs from its twins. Identical copies are free, since scripts cannot share a function.
  • Hand-built JSON, up to 5: strings that build JSON by hand instead of groovy.json.JsonBuilder.
  • Id declarations, up to 5: half a point per field or table id not written exactly int name = 1234;: a missing or extra ;, long, def or final, odd spacing, or two on one line.

Grades: A 85+, B 70–84, C 55–69, D below 55. Queries inside loops were also checked and none were found. No tables are left out of the score. Copied functions are counted across live scripts only. Insight Workflows Atlas computes everything on this page.

Home