Patent 9940104 was granted and assigned to Microsoft on April, 2018 by the United States Patent and Trademark Office.
Source code statements are automatically generated from a profile including variable code elements and methods. The profile is built from an existing code base that has identified variable code elements that differ when used in different versions of the source code statements. A developer may define values for the variable code elements which are then used by the methods in the profile to automatically generate corresponding source code statements.