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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.88ms] Passed 4 tests
A check of server-side resources used by SeeMyModel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.42 ▼2.32 |
Dashboard /wp-admin | 3.30 ▼0.01 | 35.02 ▼10.37 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 35.84 ▼12.20 |
Add New Post /wp-admin/post-new.php | 5.87 ▼0.01 | 77.63 ▼20.82 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 31.73 ▼4.11 |
SeeMyModel settings /wp-admin/options-general.php?page=seemymodel-options | 3.27 | 32.87 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by SeeMyModel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 13.67 ▼0.55 | 1.82 ▼0.29 | 42.79 ▼3.05 |
Dashboard /wp-admin | 2,221 ▲33 | 4.92 ▲0.04 | 100.93 ▼13.13 | 41.25 ▼1.55 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▲0.04 | 34.34 ▼1.56 | 35.96 ▲2.94 |
Add New Post /wp-admin/post-new.php | 6,251 ▲4,716 | 22.45 ▼0.69 | 947.73 ▲274.53 | 94.22 ▲30.37 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.21 ▼0.11 | 96.44 ▼8.15 | 45.24 ▼0.20 |
SeeMyModel settings /wp-admin/options-general.php?page=seemymodel-options | 799 | 2.03 | 29.55 | 31.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=seemymodel-options
- > Warning in wp-content/plugins/seemymodel/packages/elementor-widgets/seemymodel-elementor.php+60
sprintf(): Too few arguments
SRP 50% 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
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/seemymodel/packages/woocommerce/seemymodel-woocommerce.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/seemymodel/packages/elementor-widgets/widgets/seemymodel-viewer-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seemymodel/rest-api.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seemymodel/packages/gutenberg-blocks/seemymodel-blocks.php:14
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/seemymodel/packages/elementor-widgets/widgets/seemymodel-group-viewer-widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/seemymodel/see-my-model.php:18
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: webar, seemymodel, 3d models, ar
seemymodel/see-my-model.php 77% from 13 tests
The entry point to "SeeMyModel" version 1.0.3 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("seemymodel.php" instead of "see-my-model.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 190 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin37,902 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 36,696 |
PHP | 10 | 135 | 83 | 873 |
JavaScript | 4 | 34 | 58 | 250 |
PO File | 1 | 24 | 11 | 64 |
Sass | 2 | 2 | 1 | 15 |
CSS | 2 | 1 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.75 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 4 | 12.12% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 4 | 25.00% |
▷ Anonymous functions | 12 | 75.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin