Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.86MB] [CPU: ▼33.67ms] Passed 4 tests
This is a short check of server-side resources used by Related Posts via Taxonomies
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 41.97 ▼3.14 |
Dashboard /wp-admin | 3.09 ▼0.22 | 27.68 ▼23.68 |
Posts /wp-admin/edit.php | 3.09 ▼0.27 | 22.87 ▼25.64 |
Add New Post /wp-admin/post-new.php | 3.09 ▼2.80 | 23.47 ▼73.81 |
Media Library /wp-admin/upload.php | 3.09 ▼0.14 | 27.68 ▼11.55 |
Related Posts via Taxonomies /wp-admin/options-general.php?page=related-posts-via-taxonomies | 3.09 | 24.62 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
related_posts_via_taxonomies |
Browser metrics Passed 4 tests
A check of browser resources used by Related Posts via Taxonomies
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.20 ▼0.16 | 2.19 ▲0.23 | 44.89 ▲3.62 |
Dashboard /wp-admin | 2,199 ▲19 | 5.60 ▼0.03 | 96.82 ▲1.64 | 41.55 ▼4.49 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.14 ▲0.13 | 37.71 ▲0.54 | 35.11 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 17.64 ▲0.17 | 609.25 ▼70.72 | 55.45 ▼9.43 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.32 ▲0.08 | 97.91 ▼8.56 | 42.77 ▼1.19 |
Related Posts via Taxonomies /wp-admin/options-general.php?page=related-posts-via-taxonomies | 1,332 | 1.73 | 30.49 | 45.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method relatedPostsViaTaxonomies_admin::add() should not be called statically
- This plugin does not fully uninstall, leaving 7 options in the database
- related_posts_via_taxonomies
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 50% 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
- > GET request to /wp-admin/options-general.php?page=related-posts-via-taxonomies
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method relatedPostsViaTaxonomies_admin::add() should not be called statically
- > GET request to /wp-admin/options-general.php?page=related-posts-via-taxonomies
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method relatedPostsViaTaxonomies_admin::head() should not be called statically
- > GET request to /wp-admin/options-general.php?page=related-posts-via-taxonomies
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method relatedPostsViaTaxonomies_admin::admin() should not be called statically
- > GET request to /wp-admin/options-general.php?page=related-posts-via-taxonomies
- > Notice in wp-content/plugins/related-posts-via-taxonomies/includes/admin.php+60
Undefined index: submit
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/related-posts-via-taxonomies/related-posts-via-taxonomies.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/related-posts-via-taxonomies/includes/admin.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Display ( If the user is not logged in. )), #2 (Display ( If the user is logged in. )), #3 (Settings » Related Posts via Taxonomies), #4 (Related Posts via Taxonomies - Options » Display), #5 (Related Posts via Taxonomies - Options » Order), #6 (Related Posts via Taxonomies - Options » Exclude), #7 (Related Posts via Taxonomies - Options » Post types), #8 (Related Posts via Taxonomies - Options » Promotion)
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
related-posts-via-taxonomies/related-posts-via-taxonomies.php 92% from 13 tests
The entry point to "Related Posts via Taxonomies" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 215 characters long)
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
Everything looks great! No dangerous files found in this plugin798 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 89 | 20 | 684 |
PO File | 1 | 52 | 4 | 114 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 33.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 20.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin