Commit Graph

1002 Commits

Author SHA1 Message Date
Lespinasse
d62f3a8ab2 Angular-router is now working great.
Change-Id: Ieebcc2ee28557bdeb710a48c7ef6f8d4e90805b6
2019-07-04 16:13:08 +02:00
Lespinasse
3dd4f19e80 WebUI : Migration from Angular2 to Angular8
Change-Id: I981e429a93ff7b0e16aae5b1a81a5d244404850a
2019-07-03 17:39:28 +02:00
Lespinasse
897b7db8e6 Merge branch 'master' of ssh://git.adacore.com/gnatdashboard
Change-Id: Ia8dd66e3af7c25462132e92b168d23ee5918f3d4
2019-07-03 17:26:43 +02:00
Monika Kurovszky
2186283b24 S623-002: Updating section title to 19.x
Change-Id: I9fa43c05b72792c536e29a252e31fe8d8757f7bf
2019-06-25 08:58:40 +02:00
Monika Kurovszky
30cea46216 GNATdashboard User Manual Introduction update
TN: S621-038, S623-001

Change-Id: Iff322f2c6d6423ef8c7782d47f27c25add7af638
2019-06-25 08:58:25 +02:00
Monika Kurovszky
a26240809e S621-037: Typo fix in User Manual
Change-Id: Id3dc7d6d97c5c649642c725cce1cc3f841eb9941
2019-06-25 07:23:17 +01:00
Monika Kurovszky
7db29085b9 S211-048: reliable technical debt values for Sonar
Technical debt values are updated for Codepeer and
  GNATcheck rules

Change-Id: Icd1b9ebb581cc3dcd1b7200e9327f5511378e5f1
2019-06-12 10:54:21 +02:00
Monika Kurovszky
699da3f5f5 S607-006: GNAThub testsuite regressions fix
Change-Id: Icae4b08e3e9d72e8283c15761245371339cdbd5e
2019-06-07 11:36:58 +02:00
Monika Kurovszky
7e5d12417c S211-048: Sonar Ada adding technical debt infos
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
2019-05-21 17:40:49 +02:00
Monika Kurovszky
2a91e42484 S513-019: adding GNAT checks to GNATcheck rules
Update of GNATcheck rules profile for SonarQube
  Ada plugin with GNAT compilers checks:
    Warnings     - compiler warnings
    Style_Checks - compiler style checks
    Restrictions - checks made by pragma
                   Restriction_Warnings

Change-Id: I5352ffeb498f3efdc5fb7f700526fa090415af72
2019-05-21 16:07:54 +02:00
Monika Kurovszky
1a123aca61 S508-006: Handling spaces in -P switch argument
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
2019-05-20 12:18:40 +02:00
Monika Kurovszky
47aa011555 S508-011: update Sonar Ada default rules profile
Change-Id: If29c15c51f6348bd3baa50566fae1799baff98f3
2019-05-09 16:27:53 +02:00
Monika Kurovszky
8e208b03ca S214-036: update GNAThub testsuite
Deactivate some tests on Darwin since Codepeer is
  no longer built on this plateform

Change-Id: Id633214921685d620ee9848c6f6edee37448542b
2019-03-26 16:02:37 +01:00
Monika Kurovszky
f86c22ca62 P511-010: Add "statements" metric to Sonar Ada plugin
* Save Ada "LSLOC" metric as Sonar "Lines of Code"
    metric
  * Add Ada "all_statements" as Sonar "Statements"
    metric

Change-Id: I9e0e322bcd226e11a61b2191f139b36b0056d117
2019-03-19 14:18:48 +01:00
Monika Kurovszky
1bc0ba9aa1 S214-002: Sonar Ada plug-in test database update
Change-Id: If9ca0af576851e82829bfe66402408d1d46fe750
2019-03-12 11:47:36 +01:00
Anthony Leonardo Gracio
4698d1c018 R501-001: Fix GNATmetric support
Tests have been adapted too.

Change-Id: I626d82c16ca4969fc0d608a5ba3f92ed373d679f
2019-03-08 18:15:21 +01:00
Anthony Leonardo Gracio
ad11533d47 R501-001: Add support for GNATmetric's config block
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
2019-03-08 10:48:34 +01:00
Monika Kurovszky
4f78186fdc S208-002: GNAThub User's Manual update
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
2019-03-06 11:35:55 +01:00
Monika Kurovszky
d3eff8b54e S220-046: Fix for GNAThub --incremental switch
* 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
2019-03-05 15:10:47 +01:00
Monika Kurovszky
29a1c8b924 S211-063: Codepeer plugin test update
Change-Id: Ied759c5469f1e84ffb55ba2a7ea0d1231c1aa61c
2019-02-20 15:58:11 +01:00
Monika Kurovszky
5d4c0a1339 S214-002: updating Codepeer rules generation
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
2019-02-20 14:36:14 +01:00
Monika Kurovszky
f86c6d3d70 S211-063: Codepeer plugin changed to use -out switch
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
2019-02-15 19:35:50 +02:00
Arnaud Charlet
1c30537679 RA18-039 Add codepeer switches
Since codepeer now defaults to level 0.

Change-Id: I3c962285f51db2afa9bd5007f108b87c704e330f
2019-02-11 10:42:38 +01:00
Lespinasse
b4992a9f18 WebUI : Write user documentation
- Created a new chapter in the GNATdashboard documentation
	- Added the print screen

Change-Id: Ibff96de0bc0095be430ebff0e72aaefab6d5d0cb
For: R703-029
2019-02-04 11:04:47 +01:00
Lespinasse
21a435eb4c WebUI : Write user documentation
- Created a new chapter in the GNATdashboard documentation
	- Added the print screen

Change-Id: Ibff96de0bc0095be430ebff0e72aaefab6d5d0cb
For: R703-029
2019-02-01 14:39:54 +01:00