Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.03ms] Passed 4 tests
Server-side resources used by Keysender eCommerce Digital Product Distribution
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.53 ▲0.14 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.96 ▼1.24 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 48.86 ▼0.35 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 99.58 ▲1.33 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 41.61 ▲9.83 |
Keysender /wp-admin/admin.php?page=keysenderec-ecommerce-welcome | 3.26 | 31.43 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
keysenderec_option_welcome |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Keysender eCommerce Digital Product Distribution
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲113 | 13.20 ▼1.20 | 4.49 ▲2.49 | 37.51 ▼9.69 |
Dashboard /wp-admin | 2,232 ▲44 | 4.90 ▼0.13 | 97.68 ▼22.43 | 69.59 ▲31.41 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 1.98 ▼0.02 | 39.45 ▲4.54 | 36.64 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,688 ▲169 | 22.16 ▼1.09 | 722.32 ▲57.81 | 47.63 ▼11.78 |
Media Library /wp-admin/upload.php | 1,408 ▲26 | 4.25 ▲0.05 | 100.63 ▲2.26 | 81.31 ▲36.79 |
Keysender /wp-admin/admin.php?page=keysenderec-ecommerce-welcome | 820 | 2.00 | 22.49 | 23.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/zeroone/uninstall.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- License uri: Please fix this invalid url: ""
zeroone/keysender-ecommerce.php 77% from 13 tests
"Keysender eCommerce Digital Product Distribution" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("zeroone.php" instead of "keysender-ecommerce.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 145 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected446 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 46 | 12 | 250 |
CSS | 1 | 0 | 0 | 122 |
JavaScript | 1 | 8 | 0 | 70 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 1 | 4.76% |
▷ Public methods | 15 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 28.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.25MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-128x128.png | 1.31KB | 1.31KB | 0.00% |
screenshot-1.png | 49.72KB | 26.49KB | ▼ 46.71% |
images/Screenshot-2.png | 72.55KB | 31.60KB | ▼ 56.45% |
screenshot-2.png | 72.55KB | 31.60KB | ▼ 56.45% |
images/Screenshot-1.png | 49.72KB | 26.49KB | ▼ 46.71% |