Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.78ms] Passed 4 tests
Analyzing server-side resources used by WP e-Commerce Store Sales Pack Sheet
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.45 ▲2.79 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.70 ▼1.93 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.07 ▼1.80 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.25 ▼14.16 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.35 ▲3.08 |
Sales Pack Sheet /wp-admin/index.php?page=packsheet_menu | 3.24 | 43.36 |
Server storage [IO: ▲0.06MB] [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: 19 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_packsheet_deliveryzones |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP e-Commerce Store Sales Pack Sheet
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.63 ▼1.12 | 1.58 ▲0.01 | 40.98 ▼0.21 |
Dashboard /wp-admin | 2,221 ▲33 | 5.93 ▲1.07 | 106.90 ▼9.10 | 41.88 ▼2.56 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.20 ▲0.22 | 38.67 ▼1.81 | 33.94 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼16 | 23.24 ▲4.73 | 655.15 ▲44.81 | 50.30 ▼7.34 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.29 ▲0.11 | 97.92 ▲2.50 | 40.96 ▼0.54 |
Sales Pack Sheet /wp-admin/index.php?page=packsheet_menu | 852 | 1.84 | 30.72 | 28.49 |
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
The following items require your attention
- This plugin cannot be uninstalled
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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 is_admin() in wp-content/plugins/wp-e-commerce-store-sales-pack-sheet/wp-ecommerce-store-sales-pack-sheet.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in wp-e-commerce-store-sales-pack-sheet/assets to your readme.txt
wp-e-commerce-store-sales-pack-sheet/wp-ecommerce-store-sales-pack-sheet.php 85% from 13 tests
The main PHP script in "WP e-Commerce Store Sales Pack Sheet" version 0.6.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 221 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-e-commerce-store-sales-pack-sheet.php" instead of "wp-ecommerce-store-sales-pack-sheet.php")
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
There were no executable files found in this plugin280 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 35 | 273 |
JavaScript | 1 | 0 | 22 | 6 |
CSS | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/ui-lightness/images/ui-icons_ffd27a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/ui-lightness/images/ui-icons_228ef1_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/ui-lightness/images/ui-icons_ef8c08_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png | 0.25KB | 0.15KB | ▼ 39.62% |
css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png | 0.10KB | 0.11KB | 0.00% |