Swap and commission are part of the result
A trade that looks green on the chart can be red once financing and commission are counted. Both are imported from your statement and included in every P&L figure, so profit factor and expectancy reflect what reached your balance.