Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲3.27MB] [CPU: ▲15.87ms] Passed 4 tests
A check of server-side resources used by Arrivala - Online Business Reviews
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.55 ▲3.09 | 61.67 ▲20.88 |
Dashboard /wp-admin | 6.67 ▲3.37 | 66.99 ▲14.54 |
Posts /wp-admin/edit.php | 6.70 ▲3.34 | 75.12 ▲26.26 |
Add New Post /wp-admin/post-new.php | 9.22 ▲3.33 | 103.46 ▲1.78 |
Media Library /wp-admin/upload.php | 6.53 ▲3.30 | 64.84 ▲32.49 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 6.65 | 55.49 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 6.74 | 68.14 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 6.57 | 58.24 |
Server storage [IO: ▲7.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 247 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
acf_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Arrivala - Online Business Reviews
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲129 | 14.11 ▼0.25 | 1.96 ▲0.22 | 40.19 ▼2.92 |
Dashboard /wp-admin | 2,284 ▲107 | 5.95 ▲0.38 | 103.78 ▲17.70 | 38.57 ▲1.97 |
Posts /wp-admin/edit.php | 2,187 ▲84 | 3.13 ▲1.13 | 48.39 ▲5.85 | 34.78 ▼4.40 |
Add New Post /wp-admin/post-new.php | 1,609 ▲83 | 23.16 ▼0.35 | 736.91 ▲83.26 | 36.98 ▼12.22 |
Media Library /wp-admin/upload.php | 1,498 ▲95 | 5.49 ▲1.25 | 107.25 ▲3.98 | 43.49 ▲1.95 |
Field Groups /wp-admin/edit.php?post_type=acf-field-group | 1,259 | 3.17 | 42.61 | 34.77 |
Add New /wp-admin/post-new.php?post_type=acf-field-group | 2,217 | 3.58 | 69.69 | 49.70 |
Tools /wp-admin/edit.php?post_type=acf-field-group&page=acf-tools | 1,077 | 2.88 | 38.79 | 32.57 |
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 did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- acf_version
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 79× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/acf-helper-functions.php:128
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/fields/class-acf-field-date_picker.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_get_location_rule_types() in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/admin/views/html-location-rule.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/forms/form-taxonomy.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/admin/settings-info.php:21
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/fields/class-acf-field-taxonomy.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/admin/views/settings-addons.php:3
- > PHP Notice
Undefined variable: field in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/admin/views/field-group-field.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/api/api-template.php:928
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/arrivala-online-business-reviews/vendor/advanced-custom-fields/includes/admin/views/settings-info.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: business reviews, online reviews
arrivala-online-business-reviews/arrivala-embed.php 92% from 13 tests
The main file in "Arrivala - Online Business Reviews" v. 2.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("arrivala-online-business-reviews.php" instead of "arrivala-embed.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
Everything looks great! No dangerous files found in this plugin90,709 lines of code in 197 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 23,278 | 38,175 | 48,880 |
JavaScript | 12 | 6,679 | 6,605 | 22,217 |
PHP | 140 | 12,612 | 20,133 | 17,827 |
CSS | 11 | 208 | 60 | 1,617 |
JSON | 1 | 0 | 0 | 124 |
SVG | 1 | 18 | 0 | 30 |
Markdown | 1 | 11 | 0 | 14 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 12.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 105 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 105 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 699 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 699 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 547 | |
▷ Named functions | 547 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/advanced-custom-fields/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |
vendor/advanced-custom-fields/assets/inc/datepicker/images/ui-icons_444444_256x240.png | 3.68KB | 4.17KB | 0.00% |
vendor/advanced-custom-fields/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |
vendor/advanced-custom-fields/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |
vendor/advanced-custom-fields/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |