Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼4.07ms] Passed 4 tests
Analyzing server-side resources used by LSX Tour Operator Reviews
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 43.28 ▲4.79 |
Dashboard /wp-admin | 3.49 ▲0.18 | 50.96 ▲0.07 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 48.19 ▼8.00 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 85.96 ▼9.06 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.95 ▲0.72 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for LSX Tour Operator Reviews
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.59 ▼0.78 | 1.88 ▼0.31 | 38.48 ▼5.15 |
Dashboard /wp-admin | 2,221 ▲18 | 5.81 ▲0.92 | 101.22 ▼28.51 | 38.58 ▼12.52 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.06 ▲0.05 | 40.82 ▼1.16 | 37.77 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼14 | 17.58 ▼5.69 | 673.86 ▼28.00 | 60.39 ▲10.62 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.24 ▼0.01 | 101.50 ▼11.56 | 46.00 ▼0.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
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
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/tour-operator-reviews/includes/post-types/config-review.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tour-operator-reviews/templates/archive-review.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tour-operator-reviews/classes/class-to-reviews.php:105
- > PHP Fatal error
Uncaught Error: Class 'LSX_TO_Schema_Graph_Piece' not found in wp-content/plugins/tour-operator-reviews/classes/class-to-review-schema.php:13
- > PHP Fatal error
Uncaught Error: Class 'LSX_TO_Reviews' not found in wp-content/plugins/tour-operator-reviews/classes/class-to-reviews-admin.php:19
- > PHP Fatal error
Uncaught Error: Class 'LSX_TO_Reviews' not found in wp-content/plugins/tour-operator-reviews/classes/class-to-reviews-frontend.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function lsx_entry_before() in wp-content/plugins/tour-operator-reviews/templates/content-review.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function lsx_to_is_single_disabled() in wp-content/plugins/tour-operator-reviews/templates/content-widget-review.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tour-operator-reviews/templates/single-review.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/tour-operator-reviews/includes/metaboxes/config-review.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in tour-operator-reviews/assets to your readme.txt
tour-operator-reviews/to-reviews.php 77% from 13 tests
The entry point to "LSX Tour Operator Reviews" version 1.2.7 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("tour-operator-reviews.php" instead of "to-reviews.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,497 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 258 | 453 | 1,135 |
YAML | 4 | 5 | 0 | 185 |
PO File | 1 | 43 | 45 | 99 |
XML | 1 | 13 | 9 | 44 |
JavaScript | 1 | 5 | 12 | 34 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 29.20 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 46 | 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 | 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
No PNG images were found in this plugin