Benchmarks
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 5.20 ▼40.03 |
Dashboard /wp-admin | 2.12 ▼1.23 | 5.96 ▼58.88 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.47 ▼49.74 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.07 ▼87.24 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 4.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 |
---|
revoltload_text |
can_compress_scripts |
revoltload_position |
revoltload_image |
revoltload_version |
revoltload_switch |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Revolution Ajax Page Loader Lite: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.86 ▼0.52 | 9.43 ▲7.61 | 42.36 ▼2.99 |
Dashboard /wp-admin | 2,207 ▲33 | 5.66 ▲0.06 | 91.98 ▼0.11 | 41.18 ▼0.08 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.02 ▼0.02 | 39.71 ▼1.68 | 35.65 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,554 ▲23 | 22.18 ▼0.88 | 651.62 ▲45.30 | 53.68 ▲4.12 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.25 ▲0.08 | 100.32 ▼3.03 | 43.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
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
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)
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 22 | 205 |
JavaScript | 1 | 0 | 0 | 1 |
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 code | 0.62 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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