Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.95MB] [CPU: ▼34.08ms] Passed 4 tests
A check of server-side resources used by Plugin Central
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.81 ▼1.96 |
Dashboard /wp-admin | 3.00 ▼0.31 | 23.68 ▼26.80 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 23.78 ▼24.09 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.89 | 23.24 ▼71.92 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 21.99 ▼13.49 |
Plugin Central /wp-admin/plugins.php?page=plugin-central/plugin-central.class.php | 3.00 | 22.53 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Plugin Central: 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,850 ▲115 | 14.74 ▲0.12 | 1.69 ▼0.14 | 43.22 ▼6.66 |
Dashboard /wp-admin | 2,256 ▲80 | 4.90 ▼0.95 | 112.06 ▼2.05 | 39.51 ▼8.19 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.02 ▼0.11 | 35.94 ▼1.35 | 36.75 ▲2.42 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 23.07 ▼0.21 | 670.08 ▼23.13 | 61.93 ▲0.73 |
Media Library /wp-admin/upload.php | 1,401 ▲19 | 4.30 ▲0.15 | 95.02 ▼5.54 | 41.34 ▼2.35 |
Plugin Central /wp-admin/plugins.php?page=plugin-central/plugin-central.class.php | 853 | 2.03 | 24.89 | 31.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/plugins.php?page=plugin-central/plugin-central.class.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just 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 trailingslashit() in wp-content/plugins/plugin-central/plugin-central.class.php:16
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Plugin in action on the Dashboard), #2 (Multiple plugin installs)
plugin-central/plugin-central.php Passed 13 tests
The main PHP script in "Plugin Central" version 2.5.1 is automatically included on every request by WordPress
134 characters long description:
Receive dashboard plugin update notifications with changelogs, update all plugins at once, move your plugins from one blog to another.
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
No dangerous file extensions were detected824 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 196 | 42 | 776 |
CSS | 1 | 9 | 0 | 48 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 126.00 |
▷ Minimum class complexity | 126.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 6.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 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 | 1 | |
▷ Global constants | 1 | 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
8 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
i/mwp250_2.png | 22.54KB | 21.97KB | ▼ 2.52% |
i/home.png | 0.94KB | 0.85KB | ▼ 9.97% |
i/help.png | 0.97KB | 0.98KB | 0.00% |
i/twit.png | 0.71KB | 0.80KB | 0.00% |
i/idea.png | 0.81KB | 0.70KB | ▼ 13.99% |