Home - KnoldusLabs/codesquad-support GitHub Wiki

Welcome to the codesquad-support wiki!

Welcome to the CodeSquad wiki!

See one of:

Overview

Code Squad aims to provide you with an qualitative analysis and insight of the projects running in your company by highlighting the missing or the problematic parameters.

Requirements

  1. Scala 2.11
  2. Play 2.5
  3. SBT 0.13.11
  4. ScalaJs 0.6.7
  5. ScalaCss
  6. ScalaTags
  7. ScalaJs-jquery

Access

KnoldusLabs/CodeSquad

Clone the project := https://github.com/KnoldusLabs/CodeSquad.git

Execution

Follow the commands :=

  1. Export REFRESH_TIME=200
  2. sbt run

And then go to localhost:9000 to see the Dashboard

Test

Follow the command :=

sbt test

Plugins

  1. Scalastyle warning

    addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.8.0")

    Scalastyle gives you the warnings that depict the deficiency in code vis a vis code style.

    Generate config file using :=

    sbt scalastyleGenerateConfig

    And then generate the report using :=

    sbt scalastyle

  2. Formatting the code

    addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.6.0")

    This plugin automatically formats the code at the compilation time.

  3. Scapegoat

    addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.0.4")

    This plugin is a static code analyzer which is more colloquially known as code lint tool or linter. To generate the result, do -

    sbt scapegoat

  4. WartRemover

    addSbtPlugin("org.brianmckenna" % "sbt-wartremover" % "0.14")

    This plugin is a flexible Scala code linting tool. Generates the result at the time of the compilation of the code.