camilosampedro/Aton

View on GitHub
app/config/ComputerChecker.scala

Summary

Maintainability
A
1 hr
Test Coverage

Function onReceive has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  override def onReceive(message: Any): Unit = {
    // Only execute when it's not executing.
    if (!isExecuting) {

      // Set flag. It starts to execute now.
Severity: Minor
Found in app/config/ComputerChecker.scala - About 1 hr to fix

    Constructor has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    class ComputerChecker @Inject()(connectedUserDAO: ConnectedUserDAO, computerStateDAO: ComputerStateDAO, computerService: ComputerService, sSHOrderService: SSHOrderService, actorSystem: ActorSystem, executionContext: ExecutionContext) extends UntypedActor with Timer {
    Severity: Minor
    Found in app/config/ComputerChecker.scala - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status