SOFTWARE ENGINEERING blog & .lessons_learned
manuel aldana
Manuel Aldana

Entries Tagged as 'Software Engineering'

>June 27th, 2010 · No Comments

From Java Easymock to Mockito

While browsing through open-source project sonar’s test-code I noticed that they had package imports with Mockito namespace. What I noticed was that the mocking test-code looked similar to easymock but less cluttered and better readable. So I gave Mockito (version was 1.8.3 back then) a try when implementing new test-cases and did not regret it [...]

[Read more →]

Tags: Continous Integration · Software Engineering · Technologies/Tools

>May 30th, 2010 · No Comments

Inside-Out Modularization

A appropriate modularization of your codebase is important. It has positive side-effects in many directions (testability, code comprehensability, build-speed etc.). Still there are different levels of modularization. These levels can be categorized from fine-grained to coarse grained.
Note: For simplicty throughout the post I will use java terms (class, method, package). Of course this can be [...]

[Read more →]

Tags: Software Engineering · Software Maintenance

>May 9th, 2010 · No Comments

Codebase size implications on Software development

Following discusses the implications of big codebases. Codebase size can be measured with the well known ‘lines of code’ (LOC) metric.
The following codebase size and LOC metric scope is not fine grained on function or class level but for complete codebase or at least on subcomponent level.
Bad (anti-pattern): Codebase size as progress metric
Sometimes (though [...]

[Read more →]

Tags: Software Engineering · Software Maintenance · Uncategorized