cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudsimplus/faultinjection/HostFaultInjection.java
private void logNoVmFault() {
        final int vmsRequiredPes = (int) getPesSumOfWorkingVms();
        if(lastFailedHost.getVmList().isEmpty()){
            Log.printLine("\tThere aren't VMs running on the failed Host.");
            return;
        }

        Log.printFormattedLine(
                "\tNumber of failed PEs is less than PEs required by all its %d VMs, thus it doesn't affect any VM.",
                lastFailedHost.getVmList().size());
        Log.printFormattedLine(
                "\tTotal PEs: %d | Total Failed PEs: %d | Working PEs: %d | Current PEs required by VMs: %d.\n",
                lastFailedHost.getNumberOfPes(), lastFailedHost.getNumberOfFailedPes(), lastFailedHost.getNumberOfWorkingPes(),
                vmsRequiredPes);
    }
/**
     * Shows that the failure of Host PEs hasn't affected any VM, because there
     * is more working PEs than required by all VMs.
     */
Shows that the failure of Host PEs hasn't affected any VM, because there
is more working PEs than required by all VMs.
Shows that the failure of Host PEs hasn ' t affected any VM because there is more working PEs than required by all VMs .
private void logNoVmFault() {
        final int vmsRequiredPes = (int) getPesSumOfWorkingVms();
        if(lastFailedHost.getVmList().isEmpty()){
            Log.printLine("\tThere aren't VMs running on the failed Host.");
            return;
        }
        Log.printFormattedLine(
                "\tNumber of failed PEs is less than PEs required by all its %d VMs, thus it doesn't affect any VM.",
                lastFailedHost.getVmList().size());
        Log.printFormattedLine(
                "\tTotal PEs: %d | Total Failed PEs: %d | Working PEs: %d | Current PEs required by VMs: %d.\n",
                lastFailedHost.getNumberOfPes(), lastFailedHost.getNumberOfFailedPes(), lastFailedHost.getNumberOfWorkingPes(),
                vmsRequiredPes);
    }
private void logNoVmFault ( ) { final int vmsRequiredPes = ( int ) getPesSumOfWorkingVms ( ) ; if ( lastFailedHost . getVmList ( ) . isEmpty ( ) ) { Log . printLine ( "\tThere aren't VMs running on the failed Host." ) ; return ; } Log . printFormattedLine ( "\tNumber of failed PEs is less than PEs required by all its %d VMs, thus it doesn't affect any VM." , lastFailedHost . getVmList ( ) . size ( ) ) ; Log . printFormattedLine ( "\tTotal PEs: %d | Total Failed PEs: %d | Working PEs: %d | Current PEs required by VMs: %d.\n" , lastFailedHost . getNumberOfPes ( ) , lastFailedHost . getNumberOfFailedPes ( ) , lastFailedHost . getNumberOfWorkingPes ( ) , vmsRequiredPes ) ; }
Shows that the failure of Host PEs hasn't affected any VM, because there
 is more working PEs than required by all VMs.
Shows that the failure of Host PEs hasn ' t affected any VM because there is more working PEs than required by all VMs .