Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.49MB] [CPU: ▼19.99ms] Passed 4 tests
Analyzing server-side resources used by Suggest Review
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 32.48 ▼8.69 |
Dashboard /wp-admin | 3.52 ▲0.17 | 46.72 ▼15.37 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 48.26 ▲2.59 |
Add New Post /wp-admin/post-new.php | 3.37 ▼2.52 | 35.36 ▼58.11 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.33 ▲2.23 |
Settings /wp-admin/admin.php?page=suggestreview_settings | 3.38 | 30.65 |
Flagged Posts /wp-admin/admin.php?page=suggestreview_posts | 3.40 | 35.56 |
Server storage [IO: ▲0.11MB] [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: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
SuggestReviewAdminOptions |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Suggest Review: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 13.20 ▼1.56 | 4.70 ▲2.80 | 39.32 ▼3.26 |
Dashboard /wp-admin | 2,235 ▲44 | 5.91 ▲1.04 | 110.63 ▲2.23 | 39.26 ▼2.29 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.20 ▲0.15 | 39.96 ▲2.13 | 35.64 ▲1.29 |
Add New Post /wp-admin/post-new.php | 6,251 ▲4,723 | 19.04 ▲0.81 | 845.33 ▲239.72 | 59.19 ▼6.16 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.21 ▲0.01 | 95.46 ▼1.83 | 41.23 ▼1.09 |
Settings /wp-admin/admin.php?page=suggestreview_settings | 1,133 | 2.05 | 23.83 | 28.64 |
Flagged Posts /wp-admin/admin.php?page=suggestreview_posts | 782 | 2.06 | 24.37 | 22.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- SuggestReviewAdminOptions
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=suggestreview_settings
- > Notice in wp-content/plugins/suggest-review/suggest-review.php+431
Undefined index: exclude_ids
- > GET request to /wp-admin/admin.php?page=suggestreview_posts
- > Notice in wp-content/plugins/suggest-review/suggest-review.php+546
Undefined variable: sortedposts
- > GET request to /wp-admin/admin.php?page=suggestreview_posts
- > Warning in wp-content/plugins/suggest-review/suggest-review.php+546
count(): Parameter must be an array or an object that implements Countable
SRP 50% 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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/suggest-review/suggest-review.php:856
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== suggest-review ===
) - Donate link: Please fix this invalid url: ""
- Tags: No tags were detected
suggest-review/suggest-review.php Passed 13 tests
"Suggest Review" version 1.4.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
71 characters long description:
Lets users suggest that content may need to be reviewed or re-examined.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,063 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 102 | 95 | 681 |
PO File | 1 | 105 | 142 | 353 |
CSS | 1 | 2 | 3 | 29 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 108.00 |
▷ Minimum class complexity | 108.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 9.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin