Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/shopp-zendesk/shopp-zendesk.php+48
Accessing static property Shopp_Zendesk::$account as non static
Server metrics [RAM: ▼1.96MB] [CPU: ▼50.04ms] Passed 4 tests
An overview of server-side resources used by Shopp + Zendesk
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.96 ▼36.40 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.57 ▼40.79 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.26 ▼41.35 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.55 ▼81.61 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.11 ▼28.46 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Shopp + Zendesk
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.61 ▼0.72 | 4.23 ▲2.37 | 42.02 ▲1.89 |
Dashboard /wp-admin | 2,208 ▲20 | 5.87 ▲1.01 | 107.00 ▲0.78 | 41.75 ▼3.45 |
Posts /wp-admin/edit.php | 2,094 ▲23 | 2.01 ▼0.00 | 39.46 ▲2.48 | 35.46 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,539 ▲20 | 18.47 ▼4.58 | 592.44 ▼65.29 | 58.06 ▲4.57 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.21 ▲0.02 | 103.33 ▲5.28 | 46.64 ▲2.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/shopp-zendesk/shopp-zendesk.php+48
Accessing static property Shopp_Zendesk::$account as non static
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 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/shopp-zendesk/shopp-zendesk.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (The Shopp + Zendesk WordPress admin page.), #2 (An additional view of the Shopp + Zendesk WordPress admin page.)
shopp-zendesk/shopp-zendesk.php Passed 13 tests
"Shopp + Zendesk" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
107 characters long description:
Customers who order from your WordPress ecommerce store are added to your Zendesk help desk after checkout.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin544 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 87 | 80 | 531 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 17 | 77.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 22.73% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.45MB with 0.29MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 225.48KB | 76.25KB | ▼ 66.18% |
screenshot-1.png | 232.95KB | 87.32KB | ▼ 62.52% |