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.05MB] [CPU: ▼10.52ms] Passed 4 tests
An overview of server-side resources used by Manual Related Posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.40 ▼6.75 |
Dashboard /wp-admin | 3.38 ▲0.03 | 51.04 ▼15.53 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.83 ▼10.02 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.09 | 88.89 ▼9.77 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 38.17 ▼1.93 |
Manual Related Posts /wp-admin/options-general.php?page=bawmrp_settings | 3.31 | 34.28 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Manual Related Posts
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.72 ▲0.35 | 1.94 ▼0.24 | 43.40 ▲0.23 |
Dashboard /wp-admin | 2,202 ▲28 | 5.62 ▼0.04 | 83.17 ▼18.70 | 40.88 ▼6.36 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.05 | 33.99 ▼6.78 | 37.32 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 22.96 ▲0.03 | 642.78 ▼20.27 | 58.49 ▲5.46 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.03 | 97.17 ▼24.60 | 45.89 ▼6.23 |
Manual Related Posts /wp-admin/options-general.php?page=bawmrp_settings | 967 | 2.01 | 25.91 | 45.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bawmrp_settings
- > Notice in wp-content/plugins/baw-manual-related-posts/inc/setting_fields.inc.php+96
Trying to access array offset on value of type bool
SRP 0% 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
The following issues need your attention
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/baw-manual-related-posts/inc/bothend-noajax.inc.php
- > /wp-content/plugins/baw-manual-related-posts/inc/backend-noajax.inc.php
- > /wp-content/plugins/baw-manual-related-posts/inc/frontend-noajax.inc.php
- > /wp-content/plugins/baw-manual-related-posts/inc/about.inc.php
- > /wp-content/plugins/baw-manual-related-posts/inc/backend-ajax.inc.php
- > /wp-content/plugins/baw-manual-related-posts/inc/setting_fields.inc.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/baw-manual-related-posts/bawmrp.php:12
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #2, #3, #4, #5, #6, #7, #8 in baw-manual-related-posts/assets to your readme.txt
baw-manual-related-posts/bawmrp.php 92% from 13 tests
Analyzing the main PHP file in "Manual Related Posts" version 1.8.8
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("baw-manual-related-posts.php" instead of "bawmrp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,174 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 45 | 32 | 624 |
PO File | 3 | 181 | 250 | 397 |
JavaScript | 2 | 23 | 2 | 153 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin