/* Ajith - Syntax Higlighter - End ----------------------------------------------- */


Gcov - analyzing code produced with GCC

How can a programmer exactly know which part of his code is frequently executed and which part of code is never traversed ? That's where CODE COVERAGE comes for rescue ...

Code Coverage is a measure used in software testing to describe the degree to which the source code of a program has been tested. It is a form of testing that inspects the code directly and checks the active and non-active parts of the source-code.

Basically there are number of code coverage criteria, the main ones being:
  • Function coverage
  • Has each function in the program been executed?

  • Statement coverage
  • Has each line of the source code been executed?

  • Decision coverage (also known as Branch coverage)
  • Has each control structure (such as an if statement) evaluated both to true
    and false?

  • Condition coverage
  • Has each boolean sub-expression evaluated both to true and false (this does
    not necessarily imply decision coverage)?

  • Modified Condition/Decision Coverage (MC/DC)
  • Has every condition in a decision taken on all possible outcomes at least
    once? Has each condition been shown to affect that decision outcome

  • Path coverage
  • Has every possible route through a given part of the code been executed?

  • Entry/exit coverage
  • Has every possible call and return of the function been executed?


NPTEL - Web Video courses from IIT's and IISc

NPTEL - National Programme on Technology Enhanced Learning, a project funded by the Ministry of Human Resource Development (MHRD) of India.

The main objective of NPTEL program is "To enhance the quality of engineering education in the country by developing curriculum based video and web courses".

Seven IITs and IISc Bangalore together created web courses on different engineering subjects and made them available for all other students around the world.

In the first phase of the project, supplementary content for 129 web courses in engineering/science and humanities have been developed. Each course contains materials that can be covered in depth in 40 or more lecture hours. In addition, 110 courses have been developed in video format, with each course comprising of approximately 40 or more one-hour lectures. In the next phase other premier institutions are also likely to participate in content creation.

The courses can be accessed at http://nptel.iitm.ac.in/

The video lectures of various courses can be directly accessed from Youtube at http://youtube.com/iit


Blogger: Adding Applet code into the blogger post

Since we cant directly upload the Applet code into the google and then include it in the blogger post checkout the the way we have to add the Applet code into the blogger.

We cant simply add the Applet code to post in the blogger. For e.g. let us add the following applet code <applet code=ThreeD.class width=100 height=100></applet> into the post then we see a box with a 'x' mark on the left side corner as shown below.

Inorder to solve the problem we have to modify the Applet code so that blogger can track down where the following applet is actually present.

Solution to the problem comes up with a tag "codebase" ...

What is codebase?
Codebase tells the browser where the applet files are located, but if all files (including the HTML file, .class files, and images) are all together in one folder on your own server or local system, you should not specify CODEBASE. Likewise, if you are going to use the applet off-line, do not use a CODEBASE.

If you are using something like BLOGGER, then yes, you will definitely need to use a codebase address (since .class files can't be directly stored on the .blogspot server).

Something like this

<applet code=ThreeD.class width=100 height=100 codebase=http://www.yoursite.com/files/ ></applet>

I have provided the exact link location where the applet code is stored.


Tin Tin EBook Collection - Part3

There are download links available below each and every Image of the TiTle book ... If any problem in seeing them please leave a comment .....

Checkout TinTin Ebook Collection - PART1 for the books from 1 to 10.

Checkout TinTin Ebook Collection - PART2 for the books from 11 to 20

21. The Castafiore Emerald

22. Flight 714

23. Tintin and the Picaros

24. Tintin and Alph-Art

Tintin and the Lake of Sharks

Tintin in Thailand

Tintin - The Complete Companion

Tintin the freelance reporter

Tintin and the mysterious visitor


Tin Tin EBook Collection - Part2

There are download links available below each and every Image of the TiTle book ... If any problem in seeing them please leave a comment .....

Checkout TinTin ebook collection for the books from 1 to 10.

11. The Secret of the Unicorn

12. Red Rackham's Treasure

13. The Seven Crystal Balls

14. Prisoners of the Sun

15. Land of Black Gold

16. Destination Moon

17. Explorers on the Moon

18. The Calculus Affair

19. The Red Sea Sharks

20. Tintin in Tibet

Checkout TinTin ebook collection part3 for the remaining editions.