Cyril Picat posts

Archi & Techno

Track your iOS application code quality using Sonar

This article is the iOS counterpart of Romain's recent article on tracking code quality with Sonar on Android. The problematic remains the same: quality is often overlooked for mobile Apps and the cost of setting up a proper quality tracking environment is usually deemed too high. This article will focus on showing that, while the iOS platform is not as tooled as Android, it's now fast and easy to track code quality on iOS projects. Even though this has been possible in the past mostly…

Read more
Archi & Techno

iOS dev: How to get your code coverage right?

When I decided to tackle my preceding blog article on quality metrics for iOS, I wasn't prepared to spend that much time to get something robust and correct. The part on which I stumbled most was the code coverage, not because it's that difficult to make it work (there is plenty of resources on the Web) but because in all articles I have seen the solution was working but was not reporting accurate and useful metrics (I am sure I have missed some, sorry for…

Read more
Archi & Techno

iOS dev: How to setup quality metrics on your Jenkins job?

iOS development projects are not first-in-class when it comes to managing the quality of the software produced. Very short projects, very short time-to-market, it is not the kind of projects where you see a lot of attention towards quality, unfortunately. Here at OCTO we try to do it differently, even for this kind of projects. Or above all, for that matter. But here comes another issue: the lack of tooling. Here is one of our latest attempt to setup quality metrics on a short and…

Read more
Archi & Techno

Groovy Minute – inject() and accumulators

What the f*** is a Groovy Minute? I am thinking about starting a new kind of post about Groovy. Publishing short articles on a regular basis where I will give some Groovy hints and try to exchange on Groovy code with others. That's what a "Groovy Minute" stands for, some Groovy minutes in your day-to-day work -and mine. Not sure at what pace I will do it it but I am willing to publish something each time I come with some worthy-to-share Groovy code. That's…

Read more
Archi & Techno

Analyzing Groovy / Grails code

Groovy and Grails are a breeze of fresh air in Java development and Web application development as they enable you to write far more expressive and readable code. They also solve most of the classic Java pitfalls (BigDecimal, equals(), etc…) all new Java programmers meet along their way. Even if you write more readable and thus more maintainable code in Groovy, this is not enough let alone: of course you need some good practices to keep your code under control as your application keeps growing.…

Read more
Archi & Techno

Unit of work, Transactions and Grails

Working with Groovy and Grails often gives you the feeling that things are magic and when you dive in, you realize that things are more complex than expected. At the same time, you often realize that a reasonable default behavior has been chosen by Groovy/Grails framework: What about transactions' magic in Grails? For me it was hard to believe so let's try to understand a little more how things work.

Read more