Rule Definition
To preserve code functionality and for better readability and to avoid unexpected behavior, always explicitly use a name for OData Model.
Remediation
Always use a name for each OData Model.
Violation Code Sample
"models": {
"i18n": {
"type": "sap.ui.model.resource.ResourceModel",
"settings": {
"bundleName": "serviceinvocations.i18n.i18n"
}
},
"": { //violation
"dataSource": "Service_PP",
"preload": true,
"settings": {
"defaultCountMode": "Inline",
"useBatch": true
}
}
Related Technologies
Technical Criterion
Programming Practices - Structuredness
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.