Manoel Campos commited to 2d113b9 November 29

Closes #160

Current Status: Analysed View logs

View on GitHub

Not up to standards. This commit quality could be better.

+3
Issues
=
Duplication
=
Complexity
-
Coverage

cloudsim-plus/src/main/java/org/cloudbus/cloudsim/util/TraceReaderAbstract.java

Avoid assignments in operands
218
while ((line = readNextLine(reader, lastLineNumber)) != null) {

cloudsim-plus/src/main/java/org/cloudsimplus/traces/google/GoogleTraceReaderAbstract.java

Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block
75
} catch (Exception e) {
Avoid throwing raw exception types.
76
throw new RuntimeException("Error when processing the trace file. Current trace line: " + getLastLineNumber(), e);

cloudsim-plus/src/main/java/org/cloudbus/cloudsim/util/TraceReaderAbstract.java

Avoid assignments in operands
214
while ((line = readNextLine(reader, lineNum)) != null) {

Loading...

Loading...

Loading...

Loading...