Skip to content
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

Naming Convention Detector #34

Merged
merged 7 commits into from
Oct 19, 2018
Merged

Conversation

kirtixs
Copy link
Contributor

@kirtixs kirtixs commented Oct 18, 2018

This pr adds a detector for naming convention violations.
fixes #24

Some tests violate naming conventions and I had to update the expected number of results in order for the tests to succeed.
I think it is better to limit each test case to only run the detector for which the test was made for.

@kirtixs kirtixs force-pushed the feature/naming-convention branch 2 times, most recently from 4f8713e to 35a0b6c Compare October 18, 2018 12:55
ARGUMENT = 'naming-convention'
HELP = 'naming convention violations'
IMPACT = DetectorClassification.INFORMATIONAL
CONFIDENCE = DetectorClassification.INFORMATIONAL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can probably set the Confidence to HIGH?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@montyly
Copy link
Member

montyly commented Oct 18, 2018

Thanks for your contribution, the PR looks good!

@montyly montyly merged commit bcc8dc3 into crytic:master Oct 19, 2018
@kirtixs kirtixs deleted the feature/naming-convention branch October 19, 2018 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Detector: Check that variables follow the Solidity naming convention
3 participants