Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For objects, you will have configured items in the XXXMetaModel.xml file as follows:

Code Block
languagexml
themeDJango
<type name="CAST_AngularJS_ModelVariable" id="1020010">
	<description>AngularJS Model variable</description>
	<inheritedCategory name="CAST_AngularJS_Scope" />
	<inheritedCategory name="UAObject" />
	<inheritedCategory name="METRICABLE" />
	<inheritedCategory name="HTML5" />
	<attribute name="AUTO_FOLDER_THRESHOLD" intValue="1"/>
	<tree parent="CAST_HTML5_Enlighten" category="EnlightenTree" />
</type>
<type name="CAST_AngularJS_ModelFunction" id="1020011">
	<description>AngularJS Model function</description>
	<inheritedCategory name="CAST_AngularJS_Scope" />
	<inheritedCategory name="UAObject" />
	<inheritedCategory name="METRICABLE" />
	<inheritedCategory name="HTML5" />
	<attribute name="AUTO_FOLDER_THRESHOLD" intValue="1"/>
	<tree parent="CAST_HTML5_Enlighten" category="EnlightenTree" />
</type>

...

For objects, you will have configured items as follows:

Code Block
languagexml
themeDJango
<?xml version='1.0' encoding='utf-8'?>
<root>
  <metric id='1020500' type='quality-rule' originalName='Avoid the use of the default JavaScript implementation [].forEach in AngularJS web app' active='true' detached='false' ignored='false' />
  <metric id='1020502' type='quality-rule' originalName='Avoid the use of JSON.parse and JSON.stringify in AngularJS web app' active='true' detached='false' ignored='false' />
  <metric id='1020504' type='quality-rule' originalName='Avoid using the call of web service with AngularJS $http inside a loop' active='true' detached='false' ignored='false' />
</root>

...

  • A new page will be displayed containing two sections:
    • One to reserve Object ID ranges
    • One to reserve Quality Rule ID ranges (you will need to scroll down to view this section)

Image Added

  • To reserve an ID range click either Reserve Object ID Range or Reserve Rule ID Range, depending on the IDs you require:

...