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 cannot be installed
- > Deprecated in wp-content/plugins/reloadr-for-wp/reloadr-for-wordpress.php+54
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼50.18ms] Passed 4 tests
Analyzing server-side resources used by Reloadr for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.40 | 4.88 ▼31.80 |
Dashboard /wp-admin | 2.09 ▼1.22 | 5.91 ▼41.15 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 5.52 ▼43.16 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.66 ▼84.59 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 6.37 ▼31.46 |
Reloadr /wp-admin/options-general.php?page=rfw_settings | 2.09 | 5.35 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Reloadr for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲38 | 14.81 ▲0.23 | 1.81 ▼0.11 | 39.26 ▼2.90 |
Dashboard /wp-admin | 2,207 ▲22 | 5.83 ▼0.07 | 97.28 ▼9.19 | 38.60 ▼4.09 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.00 | 44.77 ▲9.51 | 37.04 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 23.21 ▲0.02 | 618.33 ▼65.04 | 57.98 ▲0.52 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.20 ▼0.04 | 94.52 ▼2.94 | 42.24 ▲0.23 |
Reloadr /wp-admin/options-general.php?page=rfw_settings | 802 | 2.06 | 23.48 | 25.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/reloadr-for-wp/reloadr-for-wordpress.php+54
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rfw_settings
- > Deprecated in wp-content/plugins/reloadr-for-wp/reloadr-for-wordpress.php+74
Array and string offset access syntax with curly braces is deprecated
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/reloadr-for-wp/reloadr-for-wordpress.php:82
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (No need to set the default values.)
reloadr-for-wp/reloadr-for-wordpress.php 85% from 13 tests
The main PHP file in "Reloadr for WordPress" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("reloadr-for-wp.php" instead of "reloadr-for-wordpress.php")
- Description: The description should be shorter than 140 characters (currently 378 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected196 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 53 | 90 |
JavaScript | 1 | 10 | 24 | 48 |
Markdown | 1 | 16 | 0 | 38 |
PO File | 1 | 7 | 6 | 20 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 11.73KB | 6.46KB | ▼ 44.93% |