Benchmarks
Plugin footprint 82% 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.09MB] [CPU: ▲308.38ms] 75% from 4 tests
Analyzing server-side resources used by Perzonalization - The AI Powered Personalization Engine for WooCommerce
Please take the time to fix the following items
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 308.38ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 355.55 ▲315.08 |
Dashboard /wp-admin | 3.40 ▲0.10 | 376.46 ▲320.48 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 337.87 ▲292.24 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 415.89 ▲319.42 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 342.54 ▲306.77 |
Server storage [IO: ▲1.69MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Perzonalization - The AI Powered Personalization Engine for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲33 | 13.59 ▼0.78 | 1.64 ▼0.46 | 36.99 ▼7.63 |
Dashboard /wp-admin | 2,206 ▲35 | 5.83 ▲0.70 | 94.24 ▼29.49 | 39.47 ▼10.58 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.03 | 32.81 ▼3.22 | 34.14 ▲1.90 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 21.31 ▲3.83 | 623.56 ▼55.03 | 57.66 ▲6.01 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.13 ▼0.05 | 93.45 ▼6.33 | 40.05 ▼4.46 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/perzonalization/perzonalization.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 88 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #5, #6 in perzonalization/assets to your readme.txt
perzonalization/perzonalization.php 92% from 13 tests
The primary PHP file in "Perzonalization - The AI Powered Personalization Engine for WooCommerce" version 1.6.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 352 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin634 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 105 | 140 | 634 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 15 | 75.00% |
▷ Anonymous functions | 5 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 1.65MB with 1.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 368.69KB | 131.00KB | ▼ 64.47% |
screenshot-5.png | 208.98KB | 74.13KB | ▼ 64.53% |
banner-772x250.png | 72.75KB | 25.08KB | ▼ 65.52% |
screenshot-3.png | 178.64KB | 66.25KB | ▼ 62.91% |
screenshot-2.png | 258.47KB | 95.14KB | ▼ 63.19% |