Squid Efficiency Analyzer - open a log file and start analysis. Wait for the results which are shown in an table (detailled view) and in a text field (summary). You may then export the results to a file.
Squideff checks every line of the Squid log file and assigns occurrence and traffic to the different cache codes. Afterwards, traffic from cache and internet are calculated.
For this project I have decided to work with signed 64-bit integers in order to work with large numbers. Despite that, it may be possible that values exceed this range. In that case, please tell me (not that I know what to do about it).
The following codes are calculated as data coming from the cache:
TCP_HIT
TCP_REFRESH_HIT
TCP_REF_FAIL_HIT
TCP_IMS_HIT
TCP_MEM_HIT
TCP_OFFLINE_HIT
UDP_HIT
The following codes are calculated as data coming from the internet:
TCP_MISS
TCP_REFRESH_MISS
TCP_CLIENT_REFRESH_MISS
TCP_SWAPFAIL_MISS
UDP_MISS
The rest is shown as not considered for efficiency:
TCP_NEGATIVE_HIT
TCP_DENIED
UDP_DENIED
UDP_INVALID
UDP_MISS_NOFETCH
NONE