Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/label-plugins/lp_admin_page.php+23
Use of undefined constant label1 - assumed 'label1' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.39ms] Passed 4 tests
Server-side resources used by Label Plugins
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.59 ▼1.79 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.57 ▼6.22 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.92 ▲1.66 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.75 ▼1.70 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.48 ▲0.14 |
Plugin-Tags /wp-admin/options-general.php?page=label-plugins | 3.20 | 29.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
plugin_labels |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Label Plugins: 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,804 ▲58 | 13.27 ▼1.11 | 1.78 ▼0.39 | 37.25 ▼10.52 |
Dashboard /wp-admin | 2,210 ▲36 | 5.86 ▲0.01 | 108.13 ▲4.60 | 40.37 ▼1.44 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 38.80 ▲2.93 | 36.48 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,522 ▼20 | 23.03 ▲4.60 | 668.00 ▲22.20 | 51.45 ▲2.55 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.27 ▲0.04 | 95.42 ▼9.03 | 41.55 ▼4.31 |
Plugin-Tags /wp-admin/options-general.php?page=label-plugins | 811 | 2.03 | 24.34 | 28.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- plugin_labels
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=label-plugins
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=label-plugins
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/label-plugins/lp_admin_page.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/label-plugins/lp_admin_page.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: category, development, categories, label, labeling
label-plugins/label-plugins.php Passed 13 tests
The entry point to "Label Plugins" version 0.5 is a PHP file that has certain tags in its header comment area
79 characters long description:
Did you ever struggle with multiple plugins, now you have chance to label them.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected209 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 28 | 209 |
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.34 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin