Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.01ms] Passed 4 tests
Analyzing server-side resources used by Sello ChannelConnector
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.92 ▼11.06 |
Dashboard /wp-admin | 3.64 ▲0.30 | 56.90 ▼3.42 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 60.88 ▲8.01 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 91.73 ▼9.58 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 49.76 ▲9.96 |
Settings /wp-admin/admin.php?page=channelconnector/settings | 3.47 | 40.04 |
ChannelConnector /wp-admin/admin.php?page=channelconnector | 3.47 | 38.84 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 79 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_sello_channelconnector_orders |
wp_sello_channelconnector_integrations |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sello ChannelConnector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.35 ▲0.05 | 1.84 ▼0.10 | 44.09 ▲5.21 |
Dashboard /wp-admin | 2,219 ▲55 | 5.58 ▼0.14 | 86.55 ▼38.91 | 38.71 ▼19.14 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.99 ▼0.06 | 40.66 ▼1.02 | 37.47 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,572 ▲41 | 23.32 ▲0.27 | 659.80 ▲52.38 | 54.94 ▲6.16 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.15 ▼0.11 | 112.29 ▲6.94 | 46.82 ▲0.76 |
Settings /wp-admin/admin.php?page=channelconnector/settings | 794 | 2.04 | 24.39 | 29.78 |
ChannelConnector /wp-admin/admin.php?page=channelconnector | 794 | 2.02 | 23.15 | 26.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_sello_channelconnector_orders
- wp_sello_channelconnector_integrations
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/sello-channelconnector/uninstall.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sello-channelconnector/src/Settings/_settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sello-channelconnector/src/Settings/_AdminOnboarding.php:18
- > 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
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in sello-channelconnector/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
sello-channelconnector/sello-channelconnector.php 92% from 13 tests
Analyzing the main PHP file in "Sello ChannelConnector" version 1.6.3
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
Good job! No executable or dangerous file extensions detected1,601 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 245 | 235 | 1,578 |
JSON | 2 | 0 | 0 | 23 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 3 | 4.00% |
▷ Public methods | 68 | 90.67% |
▷ Protected methods | 1 | 1.33% |
▷ Private methods | 6 | 8.00% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
53 PNG files occupy 1.03MB with 0.94MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/market/13_mini.png | 19.42KB | 1.75KB | ▼ 91.00% |
assets/img/market/54_mini.png | 19.75KB | 1.71KB | ▼ 91.33% |
assets/img/market/48_mini.png | 20.14KB | 1.86KB | ▼ 90.76% |
assets/img/market/30_mini.png | 20.14KB | 1.86KB | ▼ 90.76% |
assets/img/market/44_mini.png | 20.14KB | 1.86KB | ▼ 90.76% |