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
65159fcb0b
Updates for issue #220
...
Adding test case to procedure tests.
1) Updated meaning of isProcedureParameterEnd.
2019-03-22 17:52:04 -05:00
Jeremiah C Leary
6f7ae69e55
Updates for issue #220 :
...
Invalid classification of procedure "begin" keyword as a process "begin" keyword.
1) Updated tests to include testcase
2) Updated code to handle testcase
2019-03-22 17:26:42 -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
590463c9f2
Updates for issue #217 :
...
Updated tests for changes between Python 2.7 and Python 3.
1) Fixed issue with ranges being used as initial lists
2) Fixed issue with subprocess returning bytes instead a string
2019-03-17 11:05:30 -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
1948b70444
Updates for Codacy issues:
...
Removing trialing whitespaces.
2019-03-10 12:19:16 -05:00
Jeremiah C Leary
7540896dad
Updates for issue #181 :
...
1) Added tests for vsg_off and vsg_on code tags
2) Added _is_vsg_off method to rule class
3) Added checking of vsg_off to analyze method in rule class
2019-03-10 11:38:15 -05:00
Jeremiah C Leary
f2f0ac5bc9
Updates for issue #181
...
Adding code tag classifier.
2019-03-10 11:09:02 -05: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
e3b548ae5f
Updates for issue #213
...
1) Additional tests added to mirror testing with JSON configurations.
2019-03-09 11:12:44 -06:00
Jeremiah C Leary
643c0a1992
Updates for issue #213
...
Adding support for YAML configurations:
1) Added tests
2) Added parsing of YAML files
2019-03-09 10:57:45 -06:00
Jeremiah C Leary
47e14761f9
Updates for issue #214 :
...
1) Restricted classification of file keyword to include a space afterwards.
2) Updated tests
2019-03-09 09:59:01 -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
d32e628e4f
Updates for issue #210
...
Refactored architecture fix tests to ues the setUp method.
2019-03-02 07:29:07 -06:00
Jeremiah C Leary
f7bc19369d
Updates for issue #211
...
Attempting to replicate problem, but so far can not replicate the problem.
The testing has been enhanced for this rule.
2019-03-02 07:23:32 -06:00
Jeremiah C Leary
27d86f58c4
Updates for issue #201
...
Globbing of 'file_list' in configurations are now supported.
2019-02-24 13:58:02 -06:00
Jeremiah C Leary
183b9f5c18
Updates for issue #193
...
The class vhdlFile now takes a list instead of a file name.
This removes the responsibility of reading the file from the vhdlFile class.
Which allows for better integration into other tools.
2019-02-24 12:49:25 -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
f415d9c16f
Updates for issue #212
...
1) Enhancing fix test for instantiation_015
2019-02-24 10:26:56 -06:00
Jeremiah C Leary
25cd3157d0
Updates for issue #212
...
1) Refactored tests to use setUp procedure for generic tests
2019-02-24 10:07:05 -06:00
Jeremiah C Leary
c8a026dbc8
Update issue #212
...
1) Refactored generic tests into new file from instantion test file
2019-02-24 10:03:19 -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
Jeremiah C Leary
3f094345a2
Updates for issue #208
...
1) Added "when" attributes to line object
2) Added classification of "when" constructs
3) Added tests
2019-02-17 09:28:19 -06:00
Clifton Somers
aca8cce884
successfully implemented process label fixingw
2019-02-16 14:04:23 -06:00
Jeremiah C Leary
5f5eee4571
Updates for issue #203
...
Made process detection ignore commented out code.
1) Updated test
2) Updated classifier
2019-02-11 18:13:50 -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
4319bb81a6
Refactoring signal tests to use setUp function.
2019-02-10 20:27:44 -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
4d99ed5364
Updates for issue #200
...
Was able to duplicate the issue with a test. Currently on type_006 test is failing.
2019-02-10 19:45:50 -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
82fe3c0a1f
Updates for issue #199
...
Added fix test for generate_008
2019-02-05 17:06:40 -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
436d5c7bb7
Updates for issue #198
...
Fixed issue when signal names starting with "end_" were classified as an architecture end:
1) Added test
2) Updated classification
2019-02-05 16:34:07 -06:00
Jeremiah C Leary
b56440ea03
Adding error test case for local rules.
2018-12-18 09:07:03 -06:00
Jeremiah C Leary
f2bf6e8ede
Adding tests for local rules to improve code coverage.
2018-12-18 09:02:57 -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