TOPIC: Custom-coded metrics - Minimum requirements

Custom-coded metrics - Minimum requirements 2 months 2 weeks ago #62

  • javier-fernandez
  • javier-fernandez's Avatar
  • Offline
  • Administrador
  • Posts: 51
  • Thank you received: 1
  • Karma: 0
Hello everyone!

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 new ones
  • .NET Framework 4.0
  • 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)
  • o Cake.Engine
    o Cake.ConnectionFactory
    o Cake.IConnectionFactory
    o Cake.Indexer
    o Rqa.Dal
    o Rqa.IndividualMetrics

After having the code done and built, then you need to provide the following information to RQA:
  1. 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.
  2. Class: the name of the class in the project. RQA should help you choosing this field using the provided assembly.
  3. 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.

On the other hand, the “Appendix” is the last chapter in the Help Guide (chapter 8 ). It is a chapter for extra documentation related to RQA/RAT.

Bye! :D
Last Edit: 2 weeks 5 days ago by javier-fernandez.
The administrator has disabled public write access.