-
Notifications
You must be signed in to change notification settings - Fork 39
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
Speed up Refaster
bug checker
#261
Draft
Stephan202
wants to merge
55
commits into
master
Choose a base branch
from
sschroevers/refaster-speed-up
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 53 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
69386f0
Emit website link along with Refaster refactor suggestions
Stephan202 84061fc
More extensible approach
Stephan202 827880b
WIP: Some plumbing for annotation support
Stephan202 0f44844
Another round
Stephan202 0e46f9c
Tweaks
Stephan202 914d30a
Better annotation support, simplify setup
Stephan202 458fb99
Flag why build currently doesn't fail, while it should.
Stephan202 db8cf3c
Improve logic and test coverage
Stephan202 abb6cea
Properly document URL placeholder usage
Stephan202 cf772c4
Expand test coverage
Stephan202 d26bc18
Flag classpath issue
Stephan202 01b7e5b
Improve text and minor improvements
rickie 3482641
Use `@AutoValue` for the `AnnotatedCompositeCodeTransformer`
rickie 12d09ad
Support `AllSuggestionsAsWarnings` and add a suggestion
rickie 74d6c9a
Tweak
rickie c4b6a5f
Suggestions, introduce `ErrorProneFork`
Stephan202 d899a8a
Also this
Stephan202 20d194b
Clarify how the default Refaster hit severity comes to be
Stephan202 ad1c98d
Align documentation of reported description names by the Refaster check
Badbond 50443d1
Suggestion
Badbond 7e49b08
Pass null for urlLink to Description.Builder
Badbond 594f51c
Tweaks
Stephan202 e6caceb
Move `AnnotatedCompositeCodeTransformer` and `ErrorProneFork` to `ref…
rickie b2ef631
`s/information/content/`
rickie 8bd88bb
Improve Javadoc `AnnotatedCompositeCodeTransformer`
rickie 302e20b
Revert changes in `OptionalTemplates`
rickie 32300ff
Tweak `AnnotatedCompositeCodeTransformer` Javadoc
Badbond d21ac59
Apply `StringJoin` suggestion
Stephan202 0484762
Suggestions
Stephan202 1624ebf
WIP: Speed up `Refaster` check
Stephan202 ee74279
Compatibility with stock Error Prone
Stephan202 344f4e4
Initial copy over of the improved algorithm
rickie 6739cb4
Improve code and algorithm for Refaster
rickie 72ff8ae
Drop unnecessary `@AutoService` annotation
rickie 39dc9aa
Add XXXs
rickie 2a93011
Merge `RefasterRuleSelector` type hierarchy
Stephan202 1c5077f
Create selector only once per `Refaster` instantiation
Stephan202 2c137c0
Move all `RefasterRuleSelector` construction logic into the relevant …
Stephan202 c3a5106
Push sorting requirements into `Node`, minimize tree, add tests
Stephan202 9151287
Suggestion
rickie a27d635
Extract the `TreeScanner`s to their own classes
rickie 2003bd2
Introduce `getClass` method to deduplicate
rickie 7889148
Reorder methods in `RefasterIntrospection`
rickie afdcf52
Apply some suggestions
Stephan202 ab03739
Optimize code, introduce benchmark, simplify test
Stephan202 457a8e2
Comment style, explain both performance-only pieces of code
Stephan202 63ad14e
Fix typo
rickie 0cf891c
Suggestions
ibabiankou 2cb4bd0
Suggestions
Stephan202 c34fa4d
Fix typo
rickie d59b626
Merge remote-tracking branch 'origin/sschroevers/refaster-custom-urls…
Stephan202 5ba7075
Introduce `AnnotatedCompositeCodeTransformerTest`
Stephan202 0157692
Merge remote-tracking branch 'origin/sschroevers/refaster-custom-urls…
Stephan202 72f8881
Suggestions
Stephan202 77bc107
Merge branch 'master' into sschroevers/refaster-speed-up
Stephan202 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will port this to #255 and move the
excludedClasses
tag before the others.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to drop this now.