Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/beautiful-customizable-related-postspages-plugin/leepty.php+118
Use of undefined constant LBONSTERVERSION - assumed 'LBONSTERVERSION' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.87ms] Passed 4 tests
A check of server-side resources used by Related Posts - Beautiful & Customizable
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.80 ▼1.72 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.15 ▼9.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.77 ▼4.23 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.01 ▼24.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.84 ▲0.89 |
Leepty Options /wp-admin/options-general.php?page=leepty_page | 3.19 | 28.61 |
Server storage [IO: ▲0.38MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
leepty_plugin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Related Posts - Beautiful & Customizable
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.23 ▼1.15 | 2.47 ▲0.73 | 59.22 ▲19.77 |
Dashboard /wp-admin | 2,217 ▲29 | 5.90 ▲0.99 | 108.05 ▲3.71 | 39.44 ▼0.88 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.02 ▼0.02 | 39.12 ▲0.39 | 36.52 ▲3.23 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 23.34 ▲5.89 | 695.72 ▲74.77 | 60.83 ▲17.61 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.20 ▼0.09 | 95.21 ▼1.39 | 44.61 ▲4.01 |
Leepty Options /wp-admin/options-general.php?page=leepty_page | 968 | 1.87 | 24.21 | 31.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function unregister_setting was called with an argument that is deprecated since version 4.7.0! $sanitize_callback is deprecated. The callback from register_setting() is used instead.
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=leepty_page
- > Notice in wp-content/plugins/beautiful-customizable-related-postspages-plugin/leepty.php+229
Undefined index: leepty_setting_headbox_color0
- > GET request to /wp-admin/options-general.php?page=leepty_page
- > Notice in wp-content/plugins/beautiful-customizable-related-postspages-plugin/leepty.php+230
Undefined index: leepty_setting_headbox_color1
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=leepty_page
- > Notice in wp-content/plugins/beautiful-customizable-related-postspages-plugin/leepty.php+221
Undefined index: leepty_dropdown3
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=leepty_page
- > Notice in wp-content/plugins/beautiful-customizable-related-postspages-plugin/leepty.php+210
Undefined index: leepty_dropdown2
- > GET request to /wp-admin/options-general.php?page=leepty_page
- > Notice in wp-content/plugins/beautiful-customizable-related-postspages-plugin/leepty.php+238
Undefined index: leepty_setting_in_box_color0
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/beautiful-customizable-related-postspages-plugin/css/styles.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/beautiful-customizable-related-postspages-plugin/leepty.php:301
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== beautiful-customizable-related-postspages-plugin ===
)
beautiful-customizable-related-postspages-plugin/leepty.php 77% from 13 tests
The entry point to "Related Posts - Beautiful & Customizable" version 0.6-nw... is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "0.6-nw...")
- Description: Please keep the plugin description shorter than 140 characters (currently 164 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("beautiful-customizable-related-postspages-plugin.php" instead of "leepty.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,222 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 133 | 36 | 766 |
PHP | 2 | 48 | 72 | 317 |
CSS | 2 | 21 | 0 | 139 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.34MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes.png | 340.51KB | 173.63KB | ▼ 49.01% |
js/hs.png | 2.62KB | 7.54KB | 0.00% |
js/hv.png | 2.80KB | 7.32KB | 0.00% |