Skip to content

Releases: tjheslin1/Westie

1.4.3

27 Sep 21:04
Compare
Choose a tag to compare

Addressing issues:

  • #7 - Allow empty files
  • #8 - Add varargs convenience method for WestieDirectoryAnalyser.ignoring

1.4.2

15 Sep 15:43
Compare
Choose a tag to compare
  • Ignore hidden files. Should only check user written files.
  • Ignore hidden directories unless the top provided pathToCheck is a hidden directory (starting with a '.', e.g: ".git")
  • Report in error output the file which had the problem.
  • Added contructors to GitIssues and JiraIssues allowing you to not provide a http client, but instead use a default one with a timeout of 10 seconds.

1.4

02 Aug 22:15
Compare
Choose a tag to compare
1.4

Added WestieFileAnalyser to be able to analyse specific files as well as whole directories.
Added FileMustContainContentAnalyser to analyse files which must contain specific content.

WestieAnalyser now branches into WestieDirectoryAnalyser and WestieFileAnalyser.

1.3

14 Jul 13:33
Compare
Choose a tag to compare
1.3

Improvements to fluent API.
Checkers are now referred to as Analysers and have been renamed accordingly.

1.2

17 Mar 14:13
Compare
Choose a tag to compare
1.2

Added WestieCachedFileReader to create a cache of the files read during static analysis tests.

All extensions of WestieChecker use this file reading implementation by default and share the cache across different tests and checks.

What does this mean?

  • Each file read in any Westie static analysis test will only be read from the disk once during your build / test cycle.

The implementation of this uses Guava's LoadingCache.

Other implementations of your choice can be provided through the WestieFileReader interface.

1.1.6

06 Mar 13:57
Compare
Choose a tag to compare
  • Resolved Issue #5 - does not print line with error, print "Unable to read file." in TodosStructureChecker.
  • Resolved Issue #3 - support lower case todo's in JiraReferenceChecker and TodosStructureChecker.

1.1.5

01 Mar 22:08
Compare
Choose a tag to compare

Added multiple types of Violation's to model different types of analysis errors.
FileViolation is used when a whole file fails a check.
FileLineViolation is used when a particular line fails a check.

1.1.3

27 Nov 17:21
Compare
Choose a tag to compare

Introduced GitIssueChecker, very similar to JiraReferenceChecker, which checks that Git issues referenced in TODO comments in code are in the open state.

1.1.2

23 Nov 22:10
Compare
Choose a tag to compare

JiraReferenceChecker now checks all Jira issue references, not just comments and todos.

1.1.1

23 Nov 21:35
Compare
Choose a tag to compare

Provided static analysis Checkers now walk the package path provided, before only the top level directory was searched for java files.