Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.73ms] Passed 4 tests
This is a short check of server-side resources used by Recent Related Post And Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.98 ▼1.41 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.24 ▼4.02 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.66 ▲4.14 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.28 ▲3.48 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.29 ▼0.97 |
All Shortcode /wp-admin/edit.php?post_type=rp_and_rp | 3.33 | 34.00 |
Page/Post settings /wp-admin/edit.php?post_type=rp_and_rp&page=recent-related-post-and-page | 3.39 | 36.05 |
Add New /wp-admin/post-new.php?post_type=rp_and_rp | 3.61 | 46.50 |
Help and Support /wp-admin/edit.php?post_type=rp_and_rp&page=recent-related-post-and-page_pro | 3.28 | 30.63 |
Server storage [IO: ▲3.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 54 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_rp_and_rp |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Recent Related Post And Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲131 | 13.42 ▼0.98 | 7.96 ▲6.08 | 37.78 ▼6.71 |
Dashboard /wp-admin | 2,241 ▲64 | 5.64 ▲0.06 | 82.77 ▼20.13 | 40.22 ▼2.93 |
Posts /wp-admin/edit.php | 2,206 ▲106 | 2.52 ▲0.57 | 72.14 ▲36.84 | 32.55 ▼6.16 |
Add New Post /wp-admin/post-new.php | 1,605 ▲79 | 23.55 ▲0.25 | 613.51 ▼52.67 | 33.14 ▼16.14 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.25 ▲0.07 | 95.72 ▼6.97 | 40.79 ▼3.70 |
All Shortcode /wp-admin/edit.php?post_type=rp_and_rp | 1,186 | 2.38 | 38.00 | 28.30 |
Page/Post settings /wp-admin/edit.php?post_type=rp_and_rp&page=recent-related-post-and-page | 1,981 | 2.35 | 62.75 | 39.72 |
Add New /wp-admin/post-new.php?post_type=rp_and_rp | 5,131 | 4.45 | 156.49 | 120.31 |
Help and Support /wp-admin/edit.php?post_type=rp_and_rp&page=recent-related-post-and-page_pro | 870 | 2.17 | 22.99 | 39.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_rp_and_rp
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=rp_and_rp
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=rp_and_rp
- > Network (severe)
wp-content/plugins/recent-related-post-and-page/settings/images/hover.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
recent-related-post-and-page/recent-related-post-and-page.php 92% from 13 tests
The main PHP file in "Recent Related Post And Page" ver. 1.4.9 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin22,500 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,954 |
JavaScript | 9 | 968 | 961 | 8,348 |
PHP | 15 | 366 | 122 | 3,253 |
CSS | 9 | 133 | 30 | 1,184 |
PO File | 1 | 501 | 776 | 761 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
2 PNG files occupy 0.15MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
settings/images/template-1.png | 71.07KB | 23.29KB | ▼ 67.23% |
settings/images/template-2.png | 82.94KB | 26.42KB | ▼ 68.15% |