---
Introduce `BugPatternTestExtractor` with tests
---
Simplify tests
---
Further simplify testing setup
---
Kill another mutant and drop unused imports
---
This actually kills the mutant
---
Suggestions
---
Suggestions
---
Suggestions
---
Fix JDK 11 compatibility
---
PSM-1717 Pass `ClassLoader` to `ServiceLoader`
---
Introduce documentation generation
This is a squash commit of the following previous commits:
---
Introduce `documentation-support` module to extract website data from source code
By adding a compilation `TaskListener` that extracts data from the Bug pattern
and Refaster rule collection (test) classes and writing to JSON output files
in the target directory. This extraction happens as part of the Maven build
using the `docgen` profile.
---
Improve website styling
Co-authored-by: japborst <japborst@gmail.com>
Co-authored-by: Gijs de Jong <berichtaangijs@gmail.com>
---
Generate Markdown files from existing content for the website
---
Upgrade dependencies to the latest versions
---
Compile and install project jars before docgen
---
Run validation in build and exclude self-url
---
Reintroduce `htmlproofer`, improve templates, cleanup setup and dependencies
---
Delete directory if it exists
---
Add SCSS for GitHub button and fix bug pattern sample rendering
---
Fix bug pattern GitHub link
---
Small styling tweaks (incl. for dark theme)
---
Use single mvn command
---
Move mustache templates
---
Hardcode anchors for headings
---
Add supression to bugpatterns
---
Remove self ignore for html-proofer
---
Add refaster supressions and use callouts
---
Use v0.4.1-SNAPSHOT
---
Revert "Use single mvn command"
This reverts commit 594471d1ed23a1c19d7fe88d925d1b7f828716cd.
---
Extract Refaster samples from source code instead of AST
---
Skip verification, for now
---
Add notes on disabling bugpatterns
---
Set default layout and image
---
Fix mobile navigation
---
Revert "Set default layout and image"
This reverts commit 67a4aa7b5b4d14c0f2b783f345f53affe6ef3ec5.
---
Add supression for refaster rules
---
Post-rebase fixes
---
Fix the tests
---
Doh
---
Version bump
---
Exclude ThirdPartyLibraryTest from Bug Pattern test output
---
Remove only last occurence of 'Test' in Bug Pattern tests doc generation
---
Move `MapRulesTest` resources
---
Add exclusion for docgen of `SourceCodeTest`
---
Bump version
---
Extra fixes after rebase
---
Delete custom nav footer and `assets/images/favicon.ico`
---
Post rebase fixes with version bump to `0.8.1-SNAPSHOT`
---
Use new BugPatternTest extraction method
---
Fit Refaster extractors into new documentation support setup
---
Drop Docgen Maven profile
---
Move new rule collection
---
Improve extractor matching and update README
---
Move `SuggestedFixRules` test files
---
Fix Refaster exclusion regexes
---
Disable external link checking until the `website` branch is up-to-date with `master` again
---
Post-rebase fix
---
Not sure why `-Dverification.skip` fails while `-Dverification.warn` doesn't; won't investigate right now
---
Check external links again
---
Upgrade dependencies
---
WIP: towards dropping Mustache
---
WIP: Java doc generator
---
WIP: switch over
---
WIP: Cleanup
---
Polish
By raising this baseline the project can now use Java 17 language features such
as text blocks, switch expressions and `instanceof` pattern matching. The code
has been updated to make use of these constructs.
Note that the project can still be used by builds that target an older version
of Java, as long as those builds are executed using JDK 17+.
As we're moving to a Java-based website generator located in the same
package as the `Extractor` implementations, there is no need to validate
the exact format of generated files; only that the data can be
deserialized again.
While there, track the source file from which data is extracted.
This new `Extractor` implementation collects identification and
replacement source code from `BugChecker` unit tests.
While there:
- Refactor the existing `Extractor` setup such that instances are
service-loaded and need to implement only a single method, thereby
avoiding the need to align logic between multiple source code
locations.
- Extend the validation performed by the `Compilation` test helper
class.
- Extend the `ErrorProneTestHelperSourceFormat` check to support source
code passed to the `Compilation` test helper class.
This new module provides the initial version of a framework for the extraction
of data from bug checkers and Refaster rules, to be used as input for website
generation.