Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.94ms] Passed 4 tests
This is a short check of server-side resources used by MinQueue
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.18 | 37.95 ▼0.53 |
Dashboard /wp-admin | 3.49 ▲0.14 | 48.41 ▼13.51 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 46.00 ▼2.56 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 93.10 ▼3.14 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.09 ▲1.01 |
MinQueue /wp-admin/options-general.php?page=minqueue | 3.39 | 34.51 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 7 new options
New WordPress options |
---|
minqueue_version |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by MinQueue
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.17 ▼0.38 | 1.66 ▲0.08 | 37.02 ▼3.94 |
Dashboard /wp-admin | 2,211 ▲31 | 5.64 ▼0.04 | 87.11 ▲1.47 | 41.19 ▼2.55 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 1.97 ▲0.00 | 35.94 ▼0.81 | 34.76 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 17.97 ▼5.45 | 633.29 ▼19.32 | 51.78 ▼2.88 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.17 ▲0.09 | 94.96 ▼1.93 | 43.94 ▲0.82 |
MinQueue /wp-admin/options-general.php?page=minqueue | 956 | 1.84 | 31.06 | 36.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- minqueue_version
- widget_recent-posts
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means 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
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Minify_Controller_Base' not found in wp-content/plugins/minqueue/PHP-Minify-Lib/Minify/Controller/Page.php:14
- > PHP Fatal error
Uncaught Error: Class 'Minify_Controller_Base' not found in wp-content/plugins/minqueue/PHP-Minify-Lib/Minify/Controller/Groups.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/minqueue/minqueue-helper-tool.php:10
- > PHP Fatal error
Uncaught Error: Class 'Minify_Controller_Base' not found in wp-content/plugins/minqueue/PHP-Minify-Lib/Minify/Controller/MinApp.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/minqueue/minqueue-helper-tool.php:10
- > PHP Fatal error
Uncaught Error: Class 'Minify_Controller_Base' not found in wp-content/plugins/minqueue/PHP-Minify-Lib/Minify/Controller/Version1.php:17
- > PHP Fatal error
Uncaught Error: Class 'Minify_Controller_Base' not found in wp-content/plugins/minqueue/PHP-Minify-Lib/Minify/Controller/Files.php:27
- > PHP Fatal error
The script "class.JavaScriptPacker.php" is required. Please see: http://code.google.com/p/minify/source/browse/trunk/min/lib/Minify/Packer.php in wp-content/plugins/minqueue/PHP-Minify-Lib/Minify/Packer.php on line 21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
4 plugin tags: style, script, minify, concatenate
minqueue/plugin.php 92% from 13 tests
The primary PHP file in "MinQueue" version 1.1.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("minqueue.php" instead of "plugin.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin6,927 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,543 | 4,213 | 6,666 |
Java | 1 | 74 | 77 | 231 |
JavaScript | 1 | 19 | 20 | 30 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 155)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 29.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 229.00 |
Average method complexity | 5.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 155.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 2 | 3.77% |
▷ Concrete classes | 51 | 96.23% |
▷ Final classes | 0 | 0.00% |
Methods | 347 | |
▷ Static methods | 64 | 18.44% |
▷ Public methods | 217 | 62.54% |
▷ Protected methods | 58 | 16.71% |
▷ Private methods | 72 | 20.75% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 126 | |
▷ Global constants | 99 | 78.57% |
▷ Class constants | 27 | 21.43% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin