Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/shopp-mediaburst/shopp-mediaburst.php+50
Accessing static property Shopp_Mediaburst::$username as non static
Server metrics [RAM: ▼1.78MB] [CPU: ▼53.94ms] Passed 4 tests
This is a short check of server-side resources used by Shopp + Mediaburst
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.20 ▼1.26 | 5.82 ▼30.85 |
Dashboard /wp-admin | 2.22 ▼1.08 | 6.68 ▼45.09 |
Posts /wp-admin/edit.php | 2.23 ▼1.13 | 8.29 ▼48.38 |
Add New Post /wp-admin/post-new.php | 2.23 ▼3.66 | 6.82 ▼91.43 |
Media Library /wp-admin/upload.php | 2.23 ▼1.00 | 7.62 ▼27.44 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Shopp + Mediaburst
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲31 | 13.25 ▼1.37 | 1.68 ▼0.28 | 44.12 ▲1.31 |
Dashboard /wp-admin | 2,208 ▲20 | 5.88 ▲0.97 | 107.01 ▼2.81 | 48.60 ▲3.33 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.02 ▼0.03 | 41.88 ▲0.58 | 39.03 ▼0.14 |
Add New Post /wp-admin/post-new.php | 1,394 ▼126 | 18.32 ▼4.80 | 606.73 ▼85.59 | 46.77 ▼13.55 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.13 ▼0.01 | 103.87 ▼0.22 | 47.25 ▲1.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/shopp-mediaburst/shopp-mediaburst.php+50
Accessing static property Shopp_Mediaburst::$username as non static
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/shopp-mediaburst/shopp-mediaburst.php:41
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (The Shopp + Mediaburst WordPress admin page.), #2 (An additional view of the Shopp + Mediaburst WordPress admin page.), #3 (Shopp + Mediaburst iPhone 4S demo.)
- Tags: You are using too many tags: 12 tag instead of maximum 10
shopp-mediaburst/shopp-mediaburst.php Passed 13 tests
"Shopp + Mediaburst" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
134 characters long description:
Merchants who have a WordPress ecommerce store are notified of new orders via a text message to their mobile phone through Mediaburst.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin637 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 100 | 204 | 624 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 1 | 3.23% |
▷ Public methods | 17 | 54.84% |
▷ Protected methods | 1 | 3.23% |
▷ Private methods | 13 | 41.94% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.46MB with 0.31MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 129.26KB | 42.63KB | ▼ 67.02% |
screenshot-3.png | 110.21KB | 33.74KB | ▼ 69.39% |
screenshot-1.png | 235.03KB | 85.41KB | ▼ 63.66% |