// HTOPRS — PORT REPORT

Coverage of the htop 3.5.1 C spec · generated 2026-07-03T18:55:14Z

Docs Report

>_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 fileportedstubbeddefinedcoverage
Action.c5255791%
Affinity.c707100%
AffinityPanel.c491331%
AvailableColumnsPanel.c81989%
AvailableMetersPanel.c62875%
BacktraceScreen.c17017100%
BatteryMeter.c101100%
CPUMeter.c18018100%
CRT.c1611984%
CategoriesPanel.c72978%
ColorsPanel.c303100%
ColumnsPanel.c707100%
CommandLine.c20633%
CommandScreen.c404100%
DateTimeMeter.c101100%
DiskIOMeter.c11011100%
DisplayOptionsPanel.c303100%
DynamicColumn.c808100%
DynamicMeter.c371030%
DynamicScreen.c42667%
EnvScreen.c404100%
FileDescriptorMeter.c202100%
FunctionBar.c909100%
GPUMeter.c606100%
Hashtable.c13013100%
Header.c12012100%
HeaderOptionsPanel.c303100%
History.c707100%
HostnameMeter.c101100%
IncSet.c19019100%
InfoScreen.c606100%
LineEditor.c15015100%
ListItem.c606100%
LoadAverageMeter.c404100%
Machine.c51683%
MainPanel.c12012100%
MemoryMeter.c202100%
MemorySwapMeter.c505100%
Meter.c1501694%
MetersPanel.c606100%
NetworkIOMeter.c202100%
Object.c101100%
OpenFilesScreen.c808100%
OptionItem.c22022100%
Panel.c27027100%
Process.c32032100%
ProcessLocksScreen.c32560%
ProcessTable.c606100%
RichString.c18018100%
Row.c24024100%
Scheduling.c707100%
ScreenManager.c13013100%
ScreenTabsPanel.c16016100%
ScreensPanel.c13013100%
Settings.c29029100%
SignalsPanel.c101100%
SwapMeter.c202100%
SysArchMeter.c101100%
Table.c17017100%
TasksMeter.c202100%
TraceScreen.c606100%
UptimeMeter.c202100%
UsersTable.c404100%
Vector.c2412789%
XUtils.c1302748%
darwin/DarwinMachine.c911090%
darwin/DarwinProcess.c921182%
darwin/DarwinProcessTable.c31475%
darwin/Platform.c2142584%
darwin/PlatformHelpers.c505100%
dragonflybsd/DragonFlyBSDMachine.c551050%
dragonflybsd/DragonFlyBSDProcess.c31475%
dragonflybsd/DragonFlyBSDProcessTable.c24633%
dragonflybsd/Platform.c1411593%
freebsd/FreeBSDMachine.c53862%
freebsd/FreeBSDProcess.c0440%
freebsd/FreeBSDProcessTable.c25729%
freebsd/Platform.c1431782%
generic/hostname.c101100%
generic/uname.c20367%
htop.c0110%
linux/CGroupUtils.c11011100%
linux/Compat.c808100%
linux/GPU.c303100%
linux/HugePageMeter.c11250%
linux/IOPriorityPanel.c202100%
linux/LibNl.c0660%
linux/LibSensors.c16714%
linux/LinuxMachine.c1712085%
linux/LinuxProcess.c1111292%
linux/LinuxProcessTable.c25113669%
linux/OpenRCMeter.c32743%
linux/Platform.c2293171%
linux/PressureStallMeter.c11250%
linux/SELinuxMeter.c30475%
linux/SystemdMeter.c63967%
linux/ZramMeter.c202100%
netbsd/NetBSDMachine.c571242%
netbsd/NetBSDProcess.c0440%
netbsd/NetBSDProcessTable.c26825%
netbsd/Platform.c1411593%
openbsd/OpenBSDMachine.c561145%
openbsd/OpenBSDProcess.c0440%
openbsd/OpenBSDProcessTable.c25729%
openbsd/Platform.c1421688%
pcp-htop.c0110%
pcp/PCPMachine.c512025%
pcp/PCPProcess.c0160%
pcp/PCPProcessTable.c21287%
pcp/Platform.c2545149%
solaris/Platform.c1441878%
solaris/SolarisMachine.c551050%
solaris/SolarisProcess.c0440%
solaris/SolarisProcessTable.c26825%
unsupported/Platform.c1611794%
unsupported/UnsupportedMachine.c51683%
unsupported/UnsupportedProcess.c0440%
unsupported/UnsupportedProcessTable.c21367%