swap analysis