Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.08MB] [CPU: ▲9.46ms] Passed 4 tests
Server-side resources used by WordPress Review & Structure Data Schema Plugin – Review Schema
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.76 ▲3.30 | 51.89 ▲10.68 |
Dashboard /wp-admin | 5.09 ▲1.75 | 61.93 ▲2.02 |
Posts /wp-admin/edit.php | 5.14 ▲1.79 | 61.02 ▲15.13 |
Add New Post /wp-admin/post-new.php | 8.97 ▲3.08 | 174.87 ▲87.19 |
Media Library /wp-admin/upload.php | 4.93 ▲1.70 | 47.92 ▲10.02 |
Settings /wp-admin/admin.php?page=rtrs-settings | 4.94 | 47.79 |
All Affiliates /wp-admin/edit.php?post_type=rtrs_affiliate | 5.06 | 50.35 |
All Reviews /wp-admin/admin.php?page=rtrs-reviews | 5.11 | 48.49 |
All Review Schema /wp-admin/edit.php?post_type=rtrs | 5.06 | 54.28 |
Get Help /wp-admin/admin.php?page=rtrs-reviews-get-help | 4.93 | 47.68 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 130 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_rtrs-widget-review |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WordPress Review & Structure Data Schema Plugin – Review Schema
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,039 ▲277 | 15.05 ▲0.63 | 1.54 ▼0.37 | 37.93 ▼5.19 |
Dashboard /wp-admin | 2,435 ▲258 | 6.64 ▲1.00 | 134.32 ▲41.64 | 92.57 ▲50.37 |
Posts /wp-admin/edit.php | 2,364 ▲264 | 3.98 ▲2.04 | 61.33 ▲19.35 | 73.28 ▲36.36 |
Add New Post /wp-admin/post-new.php | 19,575 ▲18,049 | 25.24 ▲2.07 | 1,031.59 ▲352.14 | 66.88 ▲12.33 |
Media Library /wp-admin/upload.php | 1,500 ▲103 | 4.76 ▲0.61 | 95.05 ▼22.82 | 91.91 ▲44.06 |
Settings /wp-admin/admin.php?page=rtrs-settings | 1,377 | 3.69 | 53.77 | 83.02 |
All Affiliates /wp-admin/edit.php?post_type=rtrs_affiliate | 1,336 | 3.95 | 59.58 | 81.25 |
All Reviews /wp-admin/admin.php?page=rtrs-reviews | 1,440 | 3.82 | 51.77 | 77.14 |
All Review Schema /wp-admin/edit.php?post_type=rtrs | 1,350 | 3.94 | 65.14 | 63.72 |
Get Help /wp-admin/admin.php?page=rtrs-reviews-get-help | 1,815 | 10.14 | 309.62 | 123.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_rtrs-widget-review
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | 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× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/review-schema/templates/partials/buy-btn.php
- > /wp-content/plugins/review-schema/templates/partials/title.php
- 46× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Rtrs\\Helpers\\Functions' not found in wp-content/plugins/review-schema/views/metas/affiliate/schema.php:3
- > PHP Fatal error
Uncaught Error: Class 'Rtrs\\Helpers\\Functions' not found in wp-content/plugins/review-schema/views/metas/sc/style.php:3
- > PHP Fatal error
Uncaught Error: Class 'Rtrs\\Models\\Review' not found in wp-content/plugins/review-schema/templates/summary/layout-two.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/review-schema/views/widgets/review-schema.php:2
- > PHP Fatal error
Uncaught Error: Class 'Rtrs\\Models\\Review' not found in wp-content/plugins/review-schema/templates/summary/layout-three.php:19
- > PHP Fatal error
Uncaught Error: Class 'Rtrs\\Controllers\\Admin\\Meta\\AddMetaBox' not found in wp-content/plugins/review-schema/views/review-sc-css.php:10
- > PHP Notice
Undefined variable: p_meta in wp-content/plugins/review-schema/templates/partials/title.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_type() in wp-content/plugins/review-schema/templates/reviews.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/review-schema/templates/partials/buy-btn.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/review-schema/templates/partials/author.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=rtrs-reviews-get-help
- > Network (severe)
images/admin/banner.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Donate link: Invalid URI found ("")
review-schema/review-schema.php 92% from 13 tests
The principal PHP file in "WordPress Review & Structure Data Schema Plugin – Review Schema" v. 2.1.13 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 229 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin23,220 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 93 | 2,220 | 3,386 | 18,852 |
CSS | 7 | 302 | 175 | 2,961 |
JavaScript | 6 | 279 | 203 | 1,367 |
SVG | 1 | 23 | 0 | 35 |
JSON | 1 | 0 | 0 | 5 |
PHP code 0% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,061)
- Method cyclomatic complexity should be reduced to less than 100 (currently 836)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 66.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,061.00 |
Average method complexity | 7.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 836.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 37 | |
▷ Abstract classes | 1 | 2.70% |
▷ Concrete classes | 36 | 97.30% |
▷ Final classes | 1 | 2.78% |
Methods | 376 | |
▷ Static methods | 99 | 26.33% |
▷ Public methods | 336 | 89.36% |
▷ Protected methods | 5 | 1.33% |
▷ Private methods | 35 | 9.31% |
Functions | 20 | |
▷ Named functions | 1 | 5.00% |
▷ Anonymous functions | 19 | 95.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/icon-16x16.png | 1.39KB | 0.58KB | ▼ 58.46% |
assets/imgs/icon-20x20.png | 1.50KB | 0.73KB | ▼ 51.17% |
assets/imgs/icon-32x32.png | 1.79KB | 1.00KB | ▼ 44.22% |