Metrics calculated for Mule projects
Mule Metrics
Various metrics will be calculated by IZ Analyzer for the mule application on successful analysis. Below are the details of available metrics -
|
Metric Name |
Metric Key |
Description |
---|---|---|
Flows |
|
Total Number of flows in the mule application |
Database Connectors |
|
Total Number of database connectors used in the mule application |
Batch Jobs |
|
Total Number of batch jobs used in the mule application |
File Connectors |
|
Total Number of file connectors used in the mule application |
FTP Connectors |
|
Total Number of FTP connectors used in the mule application |
Loggers |
|
Total Number of loggers used in the mule application |
VM Connectors |
|
Total Number of VM connectors used in the mule application |
Web Service Consumers |
|
Total Number of Web Service consumers used in the mule application |
Dataweave Transformers |
|
Total Number of Dataweave transformers used in the mule application |
Total APIs |
|
Total Number of APIs exposed in the mule application |
HTTP Listeners |
|
Total Number of HTTP Listeners used in the mule application |
HTTPS Listeners |
|
Total Number of HTTP Listeners used in the mule application |
Debug Loggers |
|
Total Number of Debug Loggers used in the mule application |
Info Loggers |
|
Total Number of Info Loggers used in the mule application |
Error Loggers |
|
Total Number of Error Loggers used in the mule application |
Trace Loggers |
|
Total Number of Trace Loggers used in the mule application |
Warn Loggers |
|
Total Number of Warn Loggers used in the mule application |
Global Exception Handler |
|
Indicates if Global Exception handling is configured in the application |
Scripting Components |
|
Total Number of Scripting Components used in the mule application |
MUnit Exists ? |
|
Indicates if the Mule project has MUnit test cases |
Mule Version |
|
Indicates if the Mule project version |
Project Score |
|
Total score of the mule project based on number of Blocker, Major, Critical, Minor, Info issues. Details of how the project score will be calculated can be found below - |
Project Grade |
|
Rating of the Mule project based on project score |
Project Score Calculation
-
Why do we need project score ?
-
Project analysis to show bugs, vulnerabilities and issues is NOT ENOUGH
-
Static rules dictate ANY issues in the project - from minor/info issues to critical bugs
-
Quality gate works mainly works based on number of issues of a particular type to determine whether the project passes the quality check or not (ie. the quality gate could be set up to ignore all the errors too and hence not a reliable indicator!)
-
There is no one metric that we can use to qualitatively analyze the QUALITY of the project!
-
-
What does generating project score provide?
-
Single score used to find out how the project is doing at a summary level
-
Provides an indicator to the overall quality of the project without hiding anything
-
Can be used to aggregate the score at groups of projects/organization level
-
-
How is a project score calculated?
-
Project score is calculated based on number of Blocker, Major, Critical, Minor, Info issues.
-
Each of the above issue types will be given a default weightage (Organization can customize the default weightage)
-
Each project in the organization has a calculated graded average calculated based on weightage set and individual metrics
-
Project Score is also represented as a project grade as below:
-
Score Range |
Grade |
---|---|
>90 |
|
70-90 |
|
50-70 |
|
30-50 |
|
<30 |
|