1, program code, about the computer program to apply for a patent for invention, you need technical effect to apply for a patent.
2, art design, art design applied to industrial products can apply for a patent for design.