Skip to content
CAI
Software that uses CAICheck a score

mbolli/nfsen-ng

42.5

Weak · 17 November 2026

35.3k

lines of production code

PHP

with JavaScript, TypeScript

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying book

A change to existing behaviour in book — 1 commit, 1 file: “Book JSON-LD: also SoftwareSourceCode, which codeRepository belongs to”. Also in this area: 7 commits (0 fixes) modifying book.

book/theme · low confidence · unverified

10 commits (0 fixes) modifying backend/store

A change to existing behaviour in backend/store — 10 commits, 16 files: “Keep saved filters and query runs in SQLite, and estimate a query before it runs”; “Alerts, Top-N and VictoriaMetrics per capture interval (\#184): rules are checked once per interval with the cooldown in minutes, a threshold set at another interval is pointed out, Top-N coverage counts capture files, and VictoriaMetrics graphs plot rates per second”; “Record alert events in SQLite, with resolved events and one evaluation per interval”; and 7 more (refs \#184, \#178).

backend/store · medium confidence · unverified

10 commits (0 fixes) modifying scripts

A change to existing behaviour in scripts — 10 commits, 5 files: “chore: reorganize root directory”; “feat: add seed scripts for RRD and VictoriaMetrics with port data”; “starbase-vendor: pull no longer crashes after vendoring, and the pixel scan accepts steps() that follow --sb-notch”; and 7 more.

scripts · medium confidence · unverified

13 commits (0 fixes) modifying backend/pages/state

A change to existing behaviour in backend/pages/state — 13 commits, 8 files: “Flows column resizing after the Starbase review (\#185): widths through data-style instead of an inline style element, pointer capture with the width committed on release, Home and End on the edge, aria-valuenow and named headers, forced-colour edges, and the last column's peek growing toward the start”; “Build the shell around the pages: sidebar, theme menu, footer status, phone tab bar”; “Move to php-via release/0.14 at 0cee1c7 (v0.14.0): require Twig directly, use onWorkerStart/onWorkerStop, drop the removed setValue flags and cacheUpdates, and expect php-via to refuse a client write of the wrong type”; and 10 more (refs \#185, \#182).

backend/pages/state · medium confidence · unverified

135 commits (31 fixes) modifying backend/common

A change to existing behaviour in backend/common — 135 commits (31 fixs), 35 files: “dependencies: remove need for mbstring extension”; “Replace Bootstrap with a semantic stylesheet”; “feat: add NSEL/NAT support for statistics and table formatting (\#87)”; and 132 more (refs \#87, \#6, \#163, \#153, \#184, …).

backend/common · medium confidence · unverified

15 commits (1 fix) modifying frontend/js/starbase

A change to existing behaviour in frontend/js/starbase — 15 commits (1 fix), 33 files: “Vendor sb-virtual-scroll from Starbase 7252a02 (v0.5.0-16-g7252a02, nfsen-pin on main 44b7341 with the focus fix), loaded: virtual-scroll@067a26e45045 new, popover@3e49f348fb9d and relative-time@bddc4ee86bf4 unchanged”; “Dress the sources picker as the bar's buttons (Starbase 7560b33: :state(open) and ::part(arrow)), and retake the book's screenshots with it and the date picker”; “Pick the range's start and end in an inline sb-date-picker: one calendar for both days and times, five-minute steps, the display timezone, and the days without stored data struck out”; and 12 more (refs \#177).

frontend/js/starbase · medium confidence · unverified

18 commits (0 fixes) modifying backend/templates/shell

A change to existing behaviour in backend/templates/shell — 18 commits, 8 files: “Let All sources untick every source, so a few can be picked from many (\#176): nothing posts while none is ticked, and closing the menu with none picks all again”; “Pick the range's start and end in an inline sb-date-picker: one calendar for both days and times, five-minute steps, the display timezone, and the days without stored data struck out”; “One logo in the interface's greys: flows fanning out, for the sidebar, the favicon, the home-screen icon and the Unraid app icon”; and 15 more (refs \#176, \#181, \#184, \#177).

backend/templates/shell · medium confidence · unverified

19 commits (2 fixes) modifying backend/templates/partials

A change to existing behaviour in backend/templates/partials — 19 commits (2 fixs), 3 files: “Replace Bootstrap with a semantic stylesheet”; “feat: make the geolocation endpoint configurable via NFSEN\_IPINFO\_URL (\#163)”; “fix(ui): stop the IP-info modal rendering an empty geo section, restyle Netbox”; and 16 more (refs \#163, \#112, \#165, \#166).

backend/templates/partials · medium confidence · unverified

20 commits (1 fix) modifying backend/query

A change to existing behaviour in backend/query — 20 commits (1 fix), 15 files: “Keep saved filters and query runs in SQLite, and estimate a query before it runs”; “Alerts, Top-N and VictoriaMetrics per capture interval (\#184): rules are checked once per interval with the cooldown in minutes, a threshold set at another interval is pointed out, Top-N coverage counts capture files, and VictoriaMetrics graphs plot rates per second”; “refactor(query): move the statistics query out of its action closure”; and 17 more (refs \#184, \#182, \#166).

backend/query · medium confidence · unverified

202 commits (42 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 202 commits (42 fixs), 13 files: “fix: traffic graph last value always 0 (\#154)”; “dependencies: remove need for mbstring extension”; “docs: update README and QUICKSTART for current architecture”; and 197 more (refs \#154, \#163, \#160, \#176, \#153, …).

(repo-wide) · low confidence · unverified

23 commits (1 fix) modifying frontend/css/pages

A change to existing behaviour in frontend/css/pages — 23 commits (1 fix), 7 files: “Flows list (\#185): the header's semibold weight goes on its cells, so the header row resolves the ch column widths in the body rows' font and stays in line with them”; “Alerts, Top-N and VictoriaMetrics per capture interval (\#184): rules are checked once per interval with the cooldown in minutes, a threshold set at another interval is pointed out, Top-N coverage counts capture files, and VictoriaMetrics graphs plot rates per second”; “Flows column resizing after the Starbase review (\#185): widths through data-style instead of an inline style element, pointer capture with the width committed on release, Home and End on the edge, aria-valuenow and named headers, forced-colour edges, and the last column's peek growing toward the start”; and 20 more (refs \#185, \#184, \#178).

frontend/css/pages · medium confidence · unverified

24 commits (3 fixes) modifying backend/settings

A change to existing behaviour in backend/settings — 24 commits (3 fixs), 2 files: “settings: add frontend option to define amount of seconds until next graph reload. default is 60 seconds”; “feat: cap max query time window for Flows and Statistics (\#6)”; “remove: drop unimplemented Akumuli datasource”; and 21 more (refs \#6, \#178, \#112, \#21, \#54, …).

backend/settings · medium confidence · unverified

26 commits (2 fixes) modifying book

A change to existing behaviour in book — 26 commits (2 fixs), 3 files: “Fix what the conversion flattened in the forms and tables”; “Replace Bootstrap with a semantic stylesheet”; “Pick the range's start and end in an inline sb-date-picker: one calendar for both days and times, five-minute steps, the display timezone, and the days without stored data struck out”; and 23 more (refs \#184, \#153, \#152, \#166).

book · medium confidence · unverified

26 commits (6 fixes) modifying deploy

A change to existing behaviour in deploy — 26 commits (6 fixs), 10 files: “feat: cap max query time window for Flows and Statistics (\#6)”; “docker: add image: ghcr.io pull targets to production compose”; “docker: expand OCI descriptions to explain when to use each image”; and 23 more (refs \#6, \#162).

deploy · medium confidence · unverified

33 commits (11 fixes) modifying backend/datasources

A change to existing behaviour in backend/datasources — 33 commits (11 fixs), 5 files: “fix: traffic graph last value always 0 (\#154)”; “Read stored traffic totals and sum protocol series across sources”; “add psr4 autoloading, move namespace”; and 30 more (refs \#154, \#184, \#171, \#21, \#160, …).

backend/datasources · medium confidence · unverified

34 commits (2 fixes) modifying backend/pages

A change to existing behaviour in backend/pages — 34 commits (2 fixs), 16 files: “Alerts, Top-N and VictoriaMetrics per capture interval (\#184): rules are checked once per interval with the cooldown in minutes, a threshold set at another interval is pointed out, Top-N coverage counts capture files, and VictoriaMetrics graphs plot rates per second”; “Name interfaces (\#178): show an SNMP index with its name on Flows, Top Talkers and Overview, learned per source from the names the exporter sends (nfdump's %inam and %onam) or configured with NFSEN\_INTERFACES, which wins”; “Give filtered percent-of-average alert rules their own baseline, and report delivery per channel”; and 31 more (refs \#184, \#178, \#181, \#180, \#177, …).

backend/pages · medium confidence · unverified

36 commits (2 fixes) modifying backend/templates/pages

A change to existing behaviour in backend/templates/pages — 36 commits (2 fixs), 8 files: “Draw the Conversations Sankey and Matrix as Rocket elements”; “Alerts, Top-N and VictoriaMetrics per capture interval (\#184): rules are checked once per interval with the cooldown in minutes, a threshold set at another interval is pointed out, Top-N coverage counts capture files, and VictoriaMetrics graphs plot rates per second”; “Flows column resizing after the Starbase review (\#185): widths through data-style instead of an inline style element, pointer capture with the width committed on release, Home and End on the edge, aria-valuenow and named headers, forced-colour edges, and the last column's peek growing toward the start”; and 33 more (refs \#184, \#185, \#178, \#180, \#177, …).

backend/templates/pages · medium confidence · unverified

4 commits (2 fixes) modifying deploy/systemd

A change to existing behaviour in deploy/systemd — 4 commits (2 fixs), 4 files: “Keep -W after the query options, hide nfdump's worker-limit notice, and default the shipped settings templates to auto processes”; “chore: move systemd/ → deploy/systemd/, update service files + README”; “Integrate the branch: fix the alert toast race, harden the e2e harness, and guard the image against a missing php-via”; and 1 more.

deploy/systemd · medium confidence · unverified

42 commits (8 fixes) modifying mbolli/nfsen-ng

A change to existing behaviour in mbolli/nfsen-ng — 42 commits (8 fixs), 13 files: “Read stored traffic totals and sum protocol series across sources”; “fix(vm): correct last\_update() and date\_boundaries() stale-data lookup”; “Keep saved filters and query runs in SQLite, and estimate a query before it runs”; and 39 more (refs \#184, \#171, \#153, \#166).

mbolli/nfsen-ng · medium confidence · unverified

56 commits (14 fixes) modifying backend/templates

A change to existing behaviour in backend/templates — 56 commits (14 fixs), 1 file: “Replace Bootstrap with a semantic stylesheet”; “style: trim the theme-fix comments”; “fix: use data-on:datastar-fetch syntax for reconnect banner detection”; and 53 more (refs \#151, \#153, \#156, \#184, \#170, …).

backend/templates · medium confidence · unverified

56 commits (23 fixes) modifying backend/processor

A change to existing behaviour in backend/processor — 56 commits (23 fixs), 7 files: “add psr4 autoloading, move namespace”; “fix: act on four rounds of code review”; “fix: parse nfcapd filenames in NFCAPD\_TZ timezone”; and 53 more (refs \#7, \#8, \#157, \#184, \#182, …).

backend/processor · medium confidence · unverified

6 commits (0 fixes) modifying backend/templates/components

A change to existing behaviour in backend/templates/components — 6 commits, 3 files: “Lay the app out as a sidebar shell with hash routing and one template per page”; “Capture interval (\#184): NFSEN\_CAPTURE\_INTERVAL sets the resolution of ranges, live checks, cache keys, filtered bins and the date picker; auto follows the stored RRD step, else the file names”; “Move nfsen-ng onto php-via 0.13 and stop cleanly on shutdown”; and 3 more (refs \#184, \#182).

backend/templates/components · medium confidence · unverified

61 commits (18 fixes) modifying frontend/js/components

A change to existing behaviour in frontend/js/components — 61 commits (18 fixs), 22 files: “Draw the Conversations Sankey and Matrix as Rocket elements”; “feat: timezone-aware date formatting in chart and date-range components”; “Replace Bootstrap with a semantic stylesheet”; and 58 more (refs \#152, \#3, \#181, \#153, \#161, …).

frontend/js/components · medium confidence · unverified

66 commits (15 fixes) modifying backend/actions

A change to existing behaviour in backend/actions — 66 commits (15 fixs), 17 files: “feat: make the geolocation endpoint configurable via NFSEN\_IPINFO\_URL (\#163)”; “Estimate only splittable Top Talkers statistics as split, report the processes a split result came from, and parse only the looked-up keys”; “fix: seed graph\_ports/graph\_sources so the Ports view survives (\#160)”; and 63 more (refs \#163, \#160, \#184, \#155, \#178, …).

backend/actions · medium confidence · unverified

69 commits (18 fixes) modifying backend

A change to existing behaviour in backend — 69 commits (18 fixs), 2 files: “Replace Bootstrap with a semantic stylesheet”; “feat: cap max query time window for Flows and Statistics (\#6)”; “feat(mcp): serve MCP over HTTP on the app's own port”; and 66 more (refs \#6, \#7, \#8, \#151, \#112, …).

backend · medium confidence · unverified

7 commits (1 fix) modifying backend/mcp

A change to existing behaviour in backend/mcp — 7 commits (1 fix), 15 files: “feat(mcp): serve MCP over HTTP on the app's own port”; “fix: act on four rounds of code review”; “feat(mcp): expensive tier behind a guard”; and 4 more (refs \#184).

backend/mcp · medium confidence · unverified

75 commits (6 fixes) modifying frontend/css

A change to existing behaviour in frontend/css — 75 commits (6 fixs), 9 files: “Fix what the conversion flattened in the forms and tables”; “add Ion.RangeSlider to frontend, test a few things”; “Replace Bootstrap with a semantic stylesheet”; and 72 more (refs \#152, \#177, \#165, \#183, \#55, …).

frontend/css · medium confidence · unverified

8 commits (0 fixes) modifying backend/templates/drawer

A change to existing behaviour in backend/templates/drawer — 8 commits, 1 file: “Turn the filter editor into a Rocket element and split its helpers into filter-drawer.js”; “Lay the app out as a sidebar shell with hash routing and one template per page”; “Slide the filter builder in as Starbase's sb-drawer (8fc0d1e): its signals and listeners move to a frame around it, and saved rows keep their names and expressions as text, out of Rocket's rewrite (K1)”; and 5 more.

backend/templates/drawer · medium confidence · unverified

Test coverage

1 commit adding/updating tests in tests/Support/bin; 1 commit adding/updating tests in tests/Support/starbase-walk; 134 commits adding/updating tests in tests/Unit; 14 commits adding/updating tests in tests/Feature; 4 commits adding/updating tests in tests/Support/captures; 5 commits adding/updating tests in tests/Arch; 75 commits adding/updating tests in tests/e2e.

Dependencies

47 commits updating dependencies (4 manifests)

A dependency / build maintenance change in (dependencies) — 47 commits (5 fixs), 4 files: “dependencies: remove need for mbstring extension”; “chore: upgrade pest to 5.x”; “add psr4 autoloading, move namespace”; and 43 more (refs \#151, \#165, \#152).

(dependencies) · high confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 42.5.

Lenses

  • Code Health 29.6
  • Architecture 99.3
  • Maturity 65.3
  • Readiness 37.1
  • Security 62.0
  • Accessibility 64.0
  • Performance 100.0

Changes since last survey

  • 300 commits — 247 feature/other, 53 fixes

By area

  • (root) — 75 commits
  • book/src — 52 commits
  • backend/templates — 31 commits
  • tests/Unit — 27 commits
  • backend/common — 22 commits
  • frontend/js — 20 commits
  • backend/actions — 16 commits
  • tests/e2e — 14 commits
  • frontend/css — 7 commits
  • (repo) — 6 commits
  • backend/app.php — 4 commits
  • book/theme — 4 commits
  • backend/mcp — 3 commits
  • backend/pages — 3 commits
  • backend/query — 3 commits
  • backend/settings — 2 commits
  • patches/rocket — 2 commits
  • tests/Support — 2 commits
  • .github/workflows — 1 commit
  • backend/datasources — 1 commit

Notable commits

  • fix: Check every query-gated button in the router test, and give the Alerts time column a fixed width
  • fix: Document the Flows list: windows from the server, sort and columns per tab and per browser, exports from the server, and php-via from its revival fix branch
  • fix: Document the Rocket migration, the performance work, nfdump 1.7.10, php-via 0.13 and the alert fixes
  • fix: Fix what the conversion flattened in the forms and tables
  • fix: Integrate the branch: fix the alert toast race, harden the e2e harness, and guard the image against a missing php-via
  • fix: Relax K1, K13 and K14 to what the patched bundle fixes, and assert in the heap case that every removed Rocket host is collected
  • fix: Remove the book pages and images the redesign renamed, and fix three small display bugs
  • fix: Take php-via 0.13.0 from Packagist, which has the revival fix the Flows list relies on
  • fix: Take php-via from fix/revive-seed-from-sse, which seeds a context revived by an action without signals from its next SSE connect
  • fix: Vendor sb-virtual-scroll from Starbase 7252a02 (v0.5.0-16-g7252a02, nfsen-pin on main 44b7341 with the focus fix), loaded: virtual-scroll@067a26e45045 new, popover@3e49f348fb9d and relative-time@bddc4ee86bf4 unchanged
  • fix: fix(chart): keep the legend readable after a theme switch
  • fix: fix(e2e): match a view clause, not the whole data-show attribute
  • fix: fix(graphs): act on the UX review of filtered mode
  • fix: fix(graphs): correct gap semantics and the window floor in the filtered series
  • fix: fix(graphs): correct the filtered-graph empty state and report why a build failed
  • fix: fix(graphs): make a graph with dozens of series readable
  • fix: fix(graphs): the Source data toggle never showed which mode was active
  • fix: fix(nfdump): enforce the process limit ourselves, and kill the right query
  • fix: fix(ui): act on the UX review — Investigate's filter height, and three more dead toggles
  • fix: fix(ui): resolve the theme before the first paint, and let 'auto' stay auto
  • …and 280 more

Architecture

  • 0 containers · 1 bounded contexts · 0 dependency edges (baseline)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

mbolli/nfsen-ng was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 903d226a8c97cf4bc007d161fe77d7a5dff2a1b9 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.84+preprod-d645ca9bbedd.