Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/ar-model-viewer-for-woocommerce/includes/class-ar-model-viewer-for-woocommerce.php+220
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.95MB] [CPU: ▼50.67ms] Passed 4 tests
This is a short check of server-side resources used by AR Model Viewer for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.87 ▼39.93 |
Dashboard /wp-admin | 2.06 ▼1.25 | 6.76 ▼40.89 |
Posts /wp-admin/edit.php | 2.06 ▼1.30 | 6.28 ▼40.70 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.83 | 7.94 ▼81.16 |
Media Library /wp-admin/upload.php | 2.06 ▼1.17 | 7.95 ▼30.20 |
AR Model Viewer for WooCommerce /wp-admin/options-general.php?page=ar_model_viewer_for_woocommerce_settings | 2.06 | 5.66 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 69 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by AR Model Viewer for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲226 | 16.58 ▲2.21 | 76.07 ▲73.71 | 43.55 ▲0.16 |
Dashboard /wp-admin | 2,234 ▲46 | 5.95 ▲1.01 | 103.01 ▼1.22 | 38.05 ▼11.35 |
Posts /wp-admin/edit.php | 2,119 ▲48 | 2.13 ▲0.10 | 35.55 ▲0.09 | 36.42 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,544 ▲24 | 18.12 ▼5.05 | 595.24 ▼104.84 | 52.46 ▲0.28 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.35 ▲0.20 | 94.18 ▼19.70 | 40.18 ▼6.94 |
AR Model Viewer for WooCommerce /wp-admin/options-general.php?page=ar_model_viewer_for_woocommerce_settings | 1,787 | 2.86 | 62.69 | 44.99 |
Uninstaller [IO: ▲0.98MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the followingThis plugin did not uninstall successfully, leaving 6 options in the database
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/ar-model-viewer-for-woocommerce/includes/class-ar-model-viewer-for-woocommerce.php+220
Trying to access array offset on value of type bool
- Incomplete uninstall procedure, leaving 69 files (0.98MB) in the plugin directory
- (new file) admin/images/icons8-3d-object-96(-xxxhdpi).png
- (new file) admin/css/ar-model-viewer-for-woocommerce-admin-product.css
- (new file) LICENSE.txt
- (new file) admin/class-ar-model-viewer-for-woocommerce-admin.php
- (new file) admin/images/icons8-3d-object-72(-xxhdpi).png
- (new file) admin/images/icons8-3d-object-36(-hdpi).png
- (new file) README.txt
- (new file) .gitignore
- (new file) admin/images/icons8-3d-object-18(-ldpi).png
- (new file) admin/css/ar-model-viewer-for-woocommerce-admin.css
- ...
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ar_model_viewer_for_woocommerce_settings
- > Notice in wp-content/plugins/ar-model-viewer-for-woocommerce/includes/class-ar-model-viewer-for-woocommerce.php+242
Trying to access array offset on value of type bool
SRP 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ar-model-viewer-for-woocommerce/public/partials/ar-model-viewer-for-woocommerce-public-display.php
- 42× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/ar-model-viewer-for-woocommerce/vendor/cmb2/cmb2/includes/types/CMB2_Type_Counter_Base.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ar_model_viewer_for_woocommerce_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ar_model_viewer_for_woocommerce_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ar_model_viewer_for_woocommerce_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clear is deprecated since version 5.5.0! Use wp.i18n instead.
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ar_model_viewer_for_woocommerce_settings
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.clearAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in ar-model-viewer-for-woocommerce/assets to your readme.txt
ar-model-viewer-for-woocommerce/ar-model-viewer-for-woocommerce.php 85% from 13 tests
The entry point to "AR Model Viewer for WooCommerce" version 1.0.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 261 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("6.0.0" instead of "5.9")
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
Good job! No executable or dangerous file extensions detected511,850 lines of code in 1,875 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1,333 | 179,197 | 36,412 | 432,064 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
TypeScript | 258 | 3,787 | 7,966 | 18,873 |
PHP | 83 | 2,653 | 7,504 | 8,949 |
JSON | 30 | 0 | 0 | 8,461 |
CSS | 18 | 277 | 1,230 | 4,663 |
SVG | 2 | 2 | 0 | 3,982 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 14 | 421 | 0 | 1,124 |
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.47 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 9 | 11.39% |
▷ Concrete classes | 70 | 88.61% |
▷ Final classes | 0 | 0.00% |
Methods | 631 | |
▷ Static methods | 116 | 18.38% |
▷ Public methods | 526 | 83.36% |
▷ Protected methods | 89 | 14.10% |
▷ Private methods | 16 | 2.54% |
Functions | 41 | |
▷ Named functions | 40 | 97.56% |
▷ Anonymous functions | 1 | 2.44% |
Constants | 11 | |
▷ Global constants | 5 | 45.45% |
▷ Class constants | 6 | 54.55% |
▷ Public constants | 6 | 100.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
51 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icons8-mac-client-material-filled/Android/icons8-mac-client-48(-xhdpi).png | 0.65KB | 0.88KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
admin/images/icons8-web-accessibility-material-filled/Android/icons8-web-accessibility-36(-hdpi).png | 0.59KB | 0.66KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
admin/images/icons8-android-os-material-filled/Android/icons8-android-os-18(-ldpi).png | 0.29KB | 0.33KB | 0.00% |