-
Notifications
You must be signed in to change notification settings - Fork 16
Release 5.1.0 #243
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
Release 5.1.0 #243
Conversation
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
* Bug fix: parsing errors (COM.NAME.Homonymy: Location unreachable or IndexOutOfBoundsException) were produced when analyzed files contained declaration of functions or subroutines with modifiers Recursive, Elemental or Pure * Bug fix: Parsing error (IndexOutOfBoundsException) was produced when a file only contains comments, no source code. Also a JFlexException was thrown in the case of a file without code nor comments. The throw for this Exception has been removed to avoid parsing errors in the results. * Bug fix: a parsing error (IndexOutOfBoundsException) was produced when analyzing files that included sentences like "PROCEDURE(proc_interface), POINTER :: proc" * Rule for checking that lines of code in a file don't exceed a threshold of LOC (set at 1000). Only lines of code are taken into account, comments and blank lines are ignored. * Rule for checking that lines of code in procedures don't exceed a threshold of LOC (set at 150). Only lines of code are taken into account, comments and blank lines are ignored. * Rule ArgumentsProcedure Rule to check the maximum number of arguments in each procedure, which must be at most 7. * Rule CyclomaticComplexity Rule to check the maximum value of the cyclomatic complexity in each function, which at most must be 15. * Rule LogicUnit Rule to check that only one module or program is declared in each file. * Rule PercentageComment Rule to check that in each file there are at least 30% of lines of comments with respect to the total number of lines. * Rule CommentVar * Rule Header * Change new rules names to RNC rules * Change name in comment * Update fortran77-rules/src/main/resources/lex/COMFLOWCheckArguments.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran77-rules/src/main/resources/lex/COMFLOWCheckArguments.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran77-rules/src/main/resources/lex/COMMETComplexitySimplified.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran77-rules/src/main/resources/lex/COMMETComplexitySimplified.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran77-rules/src/main/resources/lex/COMMETLineOfCode.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran77-rules/src/main/resources/lex/COMMETLineOfCode.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMMETLineOfCode.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMFLOWCheckArguments.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran77-rules/src/main/resources/lex/COMMETRatioComment.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran77-rules/src/main/resources/lex/COMMETRatioComment.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMMETRatioComment.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMMETRatioComment.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMMETLineOfCode.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMMETComplexitySimplified.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMMETComplexitySimplified.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Update fortran90-rules/src/main/resources/lex/COMFLOWCheckArguments.lex Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com> * Remove unused variable numTotal * Header updated to reflect this rule is not defined in RNC. * Test cases for new rules --------- Co-authored-by: Ana Díaz Muñoz <adiaz@aqclab.es> Co-authored-by: Ana Díaz Muñoz <120630965+adiaz-aqclab@users.noreply.github.com> Co-authored-by: Diego <diego.rodriguez@cnes.fr> Co-authored-by: Diego Rodriguez <63045276+diegorodriguez31@users.noreply.github.com>
Bumps ant from 1.10.4 to 1.10.11. --- updated-dependencies: - dependency-name: org.apache.ant:ant dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20190722 to 20231013. - [Release notes](https://github.com/douglascrockford/JSON-java/releases) - [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md) - [Commits](https://github.com/douglascrockford/JSON-java/commits) --- updated-dependencies: - dependency-name: org.json:json dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
dev31520
approved these changes
Jan 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.