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
These installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/shopp-wufoo/shopp-wufoo.php+48
Accessing static property Shopp_Wufoo::$apiKey as non static
Server metrics [RAM: ▼1.81MB] [CPU: ▼50.36ms] Passed 4 tests
An overview of server-side resources used by Shopp + Wufoo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 6.61 ▼35.84 |
Dashboard /wp-admin | 2.20 ▼1.10 | 6.94 ▼42.47 |
Posts /wp-admin/edit.php | 2.20 ▼1.15 | 7.02 ▼39.53 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 6.94 ▼83.58 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 8.86 ▼23.76 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Shopp + Wufoo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲67 | 13.22 ▼1.45 | 1.77 ▼0.12 | 41.24 ▼2.95 |
Dashboard /wp-admin | 2,211 ▲20 | 5.90 ▲0.00 | 101.76 ▼13.44 | 41.55 ▼3.83 |
Posts /wp-admin/edit.php | 2,091 ▲20 | 2.06 ▲0.03 | 39.79 ▲2.87 | 36.45 ▲0.53 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 23.02 ▼0.13 | 666.59 ▲7.13 | 58.87 ▲7.40 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.16 ▼0.00 | 100.06 ▼0.26 | 44.17 ▲1.04 |
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
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/shopp-wufoo/shopp-wufoo.php+48
Accessing static property Shopp_Wufoo::$apiKey as non static
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/shopp-wufoo/shopp-wufoo.php:39
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (The Shopp + Wufoo WordPress admin page.2. An additional view of the Shopp + Wufoo WordPress admin page.)
shopp-wufoo/shopp-wufoo.php Passed 13 tests
The main file in "Shopp + Wufoo" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
105 characters long description:
Customers who make a purchase from your WordPress ecommerce store are added to a specified form on Wufoo.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin767 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 154 | 175 | 754 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 1 | 1.67% |
▷ Public methods | 50 | 83.33% |
▷ Protected methods | 4 | 6.67% |
▷ Private methods | 6 | 10.00% |
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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.54MB with 0.38MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 304.08KB | 92.30KB | ▼ 69.65% |
screenshot-2.png | 247.65KB | 75.20KB | ▼ 69.63% |