10% revolution-ajax-content-loader

Code Review | Revolution Ajax Page Loader Lite

WordPress plugin Revolution Ajax Page Loader Lite scored10%from 54 tests.

About plugin

  • Plugin page: revolution-ajax-c...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 1.0-3.8.1
  • WordPress version: 6.3.1
  • First release: Sep 19, 2013
  • Latest release: Jun 7, 2014
  • Number of updates: 24
  • Update frequency: every 10.9 days
  • Top authors: mesunil2010 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active /6,295 total downloads


Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
  • The plugin did not install without errors
    • > Notice in wp-content/plugins/revolution-ajax-content-loader/revoltload.php+33
    Undefined index: revoltload

Server metrics [RAM: ▼1.90MB] [CPU: ▼58.97ms] Passed 4 tests

Server-side resources used by Revolution Ajax Page Loader Lite
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.10 ▼1.365.20 ▼40.03
Dashboard /wp-admin2.12 ▼1.235.96 ▼58.88
Posts /wp-admin/edit.php2.12 ▼1.245.47 ▼49.74
Add New Post /wp-admin/post-new.php2.12 ▼3.776.07 ▼87.24
Media Library /wp-admin/upload.php2.12 ▼1.114.91 ▼32.91

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 12 new options
New WordPress options

Browser metrics Passed 4 tests

Revolution Ajax Page Loader Lite: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,904 ▲14313.86 ▼0.529.43 ▲7.6142.36 ▼2.99
Dashboard /wp-admin2,207 ▲335.66 ▲0.0691.98 ▼0.1141.18 ▼0.08
Posts /wp-admin/edit.php2,112 ▲92.02 ▼0.0239.71 ▼1.6835.65 ▼2.76
Add New Post /wp-admin/post-new.php1,554 ▲2322.18 ▼0.88651.62 ▲45.3053.68 ▲4.12
Media Library /wp-admin/upload.php1,415 ▲124.25 ▲0.08100.32 ▼3.0343.51 ▼0.61

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/revolution-ajax-content-loader/revoltload.php+33
    Undefined index: revoltload
  • The uninstall procedure has failed, leaving 12 options in the database
    • revoltload_version
    • revoltload_position
    • revoltload_image
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • revoltload_display
    • widget_theysaidso_widget
    • ...

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Notice
      Undefined index: revoltload in wp-content/plugins/revolution-ajax-content-loader/revoltload.php on line 33
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revolution-ajax-content-loader/revoltload.php:38

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Contributors: Contributors not specified
  • Tags: There are too many tags (11 tag instead of maximum 10)
Please take inspiration from this readme.txt

revolution-ajax-content-loader/revoltload.php 92% from 13 tests

The primary PHP file in "Revolution Ajax Page Loader Lite" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("revolution-ajax-content-loader.php" instead of "revoltload.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin206 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.62
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions6100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin