Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.17MB] [CPU: ▼9.57ms] Passed 4 tests
Server-side resources used by WP e-Commerce - Status Board
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.31 ▼8.47 |
Dashboard /wp-admin | 3.19 ▼0.11 | 34.17 ▼13.46 |
Posts /wp-admin/edit.php | 3.26 ▼0.10 | 38.54 ▼7.00 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.44 | 70.75 ▼9.33 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 31.08 ▼2.67 |
Server storage [IO: ▲0.01MB] [DB: ▲1.10MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP e-Commerce - Status Board
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.36 ▼1.26 | 1.84 ▼0.07 | 40.70 ▼3.40 |
Dashboard /wp-admin | 2,210 ▲72 | 4.95 ▼0.74 | 134.11 ▲27.84 | 49.27 ▲7.68 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 40.20 ▲5.54 | 36.65 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.27 ▲0.17 | 621.99 ▼34.49 | 51.72 ▼1.87 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.00 | 98.20 ▲1.52 | 41.93 ▼0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲1.10MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'wpecsb_deactivation_tasks' not found or invalid function name
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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
Even though no errors were found, 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpec-status-board/wpec-status-board.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: ios, wp ecommerce, panic, status board, ipad
wpec-status-board/wpec-status-board.php Passed 13 tests
"WP e-Commerce - Status Board" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
85 characters long description:
Creates an endpoint for your WP e-Commerce stats for use on the Status Board iPad app
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
Everything looks great! No dangerous files found in this plugin139 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 12 | 98 |
PO File | 1 | 8 | 8 | 41 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin