Action Classes should only be called by Action Mappings tag (for Struts 1.x) or Action tag (for Struts 2.x) | CAST Appmarq

Action Classes should only be called by Action Mappings tag (for Struts 1.x) or Action tag (for Struts 2.x)


Rule Definition
Action Classes should only be called by Action Mappings to respect struts pattern design

Remediation
Use the action mapping table in struts configuration file instead of direct call.

Related Technologies
JEE

Health Factor

  Total Quality Index


Technical Criterion
Architecture - Multi-Layers and Data Access

About CAST Appmarq

CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.

Benchmark Statistics

Global Compliance

73.87%

Total Violations
8,115
Total Opportunities
31,053
Average Violations / App.
37.40
The compliance score represents 1 minus the ratio between the number of times a rule has been violated compared to the number of opportunities in a set of applications that the rule could have been violated.

Industry Insights

Manufacturing

52.93%

Financial Services

85.31%

Software ISV

74.99%