-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Code quality checks #898
Comments
can we use Codacy instead of LGTM? |
CodeFactor seems good to me. |
Is lgtm paid ? |
No, it's free. |
Please elaborate on your points to make your case for the yet another tool. |
Please elaborate on your points to make your case for the yet another tool. |
|
|
codacy is yet another tool which ensures good code standard, With Codacy, we get static analysis, cyclomatic complexity, duplication and code unit test coverage changes in every commit and pull request. apart from this i personally used codacy in some of my repositories i liked it, the GUI is pretty good and provides detailed analysis of everything. we can also define our own settings for pull requests and commits that act as thresholds to our work. |
Earlier i tried to link this repository to codacy but it requires admin permission. |
Here is my brief understanding
|
I linked my fork and tried it out |
so what's the decision are we sticking to LGTM or moving to codacy? codacy have extensive checking criteria if we do not need much extensive checks then we are fine with LGTM, i think so. |
Lets wait on more feedback from other members as well. There is no rush to decide on one. The LGTM is active for now anyways and serves the purpose without causing any harm. The thread is essentially for a long term commitment and hence needs to be resolved democratically. I alone cannot make a final decision. Needs to be voted upon. I have added a voting tool in the main issue description for convenience and easy tracking. |
After 2 weeks, the majority votes are for LGTM. |
okay let's keep this repo with LGTM |
Detailed Description
The repo code quality has been quite poor until the introduction of
cpplint
static code analysis checks.Even then, there are many instances where the checks have not been enough:
cpplint
- introducedclang-format
in GitHub actions to atuofix formatting per Google C++ standards Major rework to improve code quality and add automation checks #805cpplint
checks are quite limited and hence a suggestion to useclang-tidy
was proposed Should this repo lint C++ code with clang-tidy or cpplint? #808clang-tidy
would be ideal with following important points to notecpplint
but is more permissive thanclang-tidy
.Let us discuss the benefits and drawbacks of such an implementation.
I did create a temporary pull-request for review and discussion #897(This now seems redundant)Please review thoroughly and cast your vote on the tool you'd prefer by clicking on that tool below. If selected other, please add a comment mentioning which toll and why.
![](https://camo.githubusercontent.com/90e4776b1d26b052fc02f8b078574494b12d2f290426849313d77e88bb18af60/68747470733a2f2f6170692e67682d706f6c6c732e636f6d2f706f6c6c2f303145424d3543374a4b4d32304835455a4544584d305a4b56542f4c47544d)
![](https://camo.githubusercontent.com/825d1c0514edb9af9a5a450527c5437ca16aac580676ac36731ef1c0bb3763cd/68747470733a2f2f6170692e67682d706f6c6c732e636f6d2f706f6c6c2f303145424d3543374a4b4d32304835455a4544584d305a4b56542f436f64616379)
![](https://camo.githubusercontent.com/eaa780878ca502b17d1464fb56f876ebebf3c6bc9ec5cbf23cfea0f8ee8ee944/68747470733a2f2f6170692e67682d706f6c6c732e636f6d2f706f6c6c2f303145424d3543374a4b4d32304835455a4544584d305a4b56542f436f6465466163746f72)
![](https://camo.githubusercontent.com/b452f38b238df716f4d9ae1f7aaec0c055681163207a2feb9615836ec4c08b29/68747470733a2f2f6170692e67682d706f6c6c732e636f6d2f706f6c6c2f303145424d3543374a4b4d32304835455a4544584d305a4b56542f253630636c616e672d746964792536302532307573696e672532304769487562253230616374696f6e73)
![](https://camo.githubusercontent.com/4183328254c49d56d3fd1271941023dce4ef797087149b0d2f6be766f503dc74/68747470733a2f2f6170692e67682d706f6c6c732e636f6d2f706f6c6c2f303145424d3543374a4b4d32304835455a4544584d305a4b56542f4f74686572)
The text was updated successfully, but these errors were encountered: