Saturday, October 16, 2010

Updated code coverage

It's been about seven months since I last ran code coverage tools on Thunderbird, so I thought I would do it again. In these intervening seven months, Thunderbird has moved to libxul, and the mozmill tests have become more important, which means I get to change my methodology slightly.

Problematic caveats first, then. For various reasons, my build for code-coverage results runs on a 64-bit machine which I have to ssh to get to and on which I lack administrative privileges. Previously, the build setup caused gcov to fail to work properly for the mozilla-central code, causing my build scripts to require hacks to only cover the comm-central code. It seems that something in either the environment, the code, or the building of libxul caused it to be fixed.

On the other hand, the environment prevented me from running the mozmill tests correctly. On this computer, the user accounts are set up via LDAP, so the gtk initialization code tried to get user information from libc, which got it from NSS, which got it from LDAP, which tried to get it from another LDAP library. Unfortunately, it chose to use the directory/c-sdk ldap instead of the system ldap causing a crash. The only solution was to disable ldap, which required a few tricks to work correctly. Oh, and somehow the tests failed if I didn't enable libxul.

My last issue was with mozmill. I had a plan to use Xvfb for the display for mozmill (the intent being that I could automate mozmill tests on several computers overnight via screen). Turns out that it someone complained about needing Xrandr, so I got to run all of the mozmill tests via twice-forwarded X connections.

Anyways, the results are in. These are the results before mozmill tests were run, and these are the results including mozmill tests. By comparison, these are the results from my last run (which do not include mozmill tests). For completeness sake, 41 xpcshell-tests failed and 10 mozmill tests failed. I do not have the record of which ones failed, however.

Finally, here is the HD view of the code-coverage treemap results:

By comparison, the old code-coverage treemap results:

I hope you enjoy the results!

39 comments:

Anonymous said...

Could you show the difference between the two images somehow? I think it would be interesting to see what changed, but I'm finding it hard to tell just by inspection.

Thanks,
Blake.

Joshua Cranmer said...

Via the magic of ImageMagic (i.e., convert -compose Multiply -composite coverage.png coverage-old.png coverage-diff.png), I produced the following visual image of differences: this link (stupid blogger)

The basic interpretation is that the more something trends towards black, the more drastic its change. Thus mime code has had some pretty drastic improvements, as well as some of the extensions code. A lot of the rest of the codebase has had smallish changes, such as the IMAP (going from a reddish brown to a greenish brown). You can also see that the sizes has changed (unfortunately, squarified treemaps are not stable).


Well, I suppose this is one of the few times where assigning your codebase a color of 'puke' is a good thing :-)


P.S. if you know of a better form of image composition, I would be happy to hear it!

Murali Kris Nandigama said...

Joshua,

I would be very interested to get my hands on your script that is converting the LCOv data into Treemap.

Cheers
Murali

Joshua Cranmer said...

This repository has the source code for the conversion. I've made a few modifications when I realized that my lcov parser didn't handle multiple tests in one file correctly (adding to the current count instead of just putting the value in there).

merchant account said...

In order to set up a merchant account you need to contact licensed aggregators of payment systems as well as to negotiate bank regarding your business activity and plannes business. We can help you arrange all documents and hire IT specialists to find a solution.

Benjamin Jones said...

H0t Profile Picture
LadyinSwimwear
MatureFemale
LadyinSwimwear
CollegeGoingGirl
IndianAunty

Bella spa said...

The Massage centres near me Bangalore offers a lot of advantages. It's also a fantastic experience to have a Nuru massage. To schedule a Massage parlour near me session in Bangalore.

call girls hyderabad said...

they know how to feeling good

lishasingh said...

Lishasingh is a world-renowned massage therapist. He has been practicing massage therapy for over 15 years , and has assisted massage parlour near me thousands of clients across the world to ease their injuries, relieve tension and relieve stress.

Sutra Massage said...

The name of the spa shifts relying upon where you reside. Wellbeing Spa is most normally utilized in bangalore, the United States and the spa close to me.
Body massage in Bangalore

Rati Spa said...

It is not mandatory to book an appointment before visiting a Body massage in Bangalore . However, a prior appointment will help you as you will not have to wait and will be given massage on priority basis.

Happy ending massage in Bangalore said...

Visit once to Spa69 you become addict to our therapies we have wonderful female therapist who are working to make a plessureful ending sessions. You get all information regarding contact and paakages in our website.
Happy ending massage in Bangalore

body massage spa near me said...

massage is a great way to relieve muscle pain, soreness, and tension. It doesn’t matter whether this pain was caused by physical or mental stress, the massage will work it out for you.

Visit body massage spa near me

hyderabad call girls said...

we have well explained

lishasingh said...

With us, you will not only receive a complete body massage, but also other options like Foot Massage as well as Body Scrubs and Face Pack. Our prices are reasonable so that anyone can enjoy our services with nuru massage in bangalore no trouble.

female to male body spa near me said...

The massage in Hyderabad are provided by some of the highly knowledgeable girls. The girls are busty and someone who can make all your body parts alive with their sensuous touch. The marvelous touch by Spa near me girls will be alive in your dreams for long. There are many hot massage services like Nuru massage, sandwich massage, and four hand massage.

spa near me female to male said...

All the massages are done behind closed doors with some of the hottest girls in town. Imagine them rubbing their body against yours and finish it with a penetration that leaves you completely satisfied. The sensual tantra massage will take men into orgasm without ejaculation.

Body to body massage spa near me said...

Find the best girls offering good oily massage and spas with jaccuzz with best standards in the world.

Body massage near me HSR layout said...

Thanks to sharing of knowledges with us. Cool post with Enough of information

leenamonica said...


This month, we offer 25% off Regular body to body massage in Bangalore customers can receive an additional 5% discount. Book a massage now by calling us. Get the best spa services in Bangalore

Neha Mari said...

Looking for beautiful Bangalore girls who know how to have a good time and bring that fun to you? Then Bangalore is your place, with some of the most stunning girls you'll find anywhere.

rentadolls said...

Our VIP Bangalore Dating Girls is to bring these highly talented individuals from all over the world right into your lap with just a few clicks!

Call Girls In Mumbai said...

The companionship services provided by these agencies are completely discreet and professional, and you can be sure that your Mumbai Companions will be the perfect lady for any occasion. Whether you are looking for a sophisticated and elegant lady for a black-tie event, or a fun and outgoing companion for a night on the town, you will find her through a Mumbai-based agency.

Mumbai Call Girls said...

If you want to experience the best Mumbai girls then all you need to do is contact
Mumbai Companions
, we provide a selection of hot and hottest girls for all your needs. All the companions are based in Mumbai, so they will be able to give you an authentic local experience. We offer companion services that have been carefully selected and handpicked by our team.

Mumbai call girls said...

Thanks for sharing the useful and informative information,

Massage spa near me said...

Looking to get the Best massage centre near me in Bangalore? Ramyabodyspa is the Best massage centre near me in Bangalore. For More Details Visit us

leenamonica said...

We Work with Women Who Know How to Give Your Body Pleasure. So, If You Need to Feel a High-End Spa Place for a Male, Then We Are a Perfect body massage in bangalore
Choice in Bangalore.

Ranchi Call Girls said...

When it comes to entertainment and pleasure, our Female Companion in Ranchi has got you covered. From exploring the city's attractions and sightseeing to partying in the best bars and clubs, they can provide you with everything you need to have an unforgettable time. Plus, they know the city inside out, so if you're looking for an intimate experience with someone who can show you the real side of Ranchi, then you won't find anyone better.

nancysweety said...

Although it is in general adopted massage center in pune that Pehr Henrik Ling
created and brought the “Swedish massage

shanjanaarora said...

Friction or rubbing a muscle group rapidly with the palms to stimulate warmth spa in chennaiVibration or using the fingertips to quickly shake a muscle back and forth to loosen the area

xnxx said...

Very Fantastic Blog Thank you
As Regard:- sex videos
x videos
xxx videos
indian sex video

body to body massage centres near me said...

Ancient Beginnings: Tracing the historical origins of body to body massage across cultures, from ancient Egyptian bathing rituals to Tantric practices in India.

lishasingh said...

Massage can breakdown/realign collagen female to male massage centre near mefibres. Following vigorous exercise, the worked muscles experience microscopic tears.

massage parlour near me said...

Massage therapy includes a wide range of massages aimed at relaxation and general well-being, while therapeutic massage refers to massage sessions

Body Massage said...

I have been searching in the online for long time for this type of wonderful post. In case, if you to know more on female to male body massage in chennai never hesitate to reach out at goodwill spa. You will feel stress free and completely relaxed with our body massage services.

Body to Body Massage in Chennai said...

Great massage centres near me

sensual massage in pune said...

Squeeze your abdominal and buttocks muscles, push your heels into the floor and slowly lift your buttocks and hips off the floor. Keep your back straight. Hold for 5 to 10 seconds.

Escort Luxembourg said...

I’m really impressed with the detail you’ve provided on this blog.

female to male body massage near me said...

cool post