Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.06MB] [CPU: ▼16.48ms] Passed 4 tests
An overview of server-side resources used by Riloadr for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.04 ▼0.42 | 14.20 ▼26.59 |
Dashboard /wp-admin | 3.46 ▲0.15 | 33.98 ▼14.86 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 38.60 ▼12.00 |
Add New Post /wp-admin/post-new.php | 5.71 ▼0.18 | 77.72 ▼12.46 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 33.17 ▼3.81 |
Riloadr /wp-admin/options-general.php?page=riloadr | 3.43 | 30.72 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
riloadr_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Riloadr for WordPress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲161 | 13.60 ▼0.76 | 6.37 ▲3.95 | 38.91 ▼14.57 |
Dashboard /wp-admin | 2,204 ▲13 | 5.76 ▼0.15 | 105.06 ▲5.48 | 40.12 ▼5.60 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.01 | 40.79 ▲0.56 | 37.00 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.65 ▲0.27 | 672.92 ▼38.89 | 58.57 ▲2.86 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.23 ▲0.01 | 96.93 ▼13.54 | 41.36 ▼5.47 |
Riloadr /wp-admin/options-general.php?page=riloadr | 955 | 2.08 | 24.06 | 32.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=riloadr
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- > GET request to /wp-admin/options-general.php?page=riloadr
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=riloadr
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=riloadr
- > Deprecated in wp-content/plugins/riloadr-for-wordpress/scb/Forms.php+528
Non-static method scbForms::input_with_value() should not be called statically
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
Almost there! Just fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'scbAdminPage' not found in wp-content/plugins/riloadr-for-wordpress/scb/BoxesPage.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/riloadr-for-wordpress/scb/load.php:32
- > PHP Fatal error
Uncaught Error: Class 'scbAdminPage' not found in wp-content/plugins/riloadr-for-wordpress/includes/view.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/riloadr-for-wordpress/scb/Widget.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: images, responsive, riloadr
riloadr-for-wordpress/riloadr-for-wordpress.php Passed 13 tests
This is the main PHP file of "Riloadr for WordPress" version 1.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
93 characters long description:
Riloadr for WordPress is a cross-browser responsive images loader for WordPress 3.0.0 and up.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected1,605 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 501 | 371 | 1,571 |
JavaScript | 1 | 0 | 11 | 34 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 3 | 20.00% |
▷ Concrete classes | 12 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 143 | |
▷ Static methods | 57 | 39.86% |
▷ Public methods | 121 | 84.62% |
▷ Protected methods | 4 | 2.80% |
▷ Private methods | 18 | 12.59% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin