Skip to main content

Associate type to variables

Summary

All variables in the source code should have an associated type.

Description

The data type of a variable defines the kind of data it can hold, such as integers, floating-point numbers, characters, strings, or custom data structures. Explicit typing contributes to type safety, ensuring that operations on variables are performed with appropriate types. This can help to properly catch potential errors.

Supported In

This requirement is verified in following services

PlanSupported
Machine🔴
Squad🟢

References

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.