Edit Show Metadata function

I want to edit the show all metadata function, but haven't been able to locate it. I thought it would be somewhere in the applications folder, but so far I've been searching and haven't seen it. Does anyone know where to look?

This is a little tricky, but application/views/scripts/items/item-metadata.php is the view that's used to actually display the metadata. If you're just trying to change the output, this is probably the file you want to edit.