Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/zoopdoop-admin-bar-comments-menu/zoopdoop-adminbar-comments-menu.php+15
Undefined variable: wp_version
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.53ms] Passed 4 tests
Server-side resources used by Zoopdoop Admin Bar Comments Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.24 ▼14.41 |
Dashboard /wp-admin | 3.33 ▲0.02 | 41.20 ▼3.99 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.83 ▲1.01 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 77.38 ▼11.18 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.82 ▼0.54 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Zoopdoop Admin Bar Comments Menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.22 ▼1.16 | 1.56 ▼0.28 | 41.83 ▼3.56 |
Dashboard /wp-admin | 2,218 ▲30 | 4.87 ▼0.94 | 112.65 ▲11.37 | 42.03 ▲2.15 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.01 ▼0.04 | 39.59 ▲4.17 | 34.65 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 23.23 ▲5.59 | 601.24 ▼4.56 | 56.24 ▼8.21 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.19 ▲0.06 | 97.38 ▼0.10 | 42.13 ▼0.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zoopdoop-admin-bar-comments-menu/zoopdoop-adminbar-comments-menu.php:19
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/zoopdoop-admin-bar-comments-menu/zoopdoop-adminbar-comments-menu.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== zoopdoop-admin-bar-comments-menu ===
)
zoopdoop-admin-bar-comments-menu/zoopdoop-adminbar-comments-menu.php 92% from 13 tests
This is the main PHP file of "Zoopdoop Admin Bar Comments Menu" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("zoopdoop-admin-bar-comments-menu.php" instead of "zoopdoop-adminbar-comments-menu.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin68 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 15 | 68 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 3 | |
▷ Named functions | 3 | 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