htoprs — Port Report
Description: htoprs port report — C-to-Rust coverage of the htop 3.5.1 port, per file and overall, derived from source at generation time.

## >_PORT COVERAGE

C-to-Rust coverage of the htop 3.5.1 port, derived from the C source at `/Users/wizard/forkedRepos/htop` and the Rust port under `src/ported/` at generation time. "Ported" = a `pub fn` whose name matches a function defined in the htop C source.

778
Fns ported
133
Fns stubbed
1101
C fns defined
70.66%
Coverage
118
Files started

## ~PER-FILE

C file | ported | stubbed | defined | coverage
--- | --- | --- | --- | ---
`Action.c` | 52 | 5 | 57 | 91%
`Affinity.c` | 7 | 0 | 7 | 100%
`AffinityPanel.c` | 4 | 9 | 13 | 31%
`AvailableColumnsPanel.c` | 8 | 1 | 9 | 89%
`AvailableMetersPanel.c` | 6 | 2 | 8 | 75%
`BacktraceScreen.c` | 17 | 0 | 17 | 100%
`BatteryMeter.c` | 1 | 0 | 1 | 100%
`CPUMeter.c` | 18 | 0 | 18 | 100%
`CRT.c` | 16 | 1 | 19 | 84%
`CategoriesPanel.c` | 7 | 2 | 9 | 78%
`ColorsPanel.c` | 3 | 0 | 3 | 100%
`ColumnsPanel.c` | 7 | 0 | 7 | 100%
`CommandLine.c` | 2 | 0 | 6 | 33%
`CommandScreen.c` | 4 | 0 | 4 | 100%
`DateTimeMeter.c` | 1 | 0 | 1 | 100%
`DiskIOMeter.c` | 11 | 0 | 11 | 100%
`DisplayOptionsPanel.c` | 3 | 0 | 3 | 100%
`DynamicColumn.c` | 8 | 0 | 8 | 100%
`DynamicMeter.c` | 3 | 7 | 10 | 30%
`DynamicScreen.c` | 4 | 2 | 6 | 67%
`EnvScreen.c` | 4 | 0 | 4 | 100%
`FileDescriptorMeter.c` | 2 | 0 | 2 | 100%
`FunctionBar.c` | 9 | 0 | 9 | 100%
`GPUMeter.c` | 6 | 0 | 6 | 100%
`Hashtable.c` | 13 | 0 | 13 | 100%
`Header.c` | 12 | 0 | 12 | 100%
`HeaderOptionsPanel.c` | 3 | 0 | 3 | 100%
`History.c` | 7 | 0 | 7 | 100%
`HostnameMeter.c` | 1 | 0 | 1 | 100%
`IncSet.c` | 19 | 0 | 19 | 100%
`InfoScreen.c` | 6 | 0 | 6 | 100%
`LineEditor.c` | 15 | 0 | 15 | 100%
`ListItem.c` | 6 | 0 | 6 | 100%
`LoadAverageMeter.c` | 4 | 0 | 4 | 100%
`Machine.c` | 5 | 1 | 6 | 83%
`MainPanel.c` | 12 | 0 | 12 | 100%
`MemoryMeter.c` | 2 | 0 | 2 | 100%
`MemorySwapMeter.c` | 5 | 0 | 5 | 100%
`Meter.c` | 15 | 0 | 16 | 94%
`MetersPanel.c` | 6 | 0 | 6 | 100%
`NetworkIOMeter.c` | 2 | 0 | 2 | 100%
`Object.c` | 1 | 0 | 1 | 100%
`OpenFilesScreen.c` | 8 | 0 | 8 | 100%
`OptionItem.c` | 22 | 0 | 22 | 100%
`Panel.c` | 27 | 0 | 27 | 100%
`Process.c` | 32 | 0 | 32 | 100%
`ProcessLocksScreen.c` | 3 | 2 | 5 | 60%
`ProcessTable.c` | 6 | 0 | 6 | 100%
`RichString.c` | 18 | 0 | 18 | 100%
`Row.c` | 24 | 0 | 24 | 100%
`Scheduling.c` | 7 | 0 | 7 | 100%
`ScreenManager.c` | 13 | 0 | 13 | 100%
`ScreenTabsPanel.c` | 16 | 0 | 16 | 100%
`ScreensPanel.c` | 13 | 0 | 13 | 100%
`Settings.c` | 29 | 0 | 29 | 100%
`SignalsPanel.c` | 1 | 0 | 1 | 100%
`SwapMeter.c` | 2 | 0 | 2 | 100%
`SysArchMeter.c` | 1 | 0 | 1 | 100%
`Table.c` | 17 | 0 | 17 | 100%
`TasksMeter.c` | 2 | 0 | 2 | 100%
`TraceScreen.c` | 6 | 0 | 6 | 100%
`UptimeMeter.c` | 2 | 0 | 2 | 100%
`UsersTable.c` | 4 | 0 | 4 | 100%
`Vector.c` | 24 | 1 | 27 | 89%
`XUtils.c` | 13 | 0 | 27 | 48%
`darwin/DarwinMachine.c` | 9 | 1 | 10 | 90%
`darwin/DarwinProcess.c` | 9 | 2 | 11 | 82%
`darwin/DarwinProcessTable.c` | 3 | 1 | 4 | 75%
`darwin/Platform.c` | 21 | 4 | 25 | 84%
`darwin/PlatformHelpers.c` | 5 | 0 | 5 | 100%
`dragonflybsd/DragonFlyBSDMachine.c` | 5 | 5 | 10 | 50%
`dragonflybsd/DragonFlyBSDProcess.c` | 3 | 1 | 4 | 75%
`dragonflybsd/DragonFlyBSDProcessTable.c` | 2 | 4 | 6 | 33%
`dragonflybsd/Platform.c` | 14 | 1 | 15 | 93%
`freebsd/FreeBSDMachine.c` | 5 | 3 | 8 | 62%
`freebsd/FreeBSDProcess.c` | 0 | 4 | 4 | 0%
`freebsd/FreeBSDProcessTable.c` | 2 | 5 | 7 | 29%
`freebsd/Platform.c` | 14 | 3 | 17 | 82%
`generic/hostname.c` | 1 | 0 | 1 | 100%
`generic/uname.c` | 2 | 0 | 3 | 67%
`htop.c` | 0 | 1 | 1 | 0%
`linux/CGroupUtils.c` | 11 | 0 | 11 | 100%
`linux/Compat.c` | 8 | 0 | 8 | 100%
`linux/GPU.c` | 3 | 0 | 3 | 100%
`linux/HugePageMeter.c` | 1 | 1 | 2 | 50%
`linux/IOPriorityPanel.c` | 2 | 0 | 2 | 100%
`linux/LibNl.c` | 0 | 6 | 6 | 0%
`linux/LibSensors.c` | 1 | 6 | 7 | 14%
`linux/LinuxMachine.c` | 17 | 1 | 20 | 85%
`linux/LinuxProcess.c` | 11 | 1 | 12 | 92%
`linux/LinuxProcessTable.c` | 25 | 11 | 36 | 69%
`linux/OpenRCMeter.c` | 3 | 2 | 7 | 43%
`linux/Platform.c` | 22 | 9 | 31 | 71%
`linux/PressureStallMeter.c` | 1 | 1 | 2 | 50%
`linux/SELinuxMeter.c` | 3 | 0 | 4 | 75%
`linux/SystemdMeter.c` | 6 | 3 | 9 | 67%
`linux/ZramMeter.c` | 2 | 0 | 2 | 100%
`netbsd/NetBSDMachine.c` | 5 | 7 | 12 | 42%
`netbsd/NetBSDProcess.c` | 0 | 4 | 4 | 0%
`netbsd/NetBSDProcessTable.c` | 2 | 6 | 8 | 25%
`netbsd/Platform.c` | 14 | 1 | 15 | 93%
`openbsd/OpenBSDMachine.c` | 5 | 6 | 11 | 45%
`openbsd/OpenBSDProcess.c` | 0 | 4 | 4 | 0%
`openbsd/OpenBSDProcessTable.c` | 2 | 5 | 7 | 29%
`openbsd/Platform.c` | 14 | 2 | 16 | 88%
`pcp-htop.c` | 0 | 1 | 1 | 0%
`pcp/PCPMachine.c` | 5 | 1 | 20 | 25%
`pcp/PCPProcess.c` | 0 | 1 | 6 | 0%
`pcp/PCPProcessTable.c` | 2 | 1 | 28 | 7%
`pcp/Platform.c` | 25 | 4 | 51 | 49%
`solaris/Platform.c` | 14 | 4 | 18 | 78%
`solaris/SolarisMachine.c` | 5 | 5 | 10 | 50%
`solaris/SolarisProcess.c` | 0 | 4 | 4 | 0%
`solaris/SolarisProcessTable.c` | 2 | 6 | 8 | 25%
`unsupported/Platform.c` | 16 | 1 | 17 | 94%
`unsupported/UnsupportedMachine.c` | 5 | 1 | 6 | 83%
`unsupported/UnsupportedProcess.c` | 0 | 4 | 4 | 0%
`unsupported/UnsupportedProcessTable.c` | 2 | 1 | 3 | 67%