forked from abacusmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 245
Add a python script to test the code quality of ABACUS codes #7843
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
Merged
Merged
Changes from 19 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a1721e4
add a python script to check the code quality
c15fa10
update
c0b9ce7
Add cyclomatic complexity rule; raise file_too_long weight to 2
e75318f
Add post-C++11 rule (-80); expand test dirs; fix string-literal false…
c961e69
use code quality tool to fix issues in wavefunc_in_pw files
5425080
Merge branch 'develop' into 2026-08-20
mohanchen ef5576a
Merge branch 'develop' into 2026-08-20
c657f47
update code_quality_score
b5455f7
update code_quality_score
763b761
remove C++14 code in diago_pexsi.cpp
6a22c8c
update
e747810
update
2352078
update
e5bd52d
delete wavefunc_in_pw because they have not been used
a3ed9ba
update makefile
d472cce
remove C++14 codes in tests
1cbf76b
remove using namespace std in psi_base.h
be3bc28
remove Chinese notes
08c9aa4
remove one duplicate name of variables
375ab58
fix(code_quality): exclude template type params and enum class in fin…
d4b53d3
fix(code_quality): handle trailing return type and ctor init list in …
8df1306
fix(code_quality): blank string literals before cyclomatic complexity…
ecc3777
fix(code_quality): distinguish C++14 digit separators from char literals
2d87d80
fix(code_quality): distinguish declarations from call sites in param-…
ecc258c
fix(code_quality): cancel smart-pointer owned new in unpaired_new heu…
d1fd9fb
fix(code_quality): skip multi-line using/typedef continuations in mem…
7f237b2
fix(code_quality): exclude arrow member access from uppercase constan…
e1394a6
fix(code_quality): do not deduct for public members in struct bodies
437e013
refactor(hsolver_test): replace unique_ptr heap alloc with stack vars…
7798fae
Merge branch 'develop' into 2026-08-20
mohanchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.