GNATcheck rules generation are based on
* "gnatcheck -h" output when are generated
without specific technical debt infos
* "gnatcheck -dR -h" output when are generated
with specific technical debt infos
CodePeer rules generation are based on
* "codepeer --list-categories" output when are
generated without specific technical debt
infos
* "codepeer --list-categories-with-debts" output
when are generated with technical debt infos
* Update of README file related to different
.xml files generation used for default Sonar
Ada profile
Change-Id: Id3f1840317d54b53ecfa87f8b16fbcc26c02e4a3
Handling blank spaces in folder names passed as
-P switch argument in GNAThub command line.
Specific testcase added based on simple project.
Change-Id: I259e7982a101eae399f2cb11357f627def35a9b7
* Save Ada "LSLOC" metric as Sonar "Lines of Code"
metric
* Add Ada "all_statements" as Sonar "Statements"
metric
Change-Id: I9e0e322bcd226e11a61b2191f139b36b0056d117
By default, GNATmetric now creates a config block in the
generated XML to map metric names with pretty-printed names
(i.e: the names that should be displayed in graphical
applications).
Change-Id: Ie2a844fc55b124582396829f96f062fad7d6225c
Installation section update in order to be more
specific about how to install GNATdashboard and
update properly the SonarQube server with the
corresponding Sonar Ada plugin.
Change-Id: Ia3579d75d1d918ff4c5aabd8ca4b5528d0c1c910
* For all GNAThub tool plugins:
Method clear_references for current tool is
called only if it is not incremental mode for
GNAThub run specified in command line
* __init__.py and gnathub-python.adb:
Add "incremental" command interface available
for GNAThub in Python
* gnathub-python-database.adb:
Tool/add_messages command:
It is used for bulk addition at tool level.
Additional check added in order to ensure
that no duplicated messages will be added
to database (usefull for incremental mode).
Message/Constructor_Method:
In order to avoid duplicate messages when
new properties are associated to an already
present message, only messages properties
entries will be created.
* codepeer-mocked/test.py and test.out:
Removing test from testsuite since replaced
codepeer/test.py
* create-message-with-property.py:
Update test according to the changes related
to Message/Constructor_Method
* test-incremnetal:
Testcase added to test incremental switch
usage effect on database
Change-Id: I21271b8d1116ccb61aa062c39215cb18db792a7b
All rules listed by Codepeer --list-categories
switch are generated in codepeer.xml in order
to get all the rule names that can be encountered
during different level runs
Change-Id: Iac4a24cae476d64b49a3a7096a052db2920544ea
Level 0 warnings was added to generated .csv file
causing confusion in the parser.
The use of Codepeer -out switch allows to generate
a proper .csv file.
Setting Codepeer run level in .gpr file at level 3
TO BE DONE:
The mocks part is deactivated and will be replaced
by equivalent checks related to this change.
Change-Id: Ib47c0260f940516801144f139f6922ba746aaa6e