Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼19.89ms] Passed 4 tests
Analyzing server-side resources used by BreezeView
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.43 ▼0.03 | 32.40 ▼10.07 |
Dashboard /wp-admin | 3.13 ▼0.18 | 30.77 ▼23.36 |
Posts /wp-admin/edit.php | 3.27 ▼0.10 | 37.33 ▼17.16 |
Add New Post /wp-admin/post-new.php | 5.49 ▼0.40 | 71.75 ▼28.96 |
Media Library /wp-admin/upload.php | 3.20 ▼0.04 | 35.41 ▼1.18 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 52 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_bv_gr_clicks_impressions |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
jal_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for BreezeView
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲85 | 14.30 ▼0.43 | 27.43 ▲25.70 | 45.52 ▲4.22 |
Dashboard /wp-admin | 2,193 ▲12 | 5.62 ▼0.07 | 83.37 ▼28.72 | 36.39 ▼1.56 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.02 ▼0.06 | 35.70 ▼8.56 | 31.67 ▼8.22 |
Add New Post /wp-admin/post-new.php | 1,680 ▲154 | 22.17 ▼0.86 | 676.37 ▲43.95 | 49.30 ▲4.49 |
Media Library /wp-admin/upload.php | 1,399 ▲5 | 4.19 ▲0.02 | 111.88 ▲8.37 | 48.99 ▲5.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_bv_gr_clicks_impressions
- This plugin did not uninstall successfully, leaving 7 options in the database
- jal_db_version
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/breezeview/dist/php/updatedt.php
- > /wp-content/plugins/breezeview/dist/php/getdt.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/breezeview/breezeview.php:11
- > WordPress database error Column 'dttype' cannot be null for query INSERT INTO `wp_bv_gr_clicks_impressions` (`time`, `dttype`) VALUES ('2023-10-18', NULL)
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezeview/dist/php/getdt.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezeview/dist/php/updatedt.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Contributors: Plugin contributors not specified
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #0 in breezeview/assets to your readme.txt
breezeview/breezeview.php Passed 13 tests
The entry point to "BreezeView" version 3.0.3 is a PHP file that has certain tags in its header comment area
46 characters long description:
Helps you display your business Google Reviews
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin14,621 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 39 | 19 | 479 | 13,204 |
JavaScript | 5 | 259 | 212 | 1,014 |
PHP | 3 | 166 | 51 | 403 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/images/Google-Button-Powered-by-Google.png | 53.78KB | 13.54KB | ▼ 74.82% |
dist/images/close-icon.png | 0.61KB | 0.30KB | ▼ 49.84% |