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
- Scala 2.11
- Play 2.5
- SBT 0.13.11
- ScalaJs 0.6.7
- ScalaCss
- ScalaTags
- ScalaJs-jquery
Access
KnoldusLabs/CodeSquad
Clone the project := https://github.com/KnoldusLabs/CodeSquad.git
Execution
Follow the commands :=
Export REFRESH_TIME=200
sbt run
And then go to localhost:9000 to see the Dashboard
Test
Follow the command :=
sbt test
Plugins
-
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
-
Formatting the code
addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.6.0")
This plugin automatically formats the code at the compilation time.
-
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
-
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.