PostTrack Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    Some changes take effect with the PostTrack metrics system with
this week (will show up in next week's report).  There's one bug fix
and a new feature added, in which some of you may be really
interested.

    CHANGELOG
        Fixed a bug that would (seemingly random) split a user's post
recording over multiple entries. (See this week's report: Zoltan
Nemeth for example)
        Added a new CodeCount feature.  Explained below.

    The CodeCount feature will, from now on, track the amount of
[pseudo]code everyone posts to the list.  However, for a variety of
reasons (including enforcing Good Coding Practices[tm], there will be
some rules:

        * short_open_tags code will not be counted.  It must begin
with <?php, not <?, and <?=$variable;?> things won't count.
        * All code must be properly closed as well as opened.  Thus,
<?php must be followed by ?>.
        * You can include multiple blocks of code, and all will be tallied.  So:
            <?php
                // Block one
            ?>
            .... and ....
            <?php
                // Block two
            ?>
            .... will both be counted.

    Some notes that should be obvious:
        * HTML won't be counted unless included in an echo/print
construct or a HEREDOC/NOWDOC (when used).  Only the code between the
<?php and ?> tags will be counted.
        * The CodeCount procedure *does* count comments as code.  This
can be changed if there's enough desire.
        * CodeCount *will not* differentiate between "Good" and "Bad"
code.  If you forget a semicolon, it'll still count.

-- 
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux