Code integrity

Code integrity

Code integrity is a measurement used in software testing. It measures the how high is the source code's quality when it is passed on to the QA, and is affected by how extensively the code was unit tested and integration tested. Code integrity is a combination of code coverage and software quality, and is usually achieved by unit testing your code to reach high code coverage.

With code integrity, the developer can be sure that his code is written correctly when passed on to QA. This is, in fact, the expected quality level of the code. Code integrity helps companies release better products, with fewer bugs, in a shorter time.

Companies who practice code integrity avoid the classic scenario where the development stage is delayed, delaying the QA stage, delaying the release stage. The product is released with more bugs (due to time pressure), users report tons of bugs back to the development team, and they start working on version 1.1 shortly after releasing version 1.0, just to fix bugs that could have been avoided.

The QA department can’t measure the code’s integrity even after all their tests are run. The only way to measure code integrity, and be sure of your code, is by unit testing your code, and reaching high code coverage.

Improve Code integrity by:

  • Unit testing the code
  • Integration testing
  • Assigning a code integrity manager

Advantages of working with code integrity:

  • Shorter development time - bugs that are found during the development stage are fixed faster and easier than bugs found in later stages.
  • Lower development costs – It’s cheaper to fix bugs that are found during the development stage than in later stages.
  • Confidence in your code’s quality – Releasing products with high code integrity means more positive feedback fomfrom your customers.
  • Makes the QA’s work much more efficient – The QA concentrates on testing the system, without worrying about bugs that could have been easily found through proper unit testing.

Measuring code integrity:

To measuring code integrity, use the following formula: 1 - (Non-covered bugs)/(Total bugs)

In words:, the 100% code integrity minus the number of bugs that weren’t covered by unit testing, divided by the total bugs found during the entire product cycle., including development is the code not in integrity.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Code Co-op — Developer(s) Reliable Software Initial release 1996; 14 years ago (1996) Stable rele …   Wikipedia

  • integrity — noun 1 quality of being honest and firm in your moral principles ADJECTIVE ▪ great, high ▪ absolute, complete (both esp. BrE) ▪ personal ▪ academic …   Collocations dictionary

  • Code of ethics in media — The code of ethics in media was created by a suggestion from the 1947 Hutchins Commission. They suggested that newspapers, broadcasters and journalists had started to become more responsible for journalism and thought they should be held… …   Wikipedia

  • Code Of Ethics — A guide of principles designed to help professionals conduct business honestly and with integrity. A code of ethics document may outline the mission and values of the business or organization, how professionals are supposed to approach problems,… …   Investment dictionary

  • code —   n.    1. a designation assigned to a particular key combination for reference when additional keys or cylinders may be needed. See also, blind code , direct code , and key symbol    2. a standard for Life Safety, structural integrity, fire… …   Locksmith dictionary

  • Code of honor — Honor Hon or ([o^]n [ e]r), n. [OE. honor, honour, onour, onur, OF. honor, onor, honur, onur, honour, onour, F. honneur, fr. L. honor, honos.] [Written also {honour}.] 1. Esteem due or paid to worth; high estimation; respect; consideration;… …   The Collaborative International Dictionary of English

  • Code of Indian Offenses — What follows is the literal text of the Code of Indian Offenses. R U L E S GOVERNINGTHE COURT OF INDIAN OFFENSES DEPARTMENT OF THE INTERIOR, OFFICE OF INDIAN AFFAIRS,Washington, March 30, 1883.SIR: Your special attention is directed to the… …   Wikipedia

  • integrity — noun Etymology: Middle English integrite, from Middle French & Latin; Middle French integrité, from Latin integritat , integritas, from integr , integer entire Date: 14th century 1. firm adherence to a code of especially moral or artistic values… …   New Collegiate Dictionary

  • integrity — noun /ɪnˈtɛɡɹəti/ a) Steadfast adherence to a strict moral or ethical code. b) The state of being wholesome; unimpaired Syn: honesty, uprigh …   Wiktionary

  • Honor code — Code of Honor redirects here. For the Star Trek: The Next Generation episode, see Code of Honor (Star Trek: The Next Generation). An honour code or honour system is a set of rules or principles governing a community based on a set of rules or… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”