Saturday, August 6, 2016

9:27 AM
Dalam tahapan DevOps terdapat satu step yang disebut Static Analysis. Pada bagian ini akan dilakukan Analyze dari kode yang dibuat setelah dilakukan push ke repository. Pada postingan kali ini akan dikumpulkan Source Code Analyzer yang dapat digunakan untuk Static Analysis serta dengan penjelasan singkatnya,

PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, Apex, PLSQL, Apache Velocity, XML, XSL. Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Ruby, Scala, Objective C, Matlab, Python, Go, Swift and Apex.

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard.
Checkstyle is highly configurable and can be made to support almost any coding standard. An example configuration files are supplied supporting the Sun Code ConventionsGoogle Java StyleA good example of a report that can be produced using Checkstyle and Maven can be seen here.

FindBugs, a program which uses static analysis to look for bugs in Java code.

JSLint, The JavaScript Code Quality Tool

JSHint is a community-driven tool to detect errors and potential problems in JavaScript code and to enforce your team's coding conventions. It is very flexible so you can easily adjust it to your particular coding guidelines and the environment you expect your code to execute in. JSHint is open source and will always stay this way.
Newer Post Older Post


Post a Comment