Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Parse error in wp-content/plugins/client-status/client-status.php+154
syntax error, unexpected '&', expecting ')'
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.96ms] Passed 4 tests
A check of server-side resources used by Client Status
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.66 ▼0.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.18 ▼0.49 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.29 ▲6.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.95 ▼14.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.52 ▼0.68 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Client Status: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.75 ▲0.50 | 1.64 ▲0.07 | 43.78 ▲1.04 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.14 | 80.78 ▼9.79 | 38.52 ▼2.78 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.03 | 39.06 ▲2.26 | 35.55 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.19 ▲0.03 | 670.94 ▼34.29 | 77.93 ▲22.87 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.16 ▼0.02 | 94.46 ▼4.86 | 46.48 ▲2.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/client-status/data.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected '&', expecting ')' in wp-content/plugins/client-status/client-status.php on line 154
- > PHP Warning
Use of undefined constant CLIENT_STATUS_INSTALL_TYPE_DASHBOARD - assumed 'CLIENT_STATUS_INSTALL_TYPE_DASHBOARD' (this will throw an Error in a future version of PHP) in wp-content/plugins/client-status/client-status-options.php on line 7
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/client-status/constants.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/client-status/client-status-options.php:25
- > PHP Parse error
syntax error, unexpected '&', expecting ')' in wp-content/plugins/client-status/dashboard.php on line 77
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/client-status/constants.php:3
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (The dashboard screen.), #2 (The edit client screen.), #3 (The dashboard settings page.), #4 (The client settings page.)
client-status/client-status.php 92% from 13 tests
Analyzing the main PHP file in "Client Status" version 1.3.3
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 164 characters long)
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
There were no executable files found in this plugin987 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 106 | 27 | 835 |
CSS | 1 | 1 | 6 | 152 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 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
16 PNG files occupy 0.22MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 45.68KB | 22.52KB | ▼ 50.69% |
images/accept.png | 0.76KB | 0.81KB | 0.00% |
screenshot-2.png | 64.56KB | 27.82KB | ▼ 56.91% |
images/status_online.png | 0.71KB | 0.76KB | 0.00% |
images/arrow_refresh.png | 0.67KB | 0.72KB | 0.00% |