<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://groups.drupal.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Coding Standards and Performance Optimization</title>
 <link>http://groups.drupal.org/coding-standards-and-performance-optimization</link>
 <description>Discussing coding standards for performance optimization of Drupal.</description>
 <language>en</language>
<item>
 <title>Benchmarking in Drupal</title>
 <link>http://groups.drupal.org/node/13639</link>
 <description>&lt;p&gt;Drupal and MySQl located in two different servers:&lt;/p&gt;
&lt;p&gt;Configuration: Drupal server: Dual core processor, 4GB RAM&lt;br /&gt;
                    MySQL Server: Xeon Processor, 4GB RAM&lt;/p&gt;
&lt;p&gt;MySQL Enterprise edition 5&lt;/p&gt;
&lt;p&gt;In an exercise to Pre populate the database with  1 million records, record insertions in the tables are very slow since the requests are getting queued up in the database. Insertion is done using  a special tool that records our drupal application and plays back the scripts in a loop to populate the database.&lt;/p&gt;
&lt;p&gt;Please see the below data collected by the team.&lt;/p&gt;
&lt;p&gt;5minutes-25users-1051 records updated&lt;br /&gt;
5minutes-50users-1029 records updated&lt;br /&gt;
5minutes-100users- 1012  records updated&lt;/p&gt;
&lt;p&gt;As users increases, the no of records creation decreases, also after the test has been stopped, it has been noticed that it is updating the database. Moreover if we are planning to run the test for long hours, I am afraid that the queue will increase and make the database to reach unsteady state.&lt;/p&gt;
&lt;p&gt;What could be the cause for such an issue, what MySQl tuning is recommended?&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/mysql&quot;&gt;MySQL&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/13639#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/5929">Mysql bottleneck</category>
 <group domain="http://groups.drupal.org/chennai-drupal-community">Chennai Drupal Community</group>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <group domain="http://groups.drupal.org/high-performance">High performance</group>
 <group domain="http://groups.drupal.org/lucene-and-nutch">Lucene, Nutch and Solr</group>
 <group domain="http://groups.drupal.org/mysql">MySQL</group>
 <pubDate>Fri, 01 Aug 2008 12:20:03 +0000</pubDate>
 <dc:creator>Shyamala@drupal.org</dc:creator>
 <guid isPermaLink="false">13639 at http://groups.drupal.org</guid>
</item>
<item>
 <title>&quot;elseif&quot; vs &quot;else if&quot;</title>
 <link>http://groups.drupal.org/node/13295</link>
 <description>&lt;p&gt;In the latest code review done by chx and Morbus at &lt;a href=&quot;http://www.drupaltoughlove.com&quot; title=&quot;http://www.drupaltoughlove.com&quot;&gt;http://www.drupaltoughlove.com&lt;/a&gt;, one of the items commented on was the usage of &quot;else if&quot; instead of &quot;elseif&quot;.  There&#039;s nothing in the Coding Standards doc that specifically states that one should be used over the other, however it is &quot;implied&quot; from the first example on indentation that &quot;elseif&quot; should be used.  Can the Coding Standards doc be updated so that it states one way or the other?  Personally I don&#039;t mind which, but I would prefer if there was consistency.  Core itself has a mixture, but with a higher number of &quot;elseif&quot;.&lt;/p&gt;
&lt;p&gt;An issue on this has already been raised at &lt;a href=&quot;http://drupal.org/node/282405&quot; title=&quot;http://drupal.org/node/282405&quot;&gt;http://drupal.org/node/282405&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Stella&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/13295#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/1280">coding standards</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Fri, 18 Jul 2008 20:31:04 +0000</pubDate>
 <dc:creator>stella</dc:creator>
 <guid isPermaLink="false">13295 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Doxygen @file directives</title>
 <link>http://groups.drupal.org/node/13275</link>
 <description>&lt;p&gt;In the &lt;a href=&quot;http://drupal.org/node/1354&quot;&gt;Doxygen formatting conventions&lt;/a&gt; doc, it says that files should be documented with the @file directive and gives the following example:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?php&lt;br /&gt;// $Id: theme.inc,v 1.202 2004/07/08 16:08:21 dries Exp $&lt;/p&gt;
&lt;p&gt;/**&lt;br /&gt; * @file&lt;br /&gt; * The theme system, which controls the output of Drupal.&lt;br /&gt; *&lt;br /&gt; * The theme system allows for nearly all output of the Drupal system to be&lt;br /&gt; * customized by user themes.&lt;br /&gt; */&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Note the @file line in particular.&lt;/p&gt;
&lt;p&gt;Further down the same doc, under the section on &quot;Documenting theme templates&quot;, the @file directive example is different:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?php&lt;br /&gt;// $Id$&lt;/p&gt;
&lt;p&gt;/**&lt;br /&gt; * @file forum_list.tpl.php&lt;br /&gt; * Default theme implementation to display a list of forums.&lt;br /&gt; *&lt;br /&gt; * Available variables:&lt;br /&gt; * - $forums: An array of forums to display.&lt;br /&gt; *&lt;br /&gt; * Each $forum in $forums contains:&lt;br /&gt; * - $forum-&amp;gt;is_container: Is TRUE if ...........&lt;br /&gt; *&lt;br /&gt; * @see template_preprocess_forum_list()&lt;br /&gt; */&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;In the first example, the @file directive was just &lt;code&gt;@file&lt;/code&gt; whereas in the second it is followed by the filename, &lt;code&gt;@file forum_list.tpl.php&lt;/code&gt;.  I would like this to be more consistent.  I would prefer if we just decided on one convention which would be used on all files, regardless of file type.&lt;/p&gt;
&lt;p&gt;Personally, I&#039;m in favour of removing the need for the filename, and have some reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;First of all, the filename is already specified in the &lt;code&gt;$Id$&lt;/code&gt; line.  In the example above, it&#039;s just $Id$, but this is filled out to include the filename and version information when the file is committed to CVS.  I don&#039;t see any benefit to having the filename specified again in the @file section.&lt;/li&gt;
&lt;li&gt;Have this filename here kinda messes up the API documentation.  See &lt;a href=&quot;http://api.drupal.org/api/files&quot; title=&quot;http://api.drupal.org/api/files&quot;&gt;http://api.drupal.org/api/files&lt;/a&gt; and look at any of the .tpl.php file entries, the filename is stated again in the file description and also appears in the file description on the file&#039;s documentation page.  It doesn&#039;t cause problems per se, it just doesn&#039;t look clean.&lt;/li&gt;
&lt;li&gt;My last point is fairly minor.  The &lt;a href=&quot;http://drupal.org/project/coder&quot;&gt;Coder&lt;/a&gt; module already has checks in place for the @file directive, but expects nothing to follow it on the same line.  Changes will be required to this module if we are to keep the filename specification.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Stella&lt;/p&gt;
&lt;p&gt;+1 from me; stella, merlinofchaos, and I had discussions of it. --Morbus Iff.&lt;br /&gt;
+1 from me, too. --sun (PS: A discussion would probably have been more appropriately ;)&lt;br /&gt;
+1 - since that&#039;s 3-4 of us, I updated the page to remove that one filename from the example too --catch&lt;/p&gt;
&lt;p&gt;Excellent, now I just need to provide patches to update the template files in core.  Thanks - Stella&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <category domain="http://groups.drupal.org/taxonomy/term/1895">Proposals</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Fri, 18 Jul 2008 12:33:11 +0000</pubDate>
 <dc:creator>stella</dc:creator>
 <guid isPermaLink="false">13275 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Javascript Coding Standards</title>
 <link>http://groups.drupal.org/node/13274</link>
 <description>&lt;p&gt;More and more contrib modules are including JavaScript files, so I want to add the ability to review JavaScript files to the &lt;a href=&quot;http://drupal.org/project/coder&quot;&gt;Coder&lt;/a&gt; module. However, step 1 is we need to agree on what coding standards we should be using for JavaScript.&lt;/p&gt;
&lt;p&gt;At present we have the &lt;a href=&quot;http://drupal.org/node/172169&quot;&gt;Coding standards for JS files&lt;/a&gt; doc which has one or two ideas but isn&#039;t complete. We also have the main &lt;a href=&quot;http://drupal.org/coding-standards&quot;&gt;Coding Standards&lt;/a&gt; doc, and while most are transferable to JavaScript, not all are. So I&#039;ve put some suggestions together at &lt;a href=&quot;http://drupal.org/node/260140&quot; title=&quot;http://drupal.org/node/260140&quot;&gt;http://drupal.org/node/260140&lt;/a&gt;  A fair few of them come from the standards used by JSLint so there shouldn&#039;t be many surprises.  I&#039;d really appreciate a discussion on this and hopefully we can agree on the coding standards we want to use.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <category domain="http://groups.drupal.org/taxonomy/term/1895">Proposals</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Fri, 18 Jul 2008 12:02:04 +0000</pubDate>
 <dc:creator>stella</dc:creator>
 <guid isPermaLink="false">13274 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Performance Profiling System</title>
 <link>http://groups.drupal.org/node/10039</link>
 <description>&lt;p&gt;Moved to official ideas list&lt;/p&gt;
&lt;p&gt;We&#039;d like to propose the development of a profiling module and possible API capable of collecting performance data for hook invocations and calls to enabled functions in addition to the theme and database timings reported by the Devel and Devel Themer modules. The output of this module could include full traces of hooks, theme functions, database queries, external API requests and other functions similar to the trace files generated by debugging tools like XDebug but tailored to provide information that is useful to module developers and site builders.  Other useful reports might include ranked execution times to highlight problem code and statistical aggregates gathered multiple page loads.&lt;/p&gt;
&lt;p&gt;Development of this module will involve an understanding of Drupal&#039;s inner workings and will provide an excellent opportunities to learn the details of how each page is built from the ground up.  It will also provide a great service to the Drupal development community, Drupal integrators and systems administrators. Use of the devel module is fine for identifying runaway queries, but it can be difficult to tie this to a complete picture of the system&#039;s modules, particularly if a module is making too many API calls rather than just too many large database queries, is making use of suboptimal algorithms or is encountering systems-level bottlenecks.&lt;/p&gt;
&lt;p&gt;In the past we&#039;ve had to spend time examining Drupal modules on client sites to determine which are most responsible for page load times, database and overall system load.  This involved process is lengthy and usually not pretty, involving numerous one-off hacks to core to enable needed reporting followed by hammering the site with a/b tests and tools not optimal for debugging the Drupal stack. This project would not only provide a vastly improved interface for the debugging and optimization of Drupal code and live installations, but would also provide the groundwork for an approach to full-stack PHP debugging which takes the needs and conditions of Drupal development as its initial focus.&lt;/p&gt;
&lt;p&gt;A list of potential features includes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;selective activation -- process only fires for specified user roles, IP pools or for a percentage of page loads so as to not affect overall performance&lt;/li&gt;
&lt;li&gt;complete trace dumps of Drupal page generation stack&lt;/li&gt;
&lt;li&gt;&quot;problem functions&quot; report for system administrators and others evaluating code in the wild&lt;/li&gt;
&lt;li&gt;collection of stats re: authenticated:unauthenticated session ratio&lt;/li&gt;
&lt;li&gt;optional integration with Drupal&#039;s throttle mechanism based on the results of the profiling&lt;/li&gt;
&lt;li&gt;display of stats through pretty graphs (Google Chart API or similar)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;EchoDitto would be glad to provide mentorship to any students who end up undertaking this task.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/10039#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/590">profiling</category>
 <group domain="http://groups.drupal.org/soc-2008">SoC 2008</group>
 <group domain="http://groups.drupal.org/high-performance">High performance</group>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Sat, 22 Mar 2008 03:55:14 +0000</pubDate>
 <dc:creator>echoditto_tom</dc:creator>
 <guid isPermaLink="false">10039 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Develop an xss and sql injection scanner based on SimpleTest</title>
 <link>http://groups.drupal.org/node/9798</link>
 <description>&lt;p&gt;What I wanna develop for SOC 2008 is a module called security (or add security function to simpletest existing module) to enable users checking their drupal installation against xss and sql injection vulnerabilities.&lt;br /&gt;
It will be also good for module developers, in fact they can check their module before submitting them to drupal website. Users could be more protected against vulnerabilities that became from third part modules.&lt;br /&gt;
The objective of this work is to realize automated penetration test on drupal installation.&lt;/p&gt;
&lt;p&gt;It will be based upon SimpleTest, already used by Rasmus (php core developer) to develop his own closed source xss scanner. SimpleTest is a jUnit similar library written for php.&lt;/p&gt;
&lt;p&gt;My module could easily been extended to add more functionalities about security, but basically I think that this two are the most important.&lt;br /&gt;
If someone has functionality ideas to improve my project and make it better I&#039;m here, listening for more proposal.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/9798#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/4450">soc2008 xss scanner sqlinjection</category>
 <group domain="http://groups.drupal.org/soc-2008">SoC 2008</group>
 <group domain="http://groups.drupal.org/testing-qa">Testing and Quality Assurance</group>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Fri, 14 Mar 2008 15:02:03 +0000</pubDate>
 <dc:creator>ingo86</dc:creator>
 <guid isPermaLink="false">9798 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Improving Drupal&#039;s page loading performance</title>
 <link>http://groups.drupal.org/node/8559</link>
 <description>&lt;p&gt;This article I wrote should appeal to people interested in high performance Drupal sites. Most of the performance gains are achieved by doing things with the Javascript and Drupal&#039;s File API.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://wimleers.com/article/improving-drupals-page-loading-performance&quot; title=&quot;http://wimleers.com/article/improving-drupals-page-loading-performance&quot;&gt;http://wimleers.com/article/improving-drupals-page-loading-performance&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can expect another article soon, about the same topic, but then putting it to practice. I&#039;ll use the &lt;a href=&quot;http://drupal.org/project/cdn&quot;&gt;CDN integration module&lt;/a&gt; (of which I&#039;m also the maintainer) and the included core patches to do it in just a few simple steps.&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/high-performance&quot;&gt;High performance&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/8559#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/7">file API</category>
 <category domain="http://groups.drupal.org/taxonomy/term/3714">high performance</category>
 <category domain="http://groups.drupal.org/taxonomy/term/235">javascript</category>
 <category domain="http://groups.drupal.org/taxonomy/term/332">performance</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <group domain="http://groups.drupal.org/file-api">File API</group>
 <group domain="http://groups.drupal.org/high-performance">High performance</group>
 <pubDate>Wed, 30 Jan 2008 22:51:03 +0000</pubDate>
 <dc:creator>Wim Leers@drupal.org</dc:creator>
 <guid isPermaLink="false">8559 at http://groups.drupal.org</guid>
</item>
<item>
 <title>GHOP #127: Benchmark results table</title>
 <link>http://groups.drupal.org/node/8274</link>
 <description>&lt;p&gt;Hi,&lt;br /&gt;
I need a table for #127, so it will go here :)&lt;br /&gt;
This table is now fully complete :)&lt;/p&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;Test Page&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Caching&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Drupal 5 requests/sec&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Drupal 5 overalltime&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Drupal 6 requests/sec&lt;/b&gt;&lt;/p&gt;
&lt;td&gt;&lt;b&gt;Drupal 6 overalltime&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;% differences for Drupal 6(based on requests/s)&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;Index with 30 nodes&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;3.64&lt;/td&gt;
&lt;td&gt;55.13&lt;/td&gt;
&lt;td&gt;3.42&lt;/p&gt;
&lt;td&gt;58.46&lt;/td&gt;
&lt;td&gt;-06%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;136.62&lt;/td&gt;
&lt;td&gt;1.46&lt;/td&gt;
&lt;td&gt;109.09&lt;/p&gt;
&lt;td&gt;1.83&lt;/td&gt;
&lt;td&gt;-20%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;161.51&lt;/td&gt;
&lt;td&gt;1.23&lt;/td&gt;
&lt;td&gt;114.48&lt;/p&gt;
&lt;td&gt;1.74&lt;/td&gt;
&lt;td&gt;-29%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;Taxonomy Term (taxonomy/term/111&amp;amp;page=2)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;5.16&lt;/td&gt;
&lt;td&gt;38.73&lt;/td&gt;
&lt;td&gt;4.71&lt;/p&gt;
&lt;td&gt;42.44&lt;/td&gt;
&lt;td&gt;-08%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;not reliable accooding to ab&lt;/td&gt;
&lt;td&gt;^^^&lt;/td&gt;
&lt;td&gt;111.59&lt;/p&gt;
&lt;td&gt;1.79&lt;/td&gt;
&lt;td&gt;?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;167.31&lt;/td&gt;
&lt;td&gt;1.19&lt;/td&gt;
&lt;td&gt;118.29&lt;/p&gt;
&lt;td&gt;1.68&lt;/td&gt;
&lt;td&gt;-29%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;1 node with _lots_ of comments&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;3.56&lt;/td&gt;
&lt;td&gt;56.25&lt;/td&gt;
&lt;td&gt;3.38&lt;/p&gt;
&lt;td&gt;59.20&lt;/td&gt;
&lt;td&gt;-05%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;149.64&lt;/td&gt;
&lt;td&gt; 1.33&lt;/td&gt;
&lt;td&gt;116.35&lt;/p&gt;
&lt;td&gt;1.71&lt;/td&gt;
&lt;td&gt;-22%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;177.58&lt;/td&gt;
&lt;td&gt;1.12&lt;/td&gt;
&lt;td&gt;results not reliable according to ab&lt;/p&gt;
&lt;td&gt;^^^^&lt;/td&gt;
&lt;td&gt;?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;Forum Index&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;11.78&lt;/td&gt;
&lt;td&gt;16.97&lt;/td&gt;
&lt;td&gt;10.82&lt;/p&gt;
&lt;td&gt;18.49&lt;/td&gt;
&lt;td&gt;-08%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;158.98&lt;/td&gt;
&lt;td&gt; 1.25&lt;/td&gt;
&lt;td&gt;122.03&lt;/p&gt;
&lt;td&gt;1.63&lt;/td&gt;
&lt;td&gt;-23%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;163.62&lt;/td&gt;
&lt;td&gt;0.61&lt;/td&gt;
&lt;td&gt;130.43&lt;/p&gt;
&lt;td&gt;1.53&lt;/td&gt;
&lt;td&gt;-20%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;ok&quot;&gt;
&lt;td&gt;Search result&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;1.07&lt;/td&gt;
&lt;td&gt;187.37&lt;/td&gt;
&lt;td&gt;1.12&lt;/p&gt;
&lt;td&gt;178.22&lt;/td&gt;
&lt;td&gt;+04%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;150.46&lt;/td&gt;
&lt;td&gt; 1.32&lt;/td&gt;
&lt;td&gt;115.46&lt;/p&gt;
&lt;td&gt;1.73&lt;/td&gt;
&lt;td&gt;-23%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;177.76&lt;/td&gt;
&lt;td&gt;1.12&lt;/td&gt;
&lt;td&gt;125.70&lt;/p&gt;
&lt;td&gt;1.59&lt;/td&gt;
&lt;td&gt;-29%&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;This is the old table, it is not relevant and only here for comparison!!!&lt;/p&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;&lt;b&gt;Test Page&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Caching&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Drupal 5 requests/sec&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Drupal 5 overalltime&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;Drupal 6 requests/sec&lt;/b&gt;&lt;/p&gt;
&lt;td&gt;&lt;b&gt;Drupal 6 overalltime&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;b&gt;% differences for Drupal 6(based on requests/s)&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;Index with 30 nodes&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;3.74&lt;/td&gt;
&lt;td&gt;26.71&lt;/td&gt;
&lt;td&gt;3.40&lt;/p&gt;
&lt;td&gt;29.39&lt;/td&gt;
&lt;td&gt;-09%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;101.68&lt;/td&gt;
&lt;td&gt;0.98&lt;/td&gt;
&lt;td&gt;81.53&lt;/p&gt;
&lt;td&gt;1.22&lt;/td&gt;
&lt;td&gt;-19%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;114.13&lt;/td&gt;
&lt;td&gt;0.87&lt;/td&gt;
&lt;td&gt;84.79&lt;/p&gt;
&lt;td&gt;1.17&lt;/td&gt;
&lt;td&gt;-25%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;Taxonomy Term (taxonomy/term/111&amp;amp;page=2)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;5.34&lt;/td&gt;
&lt;td&gt;18.72&lt;/td&gt;
&lt;td&gt;4.72&lt;/p&gt;
&lt;td&gt;21.19&lt;/td&gt;
&lt;td&gt;-11%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;109.44&lt;/td&gt;
&lt;td&gt; 0.91&lt;/td&gt;
&lt;td&gt;84.82&lt;/p&gt;
&lt;td&gt;1.17&lt;/td&gt;
&lt;td&gt;-22%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;101.50&lt;/td&gt;
&lt;td&gt;0.98&lt;/td&gt;
&lt;td&gt;88.99&lt;/p&gt;
&lt;td&gt;1.12&lt;/td&gt;
&lt;td&gt;-12%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;1 node with _lots_ of comments&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;3.60&lt;/td&gt;
&lt;td&gt;27.80&lt;/td&gt;
&lt;td&gt;3.37&lt;/p&gt;
&lt;td&gt;29.69&lt;/td&gt;
&lt;td&gt;-06%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;105.26&lt;/td&gt;
&lt;td&gt; 0.94&lt;/td&gt;
&lt;td&gt;83.53&lt;/p&gt;
&lt;td&gt;1.19&lt;/td&gt;
&lt;td&gt;-20%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;118.43&lt;/td&gt;
&lt;td&gt;0.84&lt;/td&gt;
&lt;td&gt;87.12&lt;/p&gt;
&lt;td&gt;1.14&lt;/td&gt;
&lt;td&gt;-26%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;warning&quot;&gt;
&lt;td&gt;Forum Index&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;11.91&lt;/td&gt;
&lt;td&gt;8.39&lt;/td&gt;
&lt;td&gt;10.92&lt;/p&gt;
&lt;td&gt;9.16&lt;/td&gt;
&lt;td&gt;-08%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;140.51&lt;/td&gt;
&lt;td&gt; 0.71&lt;/td&gt;
&lt;td&gt;109.99&lt;/p&gt;
&lt;td&gt;0.90&lt;/td&gt;
&lt;td&gt;-21%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;163.62&lt;/td&gt;
&lt;td&gt;0.61&lt;/td&gt;
&lt;td&gt;116.18&lt;/p&gt;
&lt;td&gt;0.86&lt;/td&gt;
&lt;td&gt;-28%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class=&quot;ok&quot;&gt;
&lt;td&gt;Search result&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;1.09&lt;/td&gt;
&lt;td&gt;91.77&lt;/td&gt;
&lt;td&gt;1.15&lt;/p&gt;
&lt;td&gt;87.64&lt;/td&gt;
&lt;td&gt;+05%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;normal&lt;/td&gt;
&lt;td&gt;63.50&lt;/td&gt;
&lt;td&gt; 1.57&lt;/td&gt;
&lt;td&gt;56.58&lt;/p&gt;
&lt;td&gt;1.76&lt;/td&gt;
&lt;td&gt;-10%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;aggresive&lt;/td&gt;
&lt;td&gt;67.90&lt;/td&gt;
&lt;td&gt;1.47&lt;/td&gt;
&lt;td&gt;58.10&lt;/p&gt;
&lt;td&gt;1.72&lt;/td&gt;
&lt;td&gt;-14%&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;Link to GHOP Issue #127: &lt;a href=&quot;http://drupal.org/node/206570&quot; title=&quot;http://drupal.org/node/206570&quot;&gt;http://drupal.org/node/206570&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/google-highly-open-participation-contest-ghop&quot;&gt;Google Highly Open Participation Contest (GHOP)&lt;/a&gt;&lt;/div&gt;</description>
 <category domain="http://groups.drupal.org/taxonomy/term/1895">Proposals</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <group domain="http://groups.drupal.org/google-highly-open-participation-contest-ghop">Google Highly Open Participation Contest (GHOP)</group>
 <pubDate>Fri, 18 Jan 2008 16:57:05 +0000</pubDate>
 <dc:creator>Corni</dc:creator>
 <guid isPermaLink="false">8274 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Coder format! or: Make everything Drupal.</title>
 <link>http://groups.drupal.org/node/8265</link>
 <description>&lt;p&gt;In case you don&#039;t know, &lt;a href=&quot;http://drupal.org/user/211688&quot;&gt;Edward Z. Yang (ezyang)&lt;/a&gt; is &lt;a href=&quot;http://drupal.org/node/208767&quot;&gt;squashing a lot of bugs in coder_format&lt;/a&gt; in the scope of a GHOP task currently.&lt;br /&gt;
In case you don&#039;t know coder_format, it&#039;s a script I wrote some time ago which re-formats one PHP file, or recursively all files in a directory according to &lt;a href=&quot;http://drupal.org/coding-standards&quot;&gt;Drupal&#039;s Coding Standards&lt;/a&gt;. &lt;a href=&quot;http://drupal.org/user/29191&quot;&gt;Doug Green&lt;/a&gt; has been so kind to add it to the &lt;a href=&quot;http://drupal.org/project/coder&quot;&gt;Coder module&lt;/a&gt;, so if you are a Drupal developer, you probably have (an out-dated version of) it already. Unfortunately, it did not receive that much attention yet.&lt;/p&gt;
&lt;p&gt;I do not yet want to promote coder_format with this post. Today, I just want to show you the results of an experiment, which in turn will show you, what you can expect from coder_format.&lt;/p&gt;
&lt;p&gt;Guess, what this ugly code snippet is:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_add_feed&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { static &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(); if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;is_null&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &amp;amp;&amp;amp; !isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;feed_icon&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_add_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;rel&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;alternate&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;type&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;application/rss+xml&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;title&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;href&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)); } return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; } function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_feeds&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$delimiter &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$feeds &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_add_feed&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;implode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$feeds&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$delimiter&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_query_string_encode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$exclude &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(), &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$parent &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(); foreach (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$parent&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$parent &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;[&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;]&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; } if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;in_array&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$exclude&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) { continue; } if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;is_array&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_query_string_encode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$exclude&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } else { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;=&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } } return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;implode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&amp;amp;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_destination&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() { if (isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) { return &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination=&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]); } else { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]) ? &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] : &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_query_string_encode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)); if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;?&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; } return &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination=&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } } function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_goto&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fragment &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$http_response_code &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;302&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { if (isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;extract&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;parse_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urldecode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]))); } else if (isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;edit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;extract&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;parse_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urldecode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;edit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]))); } &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;query&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;fragment&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fragment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;absolute&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;str_replace&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\r&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;), &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;defined&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;MAINTENANCE_MODE&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) || &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;MAINTENANCE_MODE &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;update&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;module_invoke_all&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;exit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;session_write_close&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Location: &#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$http_response_code&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); exit(); } function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_site_offline&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_maintenance_theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;HTTP/1.1 503 Service unavailable&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Site off-line&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)); print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;maintenance_page&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;filter_xss_admin&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;variable_get&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;site_offline_message&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;@site is currently under maintenance. We should be back shortly. Thank you for your patience.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;@site&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;variable_get&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;site_name&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Drupal&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)))))); } function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_not_found&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;HTTP/1.1 404 Not Found&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;watchdog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;page not found&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;check_plain&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]), &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;WATCHDOG_WARNING&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); if (!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]; } &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_normal_path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;variable_get&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;site_404&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)); if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;menu_set_active_item&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;menu_execute_active_handler&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } if (empty(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) || &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;MENU_NOT_FOUND &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;|| &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;MENU_ACCESS_DENIED&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Page not found&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;The requested page could not be found.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); } print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;page&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;FALSE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;); }&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;No, it is not some nasty code that I found somewhere on the net. It&#039;s a stripped version of common.inc from Drupal 6 generated with&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;php -w includes/common.inc &amp;gt; common.stripped.inc&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;And, it is an &lt;strong&gt;example for some PHP code that does not follow Drupal&#039;s Coding Standards &lt;em&gt;at all&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Guess again, how this snippet will look after processing it with coder_format. Ready? Go!&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_add_feed&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; static &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array();&lt;br /&gt;&amp;nbsp; if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;is_null&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) &amp;amp;&amp;amp; !isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;feed_icon&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_add_link&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;rel&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;alternate&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;type&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;application/rss+xml&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;title&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;href&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$stored_feed_links&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;}&lt;br /&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_feeds&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$delimiter &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$feeds &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_add_feed&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;&amp;nbsp; return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;implode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$feeds&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$delimiter&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_query_string_encode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$exclude &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(), &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$parent &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array();&lt;br /&gt;&amp;nbsp; foreach (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;as &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$parent&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$parent &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;[&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;]&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;in_array&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$exclude&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; continue;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;is_array&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_query_string_encode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$exclude&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$key &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;=&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;implode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&amp;amp;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$params&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_destination&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() {&lt;br /&gt;&amp;nbsp; if (isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination=&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]) ? &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] : &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_query_string_encode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;?&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination=&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urlencode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_goto&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fragment &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$http_response_code &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;302&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; if (isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;extract&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;parse_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urldecode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])));&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; else if (isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;edit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;extract&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;parse_url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;urldecode&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;edit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])));&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;query&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;fragment&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$fragment&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;absolute&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;str_replace&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\r&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;), &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; if (!&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;defined&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;MAINTENANCE_MODE&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) || &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;MAINTENANCE_MODE &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;update&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;module_invoke_all&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;exit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;session_write_close&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Location: &#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$url&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$http_response_code&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; exit();&lt;br /&gt;}&lt;br /&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_site_offline&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_maintenance_theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;();&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;HTTP/1.1 503 Service unavailable&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Site off-line&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;&amp;nbsp; print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;maintenance_page&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;filter_xss_admin&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;variable_get&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;site_offline_message&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;@site is currently under maintenance. We should be back shortly. Thank you for your patience.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;@site&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;variable_get&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;site_name&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Drupal&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))))));&lt;br /&gt;}&lt;br /&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_not_found&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;HTTP/1.1 404 Not Found&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;watchdog&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;page not found&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;check_plain&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]), &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;WATCHDOG_WARNING&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; if (!isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;])) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_REQUEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;destination&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;];&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_get_normal_path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;variable_get&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;site_404&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;&amp;nbsp; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;amp;&amp;amp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;!= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;q&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;menu_set_active_item&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;menu_execute_active_handler&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$path&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; if (empty(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) || &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;MENU_NOT_FOUND &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;|| &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;MENU_ACCESS_DENIED&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;drupal_set_title&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Page not found&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;The requested page could not be found.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; print &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;page&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$return&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;FALSE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Please bear in mind, that &lt;code&gt;php -w&lt;/code&gt; strips all comments and white-space from a PHP file.&lt;/p&gt;
&lt;p&gt;Now, guess again, what a diff between the original common.inc from Drupal 6 and the code above (which has not been altered) will show you. I won&#039;t tell. You might look at the attached patch :)&lt;/p&gt;
&lt;p&gt;If you want to support this effort, please help in finding wrong applied formattings by coder_format in the &lt;a href=&quot;http://drupal.org/node/208767&quot;&gt;GHOP #136: Improve coder_format to re-format Drupal 6 core without wrong formattings&lt;/a&gt; issue, respectively in the corresponding &lt;a href=&quot;http://groups.drupal.org/node/8224&quot;&gt;wiki page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Daniel F. Kudwien&lt;br /&gt;
&lt;a href=&quot;http://www.unleashedmind.com&quot;&gt;unleashed mind&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/drupal-dojo&quot;&gt;Drupal Dojo&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/8265#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/3878">coder</category>
 <category domain="http://groups.drupal.org/taxonomy/term/507">developers</category>
 <category domain="http://groups.drupal.org/taxonomy/term/3546">GHOP</category>
 <category domain="http://groups.drupal.org/taxonomy/term/185">module development</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1281">patch</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1064">patches</category>
 <enclosure url="http://groups.drupal.org/files/common.inc_.patch_.txt" length="7789" type="application/x-octet-stream" />
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <group domain="http://groups.drupal.org/drupal-dojo">Drupal Dojo</group>
 <pubDate>Fri, 18 Jan 2008 12:43:00 +0000</pubDate>
 <dc:creator>sun</dc:creator>
 <guid isPermaLink="false">8265 at http://groups.drupal.org</guid>
</item>
<item>
 <title>GHOP #136: Improve coder_format checklist</title>
 <link>http://groups.drupal.org/node/8224</link>
 <description>&lt;p&gt;This page is for tracking the findings of &lt;a href=&quot;http://drupal.org/node/208767&quot;&gt;GHOP #136&lt;/a&gt; in coder_format of the coder module.&lt;/p&gt;
&lt;p&gt;Legend: See below.&lt;/p&gt;
&lt;h2&gt;includes/&lt;/h2&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;File&lt;/th&gt;
&lt;th&gt;Function&lt;/th&gt;
&lt;th&gt;Issue&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;Remove spaces from lines with only whitespace&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;actions.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;Excessive spacing for assignment alignment&lt;/td&gt;
&lt;td&gt;BOGUS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;batch.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;$var =&amp;amp; func()&lt;/code&gt; converted to &lt;code&gt;$var = &amp;amp;func()&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;bootstrap.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;// Capitalize and punctuate inline comments.&lt;/td&gt;
&lt;td&gt;POSTPONED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;bootstrap.inc&lt;/td&gt;
&lt;td&gt;watchdog&lt;/td&gt;
&lt;td&gt;Array spacing collapsed&lt;/td&gt;
&lt;td&gt;POSTPONED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;cache.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;cache-install.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;common.inc&lt;/td&gt;
&lt;td&gt;drupal_urlencode&lt;/td&gt;
&lt;td&gt;// inside /* */ should not be triggered&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;common.inc&lt;/td&gt;
&lt;td&gt;drupal_urlencode&lt;/td&gt;
&lt;td&gt;// inside &#039;&#039; should not be triggered&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;common.inc&lt;/td&gt;
&lt;td&gt;drupal_common_theme&lt;/td&gt;
&lt;td&gt;Indent of closing parenthesis of an multi-line array should always have the same indent like the array key or the variable name, e.g.&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$var &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;install_page&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;arguments&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; array(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;content&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;NULL&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;),&lt;br /&gt;&amp;nbsp; ),&lt;br /&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;coder_preprocessor_ml_array_add_comma() should add a comma to multi-line array values, which required for &lt;code&gt;case &amp;#039;)&amp;#039;&lt;/code&gt;.
&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;common.inc&lt;/td&gt;
&lt;td&gt;element_sort&lt;/td&gt;
&lt;td&gt;Hyphen in -1 should not be separated&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;database.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;database.mysql.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;database.mysql-common.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;database.mysqli.inc&lt;/td&gt;
&lt;td&gt;db_error&lt;/td&gt;
&lt;td&gt;Wrong usage of inline comments /* */ (should be //) is moved below contextual line.&lt;/td&gt;
&lt;td&gt;BOGUS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;database.pgsql.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;file.inc&lt;/td&gt;
&lt;td&gt;file_save_upload&lt;/td&gt;
&lt;td&gt;Improper usage of inline comment in front of case statement.&lt;/td&gt;
&lt;td&gt;BOGUS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;file.inc&lt;/td&gt;
&lt;td&gt;file_download&lt;/td&gt;
&lt;td&gt;Negative sign in parenthesis should not have whitespace&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;form.inc&lt;/td&gt;
&lt;td&gt;theme_image_button&lt;/td&gt;
&lt;td&gt;Long concatenated string merged to one line&lt;/td&gt;
&lt;td&gt;BOGUS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;form.inc&lt;/td&gt;
&lt;td&gt;batch_get&lt;/td&gt;
&lt;td&gt;function &amp;amp;foo() should not contain space between ampersand and name&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;image.gd.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;image.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;install.inc&lt;/td&gt;
&lt;td&gt;drupal_rewrite_settings&lt;/td&gt;
&lt;td&gt;// inside // should not be triggered&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;install.mysql.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;install.mysqli.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;install.pgsql.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;language.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;locale.inc&lt;/td&gt;
&lt;td&gt;_locale_import_read_po&lt;/td&gt;
&lt;td&gt;Proper inline comment (containing a colon and comma) is placed below statement.&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;locale.inc&lt;/td&gt;
&lt;td&gt;_locale_get_predefined_list&lt;/td&gt;
&lt;td&gt;Improper usage of multiline comment as inline comment.&lt;/td&gt;
&lt;td&gt;BOGUS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;mail.inc&lt;/td&gt;
&lt;td&gt;drupal_mail_send&lt;/td&gt;
&lt;td&gt;Closing parenthesis should have same indent like return statement.&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;menu.inc&lt;/td&gt;
&lt;td&gt;menu_tree_page_data&lt;/td&gt;
&lt;td&gt;Placements of while and while in a do ... while statement seem to be exchanged/corrupt.&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;module.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;pager.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;path.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;session.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;tablesort.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;theme.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;theme.maintenance.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;unicode.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;xmlrpc.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;xmlrpcs.inc&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;OK&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;modules/&lt;/h2&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;File&lt;/th&gt;
&lt;th&gt;Function&lt;/th&gt;
&lt;th&gt;Issue&lt;/th&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;/tr&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;filter.module&lt;/td&gt;
&lt;td&gt;_filter_htmlcorrector&lt;/td&gt;
&lt;td&gt;Wrong formatting applied for accessing a single string character using the curly brace syntax.&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;node.module&lt;/td&gt;
&lt;td&gt;node_filter_form&lt;/td&gt;
&lt;td&gt;postprocessor multiple_vars() should not match multiple lines that are separated by a blank line.&lt;/td&gt;
&lt;td&gt;FIXED&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Legend:&lt;br /&gt;
&quot;BOGUS&quot; means that the original code is considered wrong. coder_format follows a strict coding guideline and is not able to think like a human. This means that a developer has to write code (including comments) that is logically correct and basically follows these guidelines, too. For example, you should not wonder why something like&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$foo &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Hello word,&#039;&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;this is some kind of&#039;&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;ugly string concatenation.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;will be re-formatted to&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$foo &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Hello word,&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;this is some kind of&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;ugly string concatenation.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;If a developer really wanted to separate these strings onto multiple lines, a proper syntax should have been used:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$foo &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Hello word,&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$foo &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;this is some kind of&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$foo &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;ugly string concatenation.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/google-highly-open-participation-contest-ghop&quot;&gt;Google Highly Open Participation Contest (GHOP)&lt;/a&gt;&lt;/div&gt;</description>
 <category domain="http://groups.drupal.org/taxonomy/term/1895">Proposals</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <group domain="http://groups.drupal.org/google-highly-open-participation-contest-ghop">Google Highly Open Participation Contest (GHOP)</group>
 <pubDate>Wed, 16 Jan 2008 21:44:36 +0000</pubDate>
 <dc:creator>ezyang</dc:creator>
 <guid isPermaLink="false">8224 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Performance Profile of D6 (3 pages)</title>
 <link>http://groups.drupal.org/node/7628</link>
 <description>&lt;p&gt;This is my GHOP task, for further information look at &lt;a href=&quot;http://drupal.org/node/196907&quot; title=&quot;http://drupal.org/node/196907&quot;&gt;http://drupal.org/node/196907&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Text from there ;)&lt;br /&gt;
For GHOP Drupal-Issue 4 I did a profiling of D6.&lt;br /&gt;
The Comp Specs are:&lt;br /&gt;
Core2Duo E6320 (overclocked, both Cores 2,24Ghz)&lt;br /&gt;
4GB Mem&lt;br /&gt;
HDD - don&#039;t know :P should be 72000rpm, 8MB Cache or so&lt;br /&gt;
Gentoo Linux, Kernel 2.6.21-tuxonice-gentoo-r6 running X&lt;br /&gt;
1. Analysis of a fresh installed D6-HEAD (12.09.07) start page after installing (runned cron 1 time manually, please note that the standard page IS NOT saved into db)&lt;/p&gt;
&lt;p&gt;Overall stats:&lt;br /&gt;
It tooks about 12ms to build the complete page (jep, now it&#039;s a much faster Computer :p)&lt;/p&gt;
&lt;p&gt;The complete drupal_bootstrap-call took 9,3ms aka ~70%. It called 9 times _drupal_bootstrap. Analysis of the calls will follow. Most of the rest time is spent into the theme-function, 2,9ms (23%), analysis will follow. menu_executive is smart, so don&#039;t worry about it (at least here :D)&lt;br /&gt;
Analysis of drupal_bootstrap:&lt;/p&gt;
&lt;p&gt;Here is the function _drupal_bootstrap_full to mention, here you can focus on, it&#039;s consuming ~50% of the execution time(6ms) to execute it&#039;s code+calls to other funcs. More then 50% of it&#039;s time goes to the modules_load_all aka drupal_load calls. Here you could try to find a timeoptimized version for, but the code is rather short, not too much you&#039;re able to optimize. The Calls itself looks smart anyway, but having each call, and imagine having a high amount of modules, it will matter.&lt;br /&gt;
Analysis of theme:&lt;/p&gt;
&lt;p&gt;The theme-function including it&#039;s the other ~30% of the page generation time. It have a &lt;em&gt;big&lt;/em&gt; Callstack, and while I clicked through it, I just saw the time goes down with each layer, but I am not able to say THERE it goes. sorry guys. Only recommendation: Think of a ~100lines template engine :p It can have loops and ifs and it should be smart (didn&#039;t do a profiling on it)&lt;br /&gt;
2. Submitting a new Story-Form&lt;/p&gt;
&lt;p&gt;Creating a story consumes 15ms time&lt;br /&gt;
Here is nothing really new, differing from the old Computer, all is fine, except from the points talked above, we need ~50% for the bootstrap thing, ~30% for the theme, and ~25% for the menu_executive_active_handler. Tracking down some time loosed in theme(), I came across theme_render_template, it needs 1,3ms without having a call stack, so look there if you want to remove some crappy PHP logic ;)&lt;br /&gt;
The other&#039;s doesn&#039;t seems to be that wasting, but they have a deep call stack you could try to lower&lt;br /&gt;
3. Adminindex&lt;/p&gt;
&lt;p&gt;I&#039;ll just post the additional infos, the rest is like 1.&lt;br /&gt;
it needs 61(!)ms to be built, 8,8ms goes into drupal_bootstrap, 3,6ms into theme and 48ms!!!(80% of page generation time) into menu_executive_handler. Now, you sure asks. Why are we loosing that much time for building the admin index? it&#039;s 6x slower then the other one&#039;s! We start with menu_executive_handler itself. It needs 5,8ms for itself (without calls), his is imho too long. The most other time is spemt into a bug (to my understanding) of update.status-module, 38ms of the total page generation time goes into the function system_status. You don&#039;t need to compute your huge array for all modules ecvery time the admin visits the admin index, uh? Just cache the results of the last check (on cron and after adding a new module) and display these on the admin index. It will safe you at least 33ms. Is this an argument? :P I&#039;ll file a bug because of this to update_status :)&lt;br /&gt;
All other Calls of admin index seems to be ok, no other problems found&lt;/p&gt;
&lt;p&gt;For Questions contact me in #drupal or #drupal-ghop, nick Corni or drop a mail(cDOTr1ATgmxDOTde)&lt;/p&gt;
&lt;p&gt;The Profileroutpout is attached, strip the .txt ;)&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/7628#comments</comments>
 <enclosure url="http://groups.drupal.org/files/profiledata.tar_.gz_.txt" length="111268" type="text/plain" />
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Tue, 11 Dec 2007 20:45:23 +0000</pubDate>
 <dc:creator>Corni</dc:creator>
 <guid isPermaLink="false">7628 at http://groups.drupal.org</guid>
</item>
<item>
 <title>candidate node, user, and system functions for module splt</title>
 <link>http://groups.drupal.org/node/5239</link>
 <description>&lt;p&gt;Draft list from chx:&lt;/p&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function node_node_operations() {&lt;br /&gt;function node_operations_publish($nodes) {&lt;br /&gt;function node_operations_unpublish($nodes) {&lt;br /&gt;function node_operations_promote($nodes) {&lt;br /&gt;function node_operations_demote($nodes) {&lt;br /&gt;function node_operations_sticky($nodes) {&lt;br /&gt;function node_operations_unsticky($nodes) {&lt;br /&gt;function node_filters() {&lt;br /&gt;function node_build_filter_query() {&lt;br /&gt;function node_filter_form() {&lt;br /&gt;function theme_node_filter_form($form) {&lt;br /&gt;function theme_node_filters($form) {&lt;br /&gt;function node_filter_form_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function node_admin_nodes_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function node_admin_nodes_validate($form, &amp;amp;$form_state) {&lt;br /&gt;function node_admin_content() {&lt;br /&gt;function node_admin_nodes() {&lt;br /&gt;function theme_node_admin_nodes($form) {&lt;/p&gt;
&lt;p&gt;function system_main_admin_page($arg = NULL) {&lt;br /&gt;function system_admin_menu_block_page() {&lt;br /&gt;function system_admin_theme_settings() {&lt;br /&gt;function system_admin_theme_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function system_theme_select_form(&amp;amp;$form_state, $description = &amp;#039;&amp;#039;, $default_value = &amp;#039;&amp;#039;, $weight = 0) {&lt;br /&gt;function theme_system_theme_select_form($form) {&lt;br /&gt;function _system_zonelist() {&lt;br /&gt;function system_site_information_settings() {&lt;br /&gt;function system_clean_url_settings() {&lt;br /&gt;function system_error_reporting_settings() {&lt;br /&gt;function system_performance_settings() {&lt;br /&gt;function system_file_system_settings() {&lt;br /&gt;function system_image_toolkit_settings() {&lt;br /&gt;function system_rss_feeds_settings() {&lt;br /&gt;function system_date_time_settings() {&lt;br /&gt;function system_date_time_settings_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function system_site_maintenance_settings() {&lt;br /&gt;function system_themes_form() {&lt;br /&gt;function theme_system_themes_form($form) {&lt;br /&gt;function system_themes_form_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function system_modules($form_state = array()) {&lt;br /&gt;function system_modules_disable($form, $edit) {&lt;br /&gt;function system_modules_confirm_form($modules, $storage) {&lt;br /&gt;function system_module_build_dependencies($modules, $form_values) {&lt;br /&gt;function system_modules_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function theme_system_modules($form) {&lt;br /&gt;function system_modules_uninstall($form_state = NULL) {&lt;br /&gt;function system_modules_uninstall_confirm_form($storage) {&lt;br /&gt;function theme_system_modules_uninstall($form) {&lt;br /&gt;function system_modules_uninstall_validate($form, &amp;amp;$form_state) {&lt;br /&gt;function system_modules_uninstall_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function system_theme_settings(&amp;amp;$form_state, $key = &amp;#039;&amp;#039;) {&lt;/p&gt;
&lt;p&gt;function user_admin_perm($rid = NULL) {&lt;br /&gt;function theme_user_admin_perm($form) {&lt;br /&gt;function user_admin_perm_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function user_admin_role() {&lt;br /&gt;function user_admin_role_validate($form, &amp;amp;$form_state) {&lt;br /&gt;function user_admin_role_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function theme_user_admin_new_role($form) {&lt;br /&gt;function user_admin_account() {&lt;br /&gt;function theme_user_admin_account($form) {&lt;br /&gt;function user_admin_account_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function user_admin_account_validate($form, &amp;amp;$form_state) {&lt;br /&gt;function user_user_operations($form_state = array()) {&lt;br /&gt;function user_user_operations_unblock($accounts) {&lt;br /&gt;function user_user_operations_block($accounts) {&lt;br /&gt;function user_multiple_role_edit($accounts, $operation, $rid) {&lt;br /&gt;function user_multiple_delete_confirm(&amp;amp;$form_state) {&lt;br /&gt;function user_multiple_delete_confirm_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function user_admin_settings() {&lt;br /&gt;function user_admin($callback_arg = &amp;#039;&amp;#039;) {&lt;br /&gt;function user_admin_check_user() {&lt;br /&gt;function user_admin_check_mail() {&lt;br /&gt;function user_admin_check_host() {&lt;br /&gt;function user_admin_access_check() {&lt;br /&gt;function user_admin_access_check_validate($form, &amp;amp;$form_state) {&lt;br /&gt;function user_admin_access_check_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function user_admin_access_add($mask = NULL, $type = NULL) {&lt;br /&gt;function user_admin_access_delete_confirm($aid = 0) {&lt;br /&gt;function user_admin_access_delete_confirm_submit($form, &amp;amp;$form_state) {&lt;br /&gt;function user_admin_access_edit($aid = 0) {&lt;br /&gt;function user_admin_access_form(&amp;amp;$form_state, $edit, $submit) {&lt;br /&gt;function user_admin_access() {&lt;br /&gt;function user_filters() {&lt;br /&gt;function user_build_filter_query() {&lt;br /&gt;function user_filter_form() {&lt;br /&gt;function theme_user_filter_form($form) {&lt;br /&gt;function theme_user_filters($form) {&lt;br /&gt;function user_filter_form_submit($form, &amp;amp;$form_state) {&lt;/code&gt;&lt;/div&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <category domain="http://groups.drupal.org/taxonomy/term/1896">Not approved</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Fri, 20 Jul 2007 17:35:23 +0000</pubDate>
 <dc:creator>pwolanin</dc:creator>
 <guid isPermaLink="false">5239 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Break up core page handlers to include files</title>
 <link>http://groups.drupal.org/node/4179</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://drupal.org/node/140218&quot; title=&quot;http://drupal.org/node/140218&quot;&gt;http://drupal.org/node/140218&lt;/a&gt; now makes this possible: &lt;a href=&quot;http://drupal.org/node/146172&quot; title=&quot;http://drupal.org/node/146172&quot;&gt;http://drupal.org/node/146172&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So let&#039;s do it. :-)&lt;/p&gt;
&lt;p&gt;Core still needs to be factored out to separate page include files.  If you&#039;re interested in helping out, grab a module below.  Please follow the guidelines listed in the documentation page above.  If you feel the documentation page should be changed, comment on the book page so we can keep that all together in one place.&lt;/p&gt;
&lt;p&gt;A starting list of functions in node, user, and system:  &lt;a href=&quot;http://groups.drupal.org/node/5239&quot; title=&quot;http://groups.drupal.org/node/5239&quot;&gt;http://groups.drupal.org/node/5239&lt;/a&gt;.  Note, however, that some of this (especially node) may be touched by the actions patch.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;actions/trigger&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell / dmitrig01&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;aggregator&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: N/A&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;block&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;blog&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;blogapi&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: &lt;/dd&gt;
&lt;dd&gt;Issue/Status: N/A (No page callbacks)&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;book&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;color&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: &lt;/dd&gt;
&lt;dd&gt;Issue/Status: N/A (No page callbacks)&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;comment&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;contact&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;dblog&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;drupal&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;filter&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;forum&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;help&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;strong&gt;locale&lt;/strong&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: &lt;a href=&quot;http://drupal.org/node/187398&quot; title=&quot;http://drupal.org/node/187398&quot;&gt;http://drupal.org/node/187398&lt;/a&gt; &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;menu&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: pwolanin&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;node&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: pwolanin &lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;openid&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell &lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;path&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;ping&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: &lt;/dd&gt;
&lt;dd&gt;Issue/Status: N/A (no page callbacks)&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;strong&gt;profile&lt;/strong&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: &lt;a href=&quot;http://drupal.org/node/191544&quot; title=&quot;http://drupal.org/node/191544&quot;&gt;http://drupal.org/node/191544&lt;/a&gt; &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;php&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: &lt;/dd&gt;
&lt;dd&gt;Issue/Status: N/A (No page callbacks)&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;poll&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;statistics&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;syslog&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: &lt;/dd&gt;
&lt;dd&gt;Issue/Status: N/A (too small to bother)&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;taxonomy&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;tracker&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;translation&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;search&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell and dvessel&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;system&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell / pwolanin&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;throttle&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;upload&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: bennybobw&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &amp;amp; Committed &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;update&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: dww&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done&lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;user&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Volunteer: Crell and dvessel&lt;/dd&gt;
&lt;dd&gt;Issue/Status: Done &lt;/dd&gt;
&lt;dd&gt;Blocked on: &lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;For some of the very-common page handlers like node_page, we should do some benchmarking to see if it&#039;s better to leave them in the main .module file, give them their own dedicated include file, or put them in with the rest of the handlers for that module.  Whoever does that module, please look into it. :-)&lt;/p&gt;
&lt;p&gt;Documentation must be updated accordingly.&lt;/p&gt;
&lt;p&gt;Remember to check other modules to see if they use the handlers you are separating out!&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <category domain="http://groups.drupal.org/taxonomy/term/1895">Proposals</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Wed, 23 May 2007 03:54:17 +0000</pubDate>
 <dc:creator>Crell@drupal.org</dc:creator>
 <guid isPermaLink="false">4179 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Performance review of object translation required</title>
 <link>http://groups.drupal.org/node/3981</link>
 <description>&lt;p&gt;We have posted a patch to support object translation of certain Drupal objects (content types, user profile fields and categories, site settings, and so on) to multiple human languages. While we have clear concepts and very good ideas for the user interface (which we though before that would not be easy), performance-wise we are at crossroads. We would welcome beginner as well as expert reviewers to come and share their performance ideas about Drupal object translation, so Drupal 6 can include a mature translation infrastructure, advancing ahead of the competition. ;) We need your input!&lt;/p&gt;
&lt;p&gt;&quot;Introduce dynamic object translation API (optimize this!)&quot; &lt;a href=&quot;http://drupal.org/node/141461&quot; title=&quot;http://drupal.org/node/141461&quot;&gt;http://drupal.org/node/141461&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/translations&quot;&gt;Translations&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/3981#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/1834">Drupal 6</category>
 <category domain="http://groups.drupal.org/taxonomy/term/922">i18n</category>
 <category domain="http://groups.drupal.org/taxonomy/term/332">performance</category>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <group domain="http://groups.drupal.org/high-performance">High performance</group>
 <group domain="http://groups.drupal.org/i18n">Internationalization</group>
 <group domain="http://groups.drupal.org/reviewers">Reviewers</group>
 <group domain="http://groups.drupal.org/translations">Translations</group>
 <pubDate>Tue, 08 May 2007 11:25:16 +0000</pubDate>
 <dc:creator>Gábor Hojtsy</dc:creator>
 <guid isPermaLink="false">3981 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Random ID Generation Write up</title>
 <link>http://groups.drupal.org/node/3797</link>
 <description>&lt;p&gt;So, I&#039;ve had a few inquiries over the last few months about random node generation as I have implemented it successfully for a client. I have posted a full write up of it on my blog. Feel free to comment on it here or on my blog; I will post a patch when I have a chance and if there is interest.&lt;/p&gt;
&lt;p&gt;Article link: &lt;a href=&quot;http://earnestberry.com/node/13&quot; title=&quot;http://earnestberry.com/node/13&quot;&gt;http://earnestberry.com/node/13&lt;/a&gt;&lt;/p&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/3797#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/354">Hi Performance</category>
 <category domain="http://groups.drupal.org/taxonomy/term/66">identity</category>
 <category domain="http://groups.drupal.org/taxonomy/term/332">performance</category>
 <category domain="http://groups.drupal.org/taxonomy/term/1045">sql</category>
 <group domain="http://groups.drupal.org/washington-dc-drupalers">Washington, DC Drupalers</group>
 <group domain="http://groups.drupal.org/high-performance">High performance</group>
 <group domain="http://groups.drupal.org/enterprise">Enterprise</group>
 <group domain="http://groups.drupal.org/database-schema-api">Database Schema API</group>
 <group domain="http://groups.drupal.org/coding-standards-and-performance-optimization">Coding Standards and Performance Optimization</group>
 <pubDate>Tue, 24 Apr 2007 02:58:43 +0000</pubDate>
 <dc:creator>Souvent22@drupal.org</dc:creator>
 <guid isPermaLink="false">3797 at http://groups.drupal.org</guid>
</item>
<item>
 <title>Module &quot;Black-Hole&quot; revival</title>
 <link>http://groups.drupal.org/node/3704</link>
 <description>&lt;p&gt;There are a &quot;LOT&quot; of contrib modules out there. Even more so, there are a great deal of good modules that have been neglected. Lets be honest, a developers time is precious, and we all get spread thin and a bit scattered sometimes, and we leave our children (modules) to the way side for other things (like &quot;bill-paying&quot; modules/development so we can eat from time to time :) ).&lt;/p&gt;
&lt;p&gt;What I am thinking of is a session of &quot;Module &lt;strong&gt;Black-Hole&lt;/strong&gt; Revival&quot;. What I mean by this is this is a chance for the community to comment on the modules they would like to most see &quot;pushed&quot; on, upgraded, looked at, re-factored, etc. that have been neglected or even forgotten, and then perhaps the maintainer and/or volunteers agree to meet during Drupal-Con to make a large push on that particular module.&lt;/p&gt;
&lt;p&gt;The key here is &quot;&lt;strong&gt;neglected&lt;/strong&gt;&quot;. E.g. OG has an active community extending, commiting and maintaining it, thus I would not consider it a candidate.&lt;/p&gt;
&lt;p&gt;I think Drupal-Con is a perfect place for this. You have some of the best and brightest at your disposal for instant feed back and help, and an army of developers to contribute if they get bored and want a challenge.&lt;/p&gt;
&lt;p&gt;So, if some are interested, please post a comment; and if enough interest is generated, I&#039;ll create a poll of the top 10 or 15 or so and we can vote on those ( and still comment if there is still a strong feeling that others should be included out of the top filtered ones).&lt;/p&gt;
&lt;p&gt;I know Drupal-Con is a ways away, but factoring in a developers time, etc. by the time this thing comes to life, Drupal-Con will be here. I&#039;m hoping to go to Drupal-Con this year with a bit more preparation to be focused on accomplishing certain tasks, but still leave room for the &quot;fly-by-the-seat-of-my-pants-for-whatever-happends&quot; that I like about Drupal-Con also.&lt;/p&gt;
&lt;p&gt;So...hmm..I suppose I should cast the first stone....I personally would like to see MailHandler extended and documented more thoroughly; oh, Case-tracker is sorely lacking some advanced features and has been stale for some time. (this is also me offering my time to develop on it during Drupal con....beer would be nice payment ;) ).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;(Please post at the bottom of your comment the module(s) you would like to see pushed on, this will make it easier to tally. So thus as follows: )&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MailHandler&lt;/li&gt;
&lt;li&gt;Casetracker&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;og_rss_groups&quot;&gt;&lt;a href=&quot;/coding-standards-and-performance-optimization&quot;&gt;Coding Standards and Performance Optimization&lt;/a&gt;&lt;/div&gt;</description>
 <comments>http://groups.drupal.org/node/3704#comments</comments>
 <category domain="http://groups.drupal.org/taxonomy/term/860">barcelona</category>
 <category domain="http://groups.drupal.org/taxonomy/term/858">drupalcon barcelona</category>
 <category domain="http://groups.drupal.org/taxonomy/term