This page shows a side-by-side comparison of a minimal but complete Java code required to create the same simulation scenario in CloudSim as well as CloudSim Plus.
The code in the left is the simulation scenario in CloudSim and the one in the right is the same scenario in CloudSim Plus.
The source files have small comments to describe each step of the simulation. The equivalent instructions in each example are positioned at a line with the same number, so that you can easily compare how a feature is implemented in each framework.
At the end of the page, you can see images of how both frameworks present simulation results.