Re: PostTrack Updates
| From: | Zoltán Németh | Date: | Sun, 06 Apr 2008 11:36:21 +0000 |
| Subject: | Re: PostTrack Updates | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272583@lists.php.net to get a copy of this message | ||
Daniel Brown írta:
oh I see. ignore my previous error report ;)Some changes take effect with the PostTrack metrics system withthis 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 postrecording over multiple entries. (See this week's report: Zoltan Nemeth for example)
that's a cool feature! greets, Zoltán NémethAdded 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 beginwith <?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/printconstruct 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. Thiscan 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.