Commit Graph

365 Commits

Author SHA1 Message Date
Jeremiah C Leary f42e698c31 Updates for issue #219
Changed utilities to utils.
2019-03-23 07:43:53 -05:00
Jeremiah C Leary 74778a393d Updates for issue #220:
Completed bug fix:

  1)  Added rule procedure_006
      a)  Added documentation
      b)  Added test
      c)  Added rule
  2)  Fixed misclassification of procedure parameters as variable assignments
      a)  Enhanced tests for procedures
      b)  Enhanced tests for variable_assignments
      c)  Fixed variable_assignment classifier to ignore component parameters
2019-03-23 07:29:22 -05:00
Jeremiah C Leary 1a0e98a2d5 Combining whitespace_009 and whitespace_010 to improve code climate.
1)  Updated tests
  2)  Updated documentation
  3)  Removed whitespace_009
2019-03-21 18:20:23 -05:00
Jeremiah C Leary ab5445cbe6 Removing unused import identified by codacy. 2019-03-19 22:18:40 -05:00
Jeremiah C Leary 352f534084 Refactored the following rules for codeclimate:
generic_010
  instantiation_007
  type_008
2019-03-19 22:11:14 -05:00
Jeremiah C Leary 5e5a7b46d4 Refactoring process_019 and generate_012 for codeclimate. 2019-03-19 21:16:43 -05:00
Jeremiah C Leary 522ba311a3 Refactoring rules for codeclimate. 2019-03-10 22:10:33 -05:00
Jeremiah C Leary 5492ab2564 Updates for Codacy.
1)  Removing more trailing whitespace
2019-03-10 12:29:11 -05:00
Jeremiah C Leary 6a04dae1c3 Updates for issue #181
1)  Adding vsg off checking to rules which override the base rule class analysis method.
2019-03-10 11:50:46 -05:00
Jeremiah C Leary 7cb56ab8f0 Updates for issue #181
Addition refactoring of existing rules to support implementing in file tags.
2019-03-09 18:34:41 -06:00
Jeremiah C Leary 5ff634025c Updates for issue #181
Refactoring more rules to support implementing in file tags.
2019-03-09 16:42:31 -06:00
Jeremiah C Leary 2fd456aec3 Updates for issue #181
Refactoring rules to support implementing in file tags.
2019-03-09 15:38:39 -06:00
Jeremiah C Leary 017b41bb03 Updates for issue #181
Refactoring base rule class so it iterates through the lines of a file.
2019-03-09 15:07:25 -06:00
Jeremiah C Leary 0cfb0f0e5c Updates for issue #215:
Moving the else keyword in a when statement.

  1)  Added documentation for the new rule
  2)  Added tests
  3)  Added rule to move the else keyword if it is at the beginning of a line.
2019-03-09 12:56:59 -06:00
Jeremiah C Leary 48563434cd Updates to address codeclimate issues. 2019-03-02 09:29:53 -06:00
Jeremiah C Leary ddf6b89587 Updates for Codacy issues. 2019-03-02 09:13:33 -06:00
Jeremiah C Leary a974530bb5 Updates for issue #204
Added rule to handle generate label and generate keyword not on the same line:

  1)  Added generate_015 to flag label and keyword not on the same line
  2)  Added tests
  3)  Added documentation
  4)  Improved classification of generates to detect label and keyword not on the same line

NOTE:  This is currently not fixable.
2019-03-02 08:57:01 -06:00
Jeremiah C Leary ba0efcec89 Updates for issue #210
1)  Architecture name is now added to the end architecture line
  2)  Updated tests
2019-03-02 08:00:13 -06:00
Jeremiah C Leary fa3333082b Updates for issue #212
Adding rule instantiation_030 to enforce a single space after => operator in generic maps.

  1)  Added tests
  2)  Added documentation
  3)  Added rule
2019-02-24 10:39:28 -06:00
Jeremiah C Leary 15d39274c3 Updates for issue #206
1)  Fixing Codacy issues
2019-02-24 09:42:29 -06:00
Jeremiah Leary e17268a60a
Merge pull request #209 from csomers82/master
Added process label tracking for process_018
2019-02-24 09:27:09 -06:00
Jeremiah C Leary a51c390771 Updates for Codacy issues. 2019-02-17 09:49:32 -06:00
Clifton Somers aca8cce884 successfully implemented process label fixingw 2019-02-16 14:04:23 -06:00
Jeremiah C Leary 78ba6e0706 Updates for issue #197
1) Renumbering signal_009 to signal_013 to ensure it runs after signal_012.
2) Fixed code examples
2019-02-10 22:20:29 -06:00
Jeremiah C Leary 2c3f804678 Updates for issue #197
Added fix logic to align the second signal in lines that have two signals defined.
2019-02-10 22:04:23 -06:00
Jeremiah C Leary 0071d57703 Updates for issue #197
Added rule to check for mis-aligned second signal in multiply declared signals on a single line.

  1)  Added documentation
  2)  Added test

NOTE:  Still need to write the fix function
2019-02-10 21:42:04 -06:00
Jeremiah C Leary e85444c7d0 Updates for issue #200
Added fix for bug if "is" was in the type name it would get a space in front of it due to rule type_006.
2019-02-10 20:04:20 -06:00
Jeremiah C Leary 3a44c978e2 Updated for issue #194
Added whitespace_012 to enforce a maximum number of consecutive blank lines.

  1)  Added documentation
  2)  Added test
  3)  Added rule
2019-02-05 19:34:20 -06:00
Jeremiah C Leary 0a428dc19e Updates for issue #199
Adding generate_014 rule:

  1)  Added test
  2)  Added rule
  3)  Added documentation
2019-02-05 18:27:48 -06:00
Jeremiah C Leary 071be18b73 Updates for issue #199
Adding generate_013 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:44:15 -06:00
Jeremiah C Leary 41fc880100 Updates for issue #199
Adding generate_012 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:29:21 -06:00
Jeremiah C Leary b51d6d0741 Updates for issue #199
Added generate_011 rule

  1)  Added test
  2)  Added rule
2019-02-05 17:21:59 -06:00
Jeremiah C Leary 321402c013 Updates for Issue #199
Adding generate_010 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:17:11 -06:00
Jeremiah C Leary ef3448d900 Updates for issue #199
Added generate_009 rule:

  1)  Added test
  2)  Added rule
2019-02-05 17:11:38 -06:00
Jeremiah C Leary 33282679f1 Updates for issue #199
1) Added documenation for generate rules 008 through 012
  2) Rule 008 added
     a)  Added test
     b)  Added rule
2019-02-05 16:56:20 -06:00
Jeremiah C Leary 9a68c25937 Fixing issues identified by Codacy. 2018-12-18 08:43:16 -06:00
Jeremiah C Leary b71322773e Updates for issue #192
Removing rule variable_011 because it was obsoleted by process_031

  1)  Updated documentation
  2)  Updated tests
  3)  Removed rule variable_011
2018-12-17 21:16:16 -06:00
Jeremiah C Leary bf9f5779cd Updates for issue #192
1)  Reduced scope of constant_009 to the architecture declaritive region
  2)  Refactored constant fix tests to be independent using the setUp method
  3)  Updated documentation
2018-12-17 21:03:35 -06:00
Jeremiah C Leary 59d097ed73 Updates for issue #192
Worked out all the issues with the new rule.

  1)  Updated documentation
  2)  Updated check and fix classes to support new rule
  3)  Updated tests
  4)  Updated rule to work correctly
2018-12-17 19:31:43 -06:00
Jeremiah C Leary 97450b89b6 Updates for issue #192
1)  Moved whitespace_012 to process_031
  2)  Added checks for alignment of colons
  3)  Added documentation
2018-12-16 10:49:27 -06:00
Jeremiah C Leary aa6e59bcdc Updates for issue #192
Added initial whitespace_012 to detect alignment of identifiers in processes.

  1)  Added test
  2)  Added rule
2018-12-15 10:02:43 -06:00
Jeremiah C Leary ec35a15d3a Updates for issue #191
Added rules case_019 and case_020 to remove labels on case statements:

  1)  Added rule case_019
  2)  Added rule case_020
  3)  Added documentation
  4)  Added tests
  5)  Fixed mis-classification of cases with labels
2018-12-12 19:03:15 -06:00
Jeremiah C Leary e8de82199d Updates for codacy issues. 2018-12-12 15:45:40 -06:00
Jeremiah C Leary 6957c0d62f Updates for issue #190
Fixed crashing issue if port mode was not defined.

  1)  port_018 now checks if mode is defined before checking if port type is lowercase
  2)  Added port_023 to check for existance of port mode
  3)  Added tests
  4)  Added documentation
2018-12-12 11:41:20 -06:00
Jeremiah C Leary 5d1881a153 Updates for issue #187
Fixed variable : alignments so process variables are not aligned between processes or with variables in the architecture declarative region.

  1)  Restricted variable_009 to only operate in the architecture declarative region
  2)  Added variable_011 to align :'s in processes
  3)  Added/Updated tests
  4)  Added and updated documentation
2018-12-12 10:28:34 -06:00
Jeremiah C Leary 3123a1ff7f Updates for issue #188
Added feature to ensure a blank line before the first "if" statement unless there is a comment.

  1)  Added tests
  2)  Added documentation
  3)  Updated tests to match new rule
2018-12-12 09:54:25 -06:00
Jeremiah C Leary df768040a4 Updates for issue #185
Added rule signal_011 to lowercase all signal names.

  1)  Added rule signal_011
  2)  Made signal_010 disabled by default
  3)  Updated documentation
  4)  Added tests
2018-12-07 18:46:34 -06:00
Jeremiah C Leary c3717b1064 Updates for issue #170
Adding whitespace_011 to enforce at least a single space around math operators.

  1)  Added test
  2)  Added documentation
  3)  Added rule
  4)  Updated code example fixed files
2018-12-07 12:54:08 -06:00
Jeremiah C Leary 43e0259612 Updates for issue #154
Added process_030 to detect a single signal on a single line of a process sensitivity list, minus the last line.

  1)  Added test
  2)  Added rule
  3)  Added documentation
2018-12-06 17:44:32 -06:00
Jeremiah C Leary 56419e0bde Updates for issue #109
Added if_030 to enforce at least one blank line after the last "end if" keyword.

  1)  Added rule
  2)  Added tests
  3)  Updated fixed code examples
  4)  Updated if spliting rules to clear the isLastEndIf line attribute
2018-12-06 16:52:35 -06:00