Re-implementation of ParticipantAgent and models #960
Quality Gate success
Analysis Details
15 Issues
Coverage and Duplications
Project ID: edu.ie3:simona
Annotations
Check warning on line 63 in src/test/scala/edu/ie3/simona/model/participant2/PvModelSpec.scala
sonarqubegithubprchecks / simona Sonarqube Results
src/test/scala/edu/ie3/simona/model/participant2/PvModelSpec.scala#L63
Null parameter
Check warning on line 68 in src/test/scala/edu/ie3/simona/model/participant2/WecModelSpec.scala
sonarqubegithubprchecks / simona Sonarqube Results
src/test/scala/edu/ie3/simona/model/participant2/WecModelSpec.scala#L68
Null parameter
Check warning on line 62 in src/test/scala/edu/ie3/simona/model/participant2/StorageModelSpec.scala
sonarqubegithubprchecks / simona Sonarqube Results
src/test/scala/edu/ie3/simona/model/participant2/StorageModelSpec.scala#L62
Null parameter
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/load/ProfileLoadModel.scala#L74
Use of asInstanceOf
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/load/ProfileLoadModel.scala#L87
Complete the task associated to this TODO comment.
Check notice on line 477 in src/main/scala/edu/ie3/simona/model/participant2/evcs/EvcsModel.scala
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/evcs/EvcsModel.scala#L477
Complete the task associated to this TODO comment.
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/ParticipantModelShell.scala#L101
Define a constant instead of duplicating this literal "No relevant data available!" 3 times.
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/PrimaryDataParticipantModel.scala#L152
Unused parameter
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/PrimaryDataParticipantModel.scala#L171
Unused parameter
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/ParticipantFlexibility.scala#L34
Complete the task associated to this TODO comment.
Check warning on line 168 in src/main/scala/edu/ie3/simona/model/participant2/StorageModel.scala
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/model/participant2/StorageModel.scala#L168
Take the required action to fix the issue indicated by this "FIXME" comment.
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/agent/participant2/ParticipantGridAdapter.scala#L77
Complete the task associated to this TODO comment.
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/agent/participant2/ParticipantGridAdapter.scala#L160
Remove this commented out code.
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/agent/participant2/ParticipantAgentInit.scala#L33
Complete the task associated to this TODO comment.
Check warning on line 83 in src/main/scala/edu/ie3/simona/agent/participant2/ParticipantAgent.scala
sonarqubegithubprchecks / simona Sonarqube Results
src/main/scala/edu/ie3/simona/agent/participant2/ParticipantAgent.scala#L83
Unused parameter