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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼3.44ms] Passed 4 tests
Analyzing server-side resources used by 3D Product configurator for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.16 ▲1.42 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.20 ▼14.92 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.69 ▲3.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.87 ▲2.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.66 ▼2.76 |
Server storage [IO: ▲18.57MB] [DB: ▲0.31MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 656 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
3D Product configurator for WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.18 ▼0.17 | 1.73 ▲0.07 | 38.62 ▼6.11 |
Dashboard /wp-admin | 2,198 ▲28 | 5.62 ▲0.01 | 91.70 ▼17.86 | 41.40 ▲0.33 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.02 | 38.73 ▲2.76 | 37.14 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.24 ▲0.20 | 592.26 ▼84.16 | 54.76 ▼11.29 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▼0.02 | 94.15 ▼11.72 | 41.41 ▼5.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- 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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 187× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\AbstractTag' not found in wp-content/plugins/expivi/vendor/phenx/php-svg-lib/src/Svg/Tag/Image.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Sabberworm\\CSS\\Property\\AtRule' not found in wp-content/plugins/expivi/vendor/sabberworm/php-css-parser/src/Property/Charset.php:16
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/expivi/vendor/guzzlehttp/promises/src/EachPromise.php:13
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\CSSList\\CSSList' not found in wp-content/plugins/expivi/vendor/sabberworm/php-css-parser/src/CSSList/CSSBlockList.php:19
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\TrueType\\File' not found in wp-content/plugins/expivi/vendor/phenx/php-font-lib/src/FontLib/WOFF/File.php:20
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameDecorator\\AbstractFrameDecorator' not found in wp-content/plugins/expivi/vendor/dompdf/dompdf/src/FrameDecorator/TableRowGroup.php:20
- > PHP Fatal error
Uncaught Error: Class 'Svg\\Tag\\Shape' not found in wp-content/plugins/expivi/vendor/phenx/php-svg-lib/src/Svg/Tag/Polyline.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/expivi/vendor/guzzlehttp/promises/src/TaskQueue.php:18
- > PHP Fatal error
Uncaught Error: Class 'Sabberworm\\CSS\\Parsing\\UnexpectedTokenException' not found in wp-content/plugins/expivi/vendor/sabberworm/php-css-parser/src/Parsing/UnexpectedEOFException.php:10
- > PHP Parse error
syntax error, unexpected '|', expecting '{' in wp-content/plugins/expivi/vendor/symfony/polyfill-intl-idn/bootstrap80.php on line 121
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: ar, visual product configurator, 3d visualisation, product configuration, augmented reality
expivi/expivi.php 92% from 13 tests
This is the main PHP file of "3D Product configurator for WooCommerce" version 2.8.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("5.3" instead of "4.5.0")
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin94,258 lines of code in 549 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 479 | 13,607 | 30,261 | 75,266 |
JavaScript | 12 | 2,426 | 692 | 8,143 |
Markdown | 28 | 1,820 | 0 | 5,094 |
SVG | 2 | 0 | 0 | 2,679 |
JSON | 20 | 0 | 0 | 2,209 |
CSS | 3 | 93 | 50 | 395 |
PO File | 1 | 169 | 224 | 385 |
YAML | 2 | 17 | 5 | 66 |
HTML | 1 | 0 | 0 | 17 |
Bourne Shell | 1 | 1 | 0 | 4 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 651)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 25.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 809.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 651.00 |
Code structure | ||
---|---|---|
Namespaces | 56 | |
Interfaces | 37 | |
Traits | 7 | |
Classes | 359 | |
▷ Abstract classes | 17 | 4.74% |
▷ Concrete classes | 342 | 95.26% |
▷ Final classes | 45 | 13.16% |
Methods | 3,457 | |
▷ Static methods | 350 | 10.12% |
▷ Public methods | 2,896 | 83.77% |
▷ Protected methods | 297 | 8.59% |
▷ Private methods | 264 | 7.64% |
Functions | 234 | |
▷ Named functions | 68 | 29.06% |
▷ Anonymous functions | 166 | 70.94% |
Constants | 469 | |
▷ Global constants | 90 | 19.19% |
▷ Class constants | 379 | 80.81% |
▷ Public constants | 368 | 97.10% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/translate.png | 1.09KB | 1.19KB | 0.00% |
public/img/camera.png | 1.56KB | 1.63KB | 0.00% |
public/img/company-logo-black.png | 23.37KB | 8.79KB | ▼ 62.40% |
public/img/company-logo-white.png | 25.54KB | 9.16KB | ▼ 64.14% |
vendor/dompdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |