Skip to main content

Code Review Necessity Software Engineering Help

Code Review Necessity
Simply put, a code review is carefully glancing through the source code of a program already written by somebody else. Generally, one reads through his or her own program several times at the time of writing and particularly once it is done. Is it then still necessary that another person look into one’s program? The answer is undoubtedly YES and is explained in the next few lines.
It is human nature to have a sort of affinity to our own creation – like a picture painted, and article written, etc. due to the passionate creativity that goes into it. A software program is no exception. It is precisely for this reason that one tends to fail to spot any mistakes in such a creative work and is incline to reassure oneself over and over again that all is well in that piece of creation. This is due to our natural tendency at a very subtle level to ignore our own mistakes. Legendary scientist Issac Newton is said to be have carved out two holes in his room door for the smooth traffic of his pets – a moderate hole for his cat and a small one for her kitten.

Coming to the software development, way back in 1971, Gerald Weinberg a noted computer scientist expounded a fascinating concept of Egoless Programming in his article entitled ‘Psychology of Programming’. He explained how almost everyone is prone to commit some errors in programming that could not be figured out by same programmer.

Reason is that one who has written that program would intuitively and unintentionally follow the same logical thinking that he or she has trodden on while actually writing that program. In other words, when checking the program against some yardstick, that yardstick and program would perfectly match in almost all the cases giving a false notion that the program is flawless. Weinberg then went ahead one more step and appealed to the programmers that the act of programming should be egoless; meaning that once the program is completed, the programmer should not attach his self worth to that program, rather freely allow another programmer to spot errors so that they could be rectified.

Research has shown over a large number of years that a code review is an effective tool for quality assurance, bringing about 15% to 40% improvisation by removing extraneous code, boosting efficiency, sorting out ineffective logic, spotting deviations from corporate programming standards, etc. as could be noted from the following examples:

1. On the time and cost line, Roger Pressman has vividly shown in his book on software engineering that the cost of rectification increases manifold as the project proceeds ahead. He narrates that the cost of rectification of an error is say 1 unit, if spotted the design phase. The same error may cost 6.5 units if figured out in reviews, or 15 units if located in testing, and worse still, 60 units if the error creeps in the version rolled out to the users.

2. In another illustration, Edward Yourdon tells us that when he and his 3 other colleagues reviewed the 200 lines of a program in about 45 minutes, as many as 25 bugs surfaced, out of which at least 5 were such that they would have never been traced in testing.

Comments

Popular posts from this blog

Improvement and excellence in Higher Education

A lot is varying in higher education. Most essentially, apprentice themselves are changing. Subsequent to long decades of ruling out, college access has extended opportunities for minority students, first-generation students and low-income students. In this year students are more probable to attend community college than any other postsecondary alternative and more probable to be older and living away from campus and may be joining part-time while balancing work as well as family. The symbolic picture of an 18-year-old high school graduate walking across a blossoming campus toward her dorm room no longer reflects the actuality of today’s college student. Institutions of higher education are act in response to these changes, partially by making course delivery more pliable. Technology has prepared this even further possible, introducing teaching as well as learning that is less forced by time and place. Technology is as well making new kinds of embedded assessment and adaptive curriculu...

How Is Growth Mindset Important To Learning?

While educators and students have a growth mindset, they realize that intelligence can be developed. Students focus on improvement as a substitute of worrying on how smart they are. They work hard to do study more and get better grades. According to years of research by Stanford University’s Dr. Dweck, Lisa Blackwell Ph.D., and their colleagues, we identify those students who learn this mindset show greater motivation in school, superior grades, and better test scores. There are many students tell that they are imperfect in math and fault a lack of talent. There is faith that all are born with good at definite things and bad at another things is said a fixed mindset. If you impute to this idea, then you see ability and intelligence as static. The reverse viewpoint, and one that researchers more and more think is crucial to victory, is the growth mindset. This theory states that we can get better at math or anything else we put our mind to with put into practice and determinat...

Best Ways To Avoid Common Study Distractions

Whether you are studying for a main exam or working on a project or research paper, you know what you be supposed to be doing, right? You should be concentrating deep in a book somewhere quiet, with nothing to lure you into heading out for a gaming break or midnight snack. But then your friend comes in with a plan or a pizza to do something way more amusing than your work, and it’s over. Or maybe your roommate is studying hard and conscientious, too but that tapping of her pencil is going to drive you insane. There are thousands of study distractions that will distract you from study. When you are in trouble to handles those distractions, try these awesome tips for how to concentrate on studies or research even when you don’t want to. 1. Try not to become Multitasker Studies denote that trying to multitask, texting and listening to music while making dinner and doing some online research, it really lowers your IQ and makes the outcomes worst. To thrash t...