> For the complete documentation index, see [llms.txt](https://remoteu.gitbook.io/manager-remoteu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://remoteu.gitbook.io/manager-remoteu/day-3/examples/enforce-the-quality-bar-example-2.md).

# Enforce the Quality Bar Example 2

### [**Eng.UnitTest**](https://docs.google.com/spreadsheets/d/1SuAD3fDhp4AYOJAlSP9EaUT64OHnWxi2NH55Ot09b18/edit#gid=447117371)

1\. I did [30](https://docs.google.com/spreadsheets/d/1SuAD3fDhp4AYOJAlSP9EaUT64OHnWxi2NH55Ot09b18/edit#gid=447117371) quality enforcements and it took me a total of 7 hours. [21.3%](https://drive.google.com/open?id=1zqNT6g2NYa_I9tASW8YzyF8nvGE0bJe5) of the units passed the current External QB. Currently the team does not have an Internal Quality Bar. With my [proposed IQB](https://drive.google.com/open?id=16SqZiUydLdjmFmEPatjEnmqaipnmHgRj) ([implementation plan](https://drive.google.com/open?id=1JTMF-SJFnDPSuTdj7qcfzaLEBPCX71w6)), only [3.6%](https://drive.google.com/open?id=1bVkwr6Gx7FLTArJZoBccCxNC82VBzKvL) of the units passed. Overall my proposed IQB would improve EQB FTAR by [8.53% to 100%](https://drive.google.com/open?id=1e_A4P3Chk-cJVl790AIbrR1o7tOtES62). Table with 30 units analyzed for quality ([link](https://docs.google.com/spreadsheets/d/1SuAD3fDhp4AYOJAlSP9EaUT64OHnWxi2NH55Ot09b18/edit#gid=447117371\&range=A9)).

2\. The team’s [coding standards are documented](https://drive.google.com/file/d/1COQQ7tdjxkWKlBFqARJNk_gOeQ5_jsJb/view?usp=sharing), but are not enforced and do not constitute an actual IQB. I recommend creating and enforcing an [Internal Quality Bar](https://drive.google.com/open?id=16SqZiUydLdjmFmEPatjEnmqaipnmHgRj).

3\. I recommend making these changes to the quality bar:

1. Add 'Static code analysis tools detect no issues in the pull request ([SonarLint](https://drive.google.com/open?id=1rGvu-lkglZoTjsuJ5v_ZYz-nyoTX22qx))' to the internal quality bar. This would eliminate [12 EQB failures in T8W. There would be a 4.21% increase in FTAR](https://drive.google.com/open?id=1tUD8RrpFSLUqPqwbKozQY5tl4turJ8ne).
2. Add 'The pull request compiles and all tests pass' to the internal quality bar. [6 tickets in T8W](https://drive.google.com/open?id=1Cdz29KGpXAHw8ktIHv6i5DBkFQtv9Kt8) were affected by build issues. As a result there will be a [3.85% increase in FTAR](https://drive.google.com/open?id=1Cdz29KGpXAHw8ktIHv6i5DBkFQtv9Kt8).
3. Add 'The pull request provides a 100% method-level coverage of non-autogenerated classes' to the quality bar. PCAs complained about inadequate test coverage in [6 tickets in the last 8 weeks](https://drive.google.com/open?id=1r5kn2pZ3fmv3BksjgCL6ymcNKf1WuUd5). Preventing those issues will yield [1.08% improvement in FTAR](https://drive.google.com/open?id=1r5kn2pZ3fmv3BksjgCL6ymcNKf1WuUd5).

![](https://lh5.googleusercontent.com/Ng6pyWNHCj9Txh0FPLgFisXUT3Zh6twLDHmi0Pkw-5qVPlEeT9CMBDhkO1F3JuROtlhYPBSg5UFu8pFkd1QgQDX92vXxNk6fXmih59nO3crXzi7-DoIxYdYoNdjBnvU6ol3E6Fsi)

###
