Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲1.36ms] Passed 4 tests
This is a short check of server-side resources used by Breeze Display
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 47.65 ▲2.74 |
Dashboard /wp-admin | 3.37 ▲0.03 | 57.70 ▼1.08 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 55.21 ▲1.29 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 100.59 ▲7.11 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 39.99 ▲2.47 |
Breeze Settings /wp-admin/options-general.php?page=wt-breeze-settings | 3.26 | 38.96 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Breeze Display
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.36 ▼0.81 | 1.97 ▲0.25 | 45.20 ▲0.55 |
Dashboard /wp-admin | 2,215 ▲27 | 5.84 ▲0.93 | 99.49 ▼15.70 | 37.26 ▼3.02 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.04 ▲0.06 | 36.69 ▼5.53 | 34.27 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 23.43 ▲5.89 | 681.73 ▲18.44 | 55.61 ▲6.23 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.22 ▼0.03 | 96.61 ▼4.24 | 42.99 ▲0.32 |
Breeze Settings /wp-admin/options-general.php?page=wt-breeze-settings | 1,229 | 2.15 | 28.43 | 28.45 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wt-display-breeze/includes/widgets.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wt-display-breeze/includes/shortcodes.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wt-display-breeze/wt-breeze.php:15
- > PHP Fatal error
Uncaught Error: Class 'Breeze' not found in wp-content/plugins/wt-display-breeze/includes/process-feeds.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wt-display-breeze/includes/options.php:6
- > 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 90% 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 need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
wt-display-breeze/wt-breeze.php 85% from 13 tests
The main PHP file in "Breeze Display" ver. 1.2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wt-display-breeze.php" instead of "wt-breeze.php")
- Description: Keep the plugin description shorter than 140 characters (currently 343 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,585 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 245 | 102 | 1,573 |
CSS | 1 | 3 | 1 | 12 |
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.31 |
Average class complexity | 24.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 8.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected