Fix a few typos.
Add missing braces.
Fix Dotclear's core receiving the `Exception` object as errors rather than the error message.
Fix the name of the plugin.
Optimize the database table structure.
Include the type cast within the variable.
Add shortcut to access the `postsStats_session` table.
Optimize the database query that checkes if the `session_id` is already present.
Make sure the lines of code are no longer than 100 characters while still being readable.
Issue #7 - replace the calls to the SQL function `NOW()` with an equivalent in PHP.