ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Identifying different potential types of errors

October 23, 2009 3:10pm

Subscribe [2]
  • #1 / Oct 23, 2009 3:10pm

    andre_m

    1 posts

    I have worked on Java projects for quite a while and in these projects, we used tools like Findbugs, Checkstyle and PMD to identify different potential types of errors as well as to check if the respective source code complies with coding rules.

    A few days back, I decided to do a small project (for a friend of mine) using ExpressionEngine and PHP. Since it’s been quite a while since I used PHP, I’m wondering how you identify potential errors as well as check if the respective source code complies with coding rules in your ExpressionEngine/PHP projects? Do you use any tools? Do you automate web tests? Do you have code conventions?

  • #2 / Oct 23, 2009 4:04pm

    lebisol

    2234 posts

    I have not seen any tools per say but there is a documentation that has guidelines.
    You can also tun on some debugging within EE so both php and EE tags get processes. Go to: CP Home ›  Admin ›  System Preferences ›  Output and Debugging Preferences. But your own php IDE may have this built-in.
    That is all I can share as end user, maybe some developers have more tricks.
    All the best!

  • #3 / Oct 24, 2009 3:21pm

    andre_m

    1 posts

    Thanks a lot for your immediate reply and the link you provided!

    I looked around and it looks like Wikipedia’s list of tools for static code analysis is a good starting point. Probably I will try out a few of the mentioned tools.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases