Skip to main content

Metrics for verifying application quality

The Application Quality landing page is essential to the role of a Lead System Architect (LSA), just like the rest of Dev Studio. As an LSA, you not only implement functionality based on requirements, but also need to ensure that the new functionality works correctly and meets established quality standards. It is necessary for you to monitor trends in application quality and see whether it improves or declines over time. Application quality affects the rate at which the application moves through a DevOps pipeline, and the rate at which development teams can include new features. 

The Application Quality landing page provides configurable settings related to quality metrics. You can change the default settings for the displayed metrics to meet your business needs.

Settings

Establishing standard practices for your development team can prevent issues and enable you to focus on delivering new features to your users. These practices are reflected in settings that include:

Setting Description Effect
Applications included Current application or include built-on applications If Include Built-On Applications is selected, users can select which built-on applications to include.
Guardrails Ignore test rulesets when calculating the guardrails score. Default value is true. When true, excludes test rulesets from the guardrail score unit test setup activities and data transforms that are inside test rulesets.
Quality trend interval Two weeks to 6 months Defines the quality trend interval period.
Test execution look-back duration One week to 6 months Defines the Test run look-back duration.
Scenario test case execution Configure delay for scenario test execution? Default value is false. Enables or disables a scenario test case run delay.

For more information about how to change application quality metrics settings, see Application quality metrics settings.

Rule-coverage testing

The Application Quality landing page displays metrics for guardrails, test coverage, and unit testing that you can use to assess your application's overall health and identify areas that require improvement.  

On the Test Coverage landing page, you can view a chart displaying test coverage metrics and generate specific user-level, application-level, and merged coverage reports. User-level reports contain the results of a single test coverage session that a user performs. Different users can simultaneously perform their own user-level tests. In contrast, application-level reports contain results from multiple test coverage sessions that many users run. Merged reports contain results from several of the most recent application-level reports. 

The following examples are use cases for rule-coverage testing:

  • A team is building or modifying an application and works on a sample application that is built on top of the actual application and maintains test artifacts in the test application. The team wants to generate a test coverage report of the actual application by running the test application tests for the current application or built-on applications.
  • The team also wants to generate a test coverage report as part of the automated tests run in the continuous integration and continuous delivery (CI/CD) pipeline and use it for quality-gating purposes. 
Coverage and unit test rules Coverage-only rules
Activities
Case types
Collections
Data pages
Data transforms
Decision tables
Decision trees
Declare expressions
Flows
Map values
Report definitions
Strategies
When

Correspondence
Decision Data
Declare Trigger
File Listeners
Flow action
Harness
HTML
HTML Fragment
Paragraph
Queue processors
Scorecard
Section
Validate
XML Stream

For more information, see Estimating test coverage

 

Check your knowledge with the following interaction:


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice