Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Error in wp-content/plugins/related-links-blender/includes/admin.php+38
Uncaught Error: Call to undefined method RelatedLinksBlender_admin::editor_page_panel_init() in wp-content/plugins/related-links-blender/includes/admin.php:38
Stack trace:
#0 wp-content/plugins/related-links-blender/plugin.php(272): RelatedLinksBlender_admin->__construct()
#1 wp-admin/includes/plugin.php(2286): include_once('/var/www/wordpr...')
#2 wp-admin/includes/plugin.php(668): plugin_sandbox_scrape()
Server metrics [RAM: ▼0.01MB] [CPU: ▼143.18ms] Passed 4 tests
A check of server-side resources used by Related Links Blender
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.12 | 35.48 ▲9.86 |
Dashboard /wp-admin | 3.06 ▲0.00 | 43.95 ▼4.89 |
Posts /wp-admin/edit.php | 3.11 ▼0.01 | 44.53 ▼8.44 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 88.53 ▼563.19 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 33.87 ▲3.79 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Related Links Blender: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲66 | 15.85 ▲0.39 | 6.85 ▼1.71 | 45.83 ▼4.19 |
Dashboard /wp-admin | 2,966 ▲32 | 6.08 ▲0.11 | 155.20 ▲18.15 | 109.48 ▼11.47 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.00 | 70.37 ▲4.22 | 92.15 ▼3.49 |
Add New Post /wp-admin/post-new.php | 2,057 ▲557 | 19.51 ▲1.04 | 382.25 ▲38.29 | 109.42 ▼3.83 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.03 ▲0.04 | 147.18 ▼23.33 | 118.11 ▼10.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'RelatedLinksBlender' not found in wp-content/plugins/related-links-blender/includes/core.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/related-links-blender/plugin.php:43
- > PHP Fatal error
Uncaught Error: Class 'RelatedLinksBlender_core' not found in wp-content/plugins/related-links-blender/includes/admin.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: related posts, related links, visitor retention, cross linking, relevant links
related-links-blender/plugin.php 92% from 13 tests
This is the main PHP file of "Related Links Blender" version 0.81, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("related-links-blender.php" instead of "plugin.php")
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
Success! There were no dangerous files found in this plugin1,002 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 269 | 178 | 588 |
JavaScript | 2 | 80 | 19 | 278 |
CSS | 2 | 21 | 11 | 136 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.67 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 83.33% |
▷ Protected methods | 4 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin