Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼136.30ms] Passed 4 tests
A check of server-side resources used by Related Posts Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.36 ▲0.53 | 28.19 ▲7.88 |
Dashboard /wp-admin | 3.58 ▲0.51 | 35.00 ▼1.54 |
Posts /wp-admin/edit.php | 3.63 ▲0.52 | 35.21 ▲4.90 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.95 | 89.69 ▼556.43 |
Media Library /wp-admin/upload.php | 3.45 ▲0.45 | 63.90 ▲40.57 |
Server storage [IO: ▲1.51MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 171 new files
Database: no new tables, 3 new options
New WordPress options |
---|
rpl_options |
rpl_version |
rpl_defaults |
Browser metrics Passed 4 tests
An overview of browser requirements for Related Posts Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,856 ▲255 | 16.19 ▲0.57 | 9.46 ▲4.39 | 77.58 ▲5.08 |
Dashboard /wp-admin | 2,948 ▲55 | 6.14 ▲0.04 | 113.58 ▼17.64 | 185.40 ▲13.69 |
Posts /wp-admin/edit.php | 2,761 ▲21 | 3.12 ▼0.11 | 64.13 ▼2.02 | 141.36 ▲1.32 |
Add New Post /wp-admin/post-new.php | 1,781 ▼2,032 | 21.49 ▲2.50 | 406.17 ▼55.67 | 190.90 ▲20.80 |
Media Library /wp-admin/upload.php | 1,769 ▲17 | 5.55 ▲0.06 | 132.18 ▼15.72 | 215.80 ▲33.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 3 options
- rpl_options
- rpl_defaults
- rpl_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/related-posts-lite/backend/tabs/instance/layout/output-placement.php
- 78× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsType' not found in wp-content/plugins/related-posts-lite/backend/settings/class/border.class.php:12
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsType' not found in wp-content/plugins/related-posts-lite/backend/settings/class/imageradio.class.php:12
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsGradient' not found in wp-content/plugins/related-posts-lite/backend/tabs/instance/theme/nav_buttons.php:5
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsType' not found in wp-content/plugins/related-posts-lite/backend/settings/class/boxshadow-mini.class.php:12
- > PHP Fatal error
require_once(): Failed opening required 'AJAXSEARCHPRO_PATH/settings/comp_check.php' (include_path='.:/usr/share/php') in wp-content/plugins/related-posts-lite/comp_check.php on line 3
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/related-posts-lite/includes/views/rpl.shortcode.php:1
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsTextSmall' not found in wp-content/plugins/related-posts-lite/backend/tabs/instance/theme/layout_slick.php:5
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsCompatibility' not found in wp-content/plugins/related-posts-lite/backend/comp_check.php:3
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsCompatibility' not found in wp-content/plugins/related-posts-lite/compatibility.php:7
- > PHP Fatal error
Uncaught Error: Class 'wpdreamsType' not found in wp-content/plugins/related-posts-lite/backend/settings/class/uploadreset.class.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 18 tag instead of maximum 10
related-posts-lite/related-posts-lite.php Passed 13 tests
The entry point to "Related Posts Lite" version 1.12 is a PHP file that has certain tags in its header comment area
47 characters long description:
An elegant and powerful related posts solution.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected24,093 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 1,379 | 94 | 7,771 |
PHP | 85 | 765 | 996 | 7,189 |
JSON | 1 | 0 | 0 | 5,143 |
JavaScript | 9 | 926 | 413 | 3,610 |
PO File | 2 | 134 | 144 | 320 |
SVG | 5 | 22 | 6 | 60 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 239.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 51 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 51 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 199 | |
▷ Static methods | 12 | 6.03% |
▷ Public methods | 195 | 97.99% |
▷ Protected methods | 4 | 2.01% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
44 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
backend/settings/assets/icons/pen.png | 1.09KB | 0.32KB | ▼ 70.30% |
backend/settings/assets/icons/b-warning.png | 1.75KB | 0.83KB | ▼ 52.48% |
backend/settings/assets/icons/black_arrow.png | 2.08KB | 2.57KB | 0.00% |
img/up.png | 1.06KB | 0.15KB | ▼ 85.66% |
backend/settings/assets/icons/upload-before.png | 0.99KB | 0.20KB | ▼ 79.51% |