A system comprising: a memory configured to store executable components; and a processor, operatively coupled to the memory, that is configured to execute the executable components, the executable components comprising: a machine learning-based analysis engine configured to identify a variable that is available to be utilized in control logic for controlling an industrial automation environment; the machine learning-based analysis engine further configured to determine that the variable is not utilized in the control logic; a determination component configured to determine a recommendation to add the variable to the control logic based on a frequency of utilization of the variable in control logic for controlling industrial automation environments of the same type as the industrial automation environment; wherein the frequency of utilization of the variable is determined based on information derived from one or more control code repositories to which the system is communicatively coupled; a recommendation component configured to, in an industrial programming environment, surface a recommendation to add the variable to the control logic on a Graphical User Interface, GUI; and a programming component configured to, in response to an input accepting the recommendation to add the variable to the control logic, add the variable to the control logic. a memory configured to store executable components; and a processor, operatively coupled to the memory, that is configured to execute the executable components, the executable components comprising: a machine learning-based analysis engine configured to identify a variable that is available to be utilized in control logic for controlling an industrial automation environment; the machine learning-based analysis engine further configured to determine that the variable is not utilized in the control logic; a determination component configured to determine a recommendation to add the variable to the control logic based on a frequency of utilization of the variable in control logic for controlling industrial automation environments of the same type as the industrial automation environment; wherein the frequency of utilization of the variable is determined based on information derived from one or more control code repositories to which the system is communicatively coupled; a recommendation component configured to, in an industrial programming environment, surface a recommendation to add the variable to the control logic on a Graphical User Interface, GUI; and a programming component configured to, in response to an input accepting the recommendation to add the variable to the control logic, add the variable to the control logic. a machine learning-based analysis engine configured to identify a variable that is available to be utilized in control logic for controlling an industrial automation environment; the machine learning-based analysis engine further configured to determine that the variable is not utilized in the control logic; a determination component configured to determine a recommendation to add the variable to the control logic based on a frequency of utilization of the variable in control logic for controlling industrial automation environments of the same type as the industrial automation environment; wherein the frequency of utilization of the variable is determined based on information derived from one or more control code repositories to which the system is communicatively coupled; a recommendation component configured to, in an industrial programming environment, surface a recommendation to add the variable to the control logic on a Graphical User Interface, GUI; and a programming component configured to, in response to an input accepting the recommendation to add the variable to the control logic, add the variable to the control logic.