[HTC Sensation] GROGG88:
All you have to do is check out the updater-script... A regular recovery wipe includes /data and /cache partitions. The superwipe script also includes /system, /boot, and performs and disk check...

It's really a good idea, and something I've always done between ROMs is mount and wipe those partitions anyways.

This has been extracted from mike1986's flashable superwipe:

#
# Updater-script for Android Revolution HD by mike1986
# Thanks to amazinglarry311 for the idea

ui_print("");
ui_print("");
ui_print("");
ui_print("==============================================");
ui_print("| Wiping Script |");
ui_print("| This operation will remove all your data |");
ui_print("| You have 10 seconds to remove the battery |");
ui_print("| to cancel this procedure |");
ui_print("==============================================");
ui_print("");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "10");
ui_print("1. Erasing & formatting EXT4 *CACHE* partition");
assert(unmount("/cache") || ui_print("(cache is unmounted already)"));
run_program("/sbin/erase_image", "cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p24");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("2. Erasing & formatting EXT4 *SYSTEM* partition");
assert(unmount("/system") || ui_print("(system is unmounted already)"));
run_program("/sbin/erase_image", "system");
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("3. Erasing & formatting EXT4 *DATA* partition");
assert(unmount("/data") || ui_print("(data is unmounted already)"));
run_program("/sbin/erase_image", "userdata");
format("ext4", "EMMC", "/dev/block/mmcblk0p23");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("4. Erasing *BOOT* partition");
assert(unmount("/boot") || ui_print("(boot is unmounted already)"));
run_program("/sbin/erase_image", "boot");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("5. Removing system files from SD Card");
delete_recursive("/sdcard/.android_secure");
delete_recursive("/sdcard/.bookmark_thumb1");
delete_recursive("/sdcard/.data/footprints");
delete_recursive("/sdcard/.data/mail");
delete_recursive("/sdcard/Android/data/com.android.providers.media");
delete_recursive("/sdcard/Android/data/com.google.android.apps.genie.geniewidget.news-content-cache");
delete_recursive("/sdcard/Android/data/com.google.android.apps.maps");
delete_recursive("/sdcard/.data/navigator/Data/Temporary");
delete_recursive("/sdcard/LazyList");
delete_recursive("/sdcard/LOST.DIR");
ui_print("");
ui_print("");
ui_print("");
ui_print(">>> All partition wiped successfully! <<<");
ui_print("");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("6. Now checking filesystems for errors");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p22");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p23");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p24");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("7. Creating log file on SD card");
run_program("/sbin/busybox", "cp", "/tmp/recovery.log", "/sdcard/superwipe.log");
ui_print("");
ui_print("");
run_program("/sbin/sleep", "5");
ui_print("==============================================");
ui_print("| Now you can flash Android Revolution HD |");
ui_print("| Device will reboot in recovery mode |");
ui_print("==============================================");
run_program("/sbin/sleep", "5");
run_program("/sbin/reboot", "recovery");