The custom-coded metric is an extensibility from RQA that allows users to develop their own quality metrics. Not only for Correctness, it is able for Completeness and Consistency.
Dealing with Custom-coded metrics is not a easy task. There are some requirements important to take care before starting:
Visual Studio 2010 or newer
.NET Framework 4.5
The code language shall be C# or .NET
In order to access to the functions of RQA, it is necessary to add the following references (that you MUST get from the RQA installation path)
After having the code done and built, then you need to provide the following information to RQA:
Assembly: the .DLL file generated after building the project. It is necessary to include the entire path of the .DLL file or add it into the RQA installation path.
Class: the name of the class in the project. RQA should help you choosing this field using the provided assembly.
Method: the name of the method containing the code of the metric. RQA should help you choosing this field using the provided class.
As you can see, it is necessary to have some background in developing code. I attached an example of an entire project.
IMPORTANT: In order to let RAT or RAT Plugin (for DOORS or Integrity) to work with this custom-coded metrics, it is necessary to have fully access to the assembly (DLL file). We recommend storing the DLL in a shared folder or network drive so every tool can access to it. There is another way that is duplicating and storing the DLL on the Installation folder of each tool.
Last Edit: 1 month 3 days ago by javier-fernandez.
The administrator has disabled public write access.