# Admin Panel → Problems → Summary → Data health ## What it is **Data WeKan should never have written, found by a read-only scan.** "Broken cards" counts cards whose board, list or swimlane id is *empty*. It does not see a card whose list exists but belongs to another board, and nothing looked at what hangs under a card. Data health is a scan of 31 checks over boards, lists, swimlanes, cards, checklists, comments, attachments, custom fields and accounts, with a Repair button where the repair is safe. On one production instance (32,612 boards, 115,326 lists, 1.1 million cards) a scan like this one found 706 cards on a list of another board - shown nowhere - 842 card numbers used twice, 2,335 checklist items of deleted checklists and 110 custom field values of fields not on the card's board. Each of those turned out to be a bug that was still happening. ## Read more - [Referential integrity](https://en.wikipedia.org/wiki/Referential_integrity) and [Data integrity](https://en.wikipedia.org/wiki/Data_integrity) on Wikipedia - what the checks look for. - WeKan: [Summary](Summary.md) (where it is shown), [Broken Cards](Broken-Cards.md), [Repairs.md](Repairs.md) and [Migrations.md](Migrations.md) (the startup steps some repairs reuse). ## How to use it **To run a scan now:** 1. Open your member menu (your avatar at the top right) and click **Admin Panel**. 2. Click the **Problems** tab at the top; it opens on **Summary**. 3. Under **Data health**, click **Start**. **Last Run** shows when the last scan finished and how many checks found something. **To repair what it found:** 1. On Summary, find the row titled "Data health: ..." under **Problems**. It gives the count, what it means, what to do and up to three example ids. 2. If the row has a **Repair** button, click it. - A **safe** repair runs at once. - A **confirm** repair deletes data that is shown nowhere: the button changes to **Confirm**, and only a second click runs it. 3. While it runs the button says **Repairing…**; then it says how many it fixed, and a new scan starts in the background. ## How the numbers are calculated - **Count** of a row: how many documents that check found (one per card, list, checklist item, ...), counted while streaming; up to **3 example ids** are kept (`EXAMPLES` in [models/lib/dataHealth.js](../../../../models/lib/dataHealth.js)). - **Last Run**: `