schlitt.info - php, photography and private stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Tobias Schlitt :Date: Mon, 28 Nov 2011 17:48:14 +0100 :Copyright: CC by-nc-sa ===== Tools ===== - My new notebook After 2 years of really satisfied use of the IBM/Lenovo T43p I decided that time has come to upgrade. When the T61p was released by Lenovo some weeks ago I felt that this would be the right for me and so far I did not regret it until now. While I read/heart a lot about Lenovo quality constantly dropping I cannot confirm this. - The return to the mess... When I returned from vacation, which already wasn't as relaxing as expected due to priate issues, I directly returned to a huge mess, which you might already have been noticing by the downtime of phpunit.de website. - OpenOffice.org annoyance: Cross references I really like OpenOffice.org. Until now, it satisfied any of my needs quite fine. But since I am writing a book using OpenOffice.org, I found some really annoying stuff. Most annoying by now, is the problem of cross references. It happens almost in every text section, that I need to add a reference to another section of the book. For example, while writing about securing user data I want to point to the section of a database chapter, where prevention of SQL injection is explained. I basically want to add a reference like 'See section X.Y.Z, "SQL injection"'. - PDV on Ohloh Are you using my phpDocumentor for VIM plugin? Go ahead and stack it! :) - Ohloh becoming sensible Almost 1 year ago I blogged about Ohloh, and eZ Components being registered there. Those days I just found it funny to see how they measure the project cost of open source projects based on the ammount of code contained and things. Recently I am actively watching Ohloh and I think, by now it becomes a serious project with real value for every involved party. The maintainers added many new features to Ohloh, since I last blogged about it, and many contributors started participating in the service. So, I want to revise my "review" of Ohloh from the last year and explain how I see it by now. - Comfortable PHP editing with VIM -6- I recently added 2 new functions to my PHP FTPlugin for VIM, which I wanted to implement for a longer time and recently needed quite often: - Why code coverage matters I'm a fan of PHPUnit code coverage reports. And with this sentence I can see a lot of the developers out there shiver, because they are of the opinion, that code coverage reports for unit tests are nonsense and cannot give you any hint on the quality of a test suite. I see it a bit differently. Surely, a high code coverage rate of a test suite does never indicate, that code is well tested (if you have not written the code and tests yourself). But the other way around works: A small code coverage rate definitly means, that the test suite is not sufficient. But let me dig a bit deeper into code coverage and what it gives you. - The "developer kit" The Mozilla Development Center has a new mascot called "developer kit": - A GTK2 UI for PHPUnit For my current exam phase at university, I wanted to have some tiny project where I can play around with, without caring too much, just to relax a bit in the evenings. When Kore infected me with some strange PHP-GTK virus ;) and someone mentioned on IRC, that it would be time to have a GTK UI for PHPUnit, I decided to take this one. So I played some hours with the PHP-GTK extension and voila, here we go with a first running version of a GTK driven test runner for PHPUnit. - Comments back online Mi friend Kristian from eZ Systems noted this morning, that comments on my blog were disabled. That was actually an accedent, because I shutted down comments some days ago to stop a spam wave and forgot to switch them on again. I now re-enabled comments and trackbacks. If you ever want to comment on one of my posts and find comments disableds, don't hesitate to send me a mail about it!