The code contains too many hard coded absolute file system paths in include directives
Why you should care
In order to ease change and to hide platform specific information from any potential misuse, it is highly recommended to use SAP ABAP logical paths instead of hard-coded paths.
Use standard SAP ABAP logical paths instead of hard-coded paths and the standard ABAP function “FILE_GET_NAME” instead.
How we detect
This Code Insight counts one occurrence each time a hard-coded path is detected.
About CAST and Highlight’s Code Insights
Over the last 25 years, CAST has leveraged unique knowledge on software quality measurement by analyzing thousands of applications and billions of lines of code. Based on this experience and community standards on programming best practices, Highlight implements hundreds of code insights across 15+ technologies to calculate health factors of a software.