/
Code Quality Tools

Code Quality Tools

  1. Code Formatter: Integrate attached formatter in your respective IDE and all files should be formatted using this formatter only.

  2. Code Coverage: Install ‘Emma’ plugin for code coverage. Code coverage should be at least 90% for any file that is to be merged in ‘Dev_Trunk’ branch. Share screenshot/report of code coverage with the reviewer.

  3. PMD Violations: Integrate 'PMD plugin' in your IDE and configure the rule set - "pmd.xml" which is available in the parent directory of source code.

Documenment

 

FOR UI :

  1. Code Formatter: Integrate BEAUTIFY (HookyQR) in your respective IDE (suggested : VSCODE)  and all files should be formatted using this formatter only.

  2. TS Lint Issue :  Integrate ‘TSLint By Microsoft’ &&  ‘CSS Lint By Raymond’  in your IDE . Please ensure that the file in commit do not have any TSLINT issue .

  3. Code Coverage: Run Command 'ng test --code-coverage' for code coverage. Code coverage should be at least 90% for any file that is to be merged . Open 'coverage/index.html' and  Share screenshot/report of code coverage with the reviewer. 

Related content

Quality Gates Overview
Quality Gates Overview
More like this
Test Case Managment Overview
Test Case Managment Overview
More like this
Sonar Code Quality
Sonar Code Quality
More like this
Unit Test Coverage
Unit Test Coverage
More like this
ZEPHYR Tool Configuration
ZEPHYR Tool Configuration
More like this
Sonar Violations
Sonar Violations
More like this

© 2022 Publicis Sapient. All rights reserved.