All languages, natural and programming, have rules and styles in how to write. These rules and styles mainly aim to make sure that anyone, who understand a language, can understand what the sentence say. In other words, the aim of rules and styles in a language is to deliver an information to reader, and the reader must get the right information. The literature review shows a lack of studies focusing on the code writing standards measurement processes. In this paper, we proposed a framework that can be applied on any programming language, using any standard of that language.