Benchmarks
Plugin footprint 65% 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.10MB] [CPU: ▼9.01ms] Passed 4 tests
Analyzing server-side resources used by Boom Fest
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.20 ▲3.61 |
Dashboard /wp-admin | 3.41 ▲0.07 | 46.58 ▼12.88 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 48.33 ▼0.30 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 84.29 ▼26.48 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 36.23 ▲4.76 |
Server storage [IO: ▲13.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 80 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_boom_festive_data |
wp_boom_festive_activated |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Boom Fest
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲198 | 14.11 ▼0.69 | 7.40 ▲5.71 | 40.93 ▲0.30 |
Dashboard /wp-admin | 2,236 ▲50 | 5.33 ▲0.34 | 103.53 ▼2.47 | 31.54 ▼14.53 |
Posts /wp-admin/edit.php | 2,122 ▲36 | 2.39 ▲0.40 | 38.23 ▲3.08 | 33.88 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,700 ▲181 | 22.74 ▼0.34 | 678.04 ▲45.10 | 35.75 ▼15.83 |
Media Library /wp-admin/upload.php | 1,491 ▲106 | 4.46 ▲0.24 | 96.96 ▼6.62 | 40.09 ▼3.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie tables detected upon uninstall: 2 tables
- wp_boom_festive_data
- wp_boom_festive_activated
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/boom-fest/public/partials/boom-fest-public-display.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_pages() in wp-content/plugins/boom-fest/admin/partials/boom-fest-admin-display.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/boom-fest/definitions.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: falling snow, spring, snow effect, halloween, new year...
boom-fest/boom-fest.php Passed 13 tests
The primary PHP file in "Boom Fest" version 2.1.0 is used by WordPress to initiate all plugin functionality
50 characters long description:
A layout customization plugin for festival season.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,573 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 71 | 17 | 790 |
PHP | 13 | 141 | 555 | 617 |
JavaScript | 15 | 7 | 6 | 166 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 11.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 3 | 10.71% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
22 compressed PNG files occupy 12.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
uploads/balloon-golden.png | 32.49KB | 10.13KB | ▼ 68.83% |
uploads/christmas-hat.png | 1,168.52KB | 1,295.85KB | 0.00% |
uploads/flower-cover-green.png | 71.71KB | 75.77KB | 0.00% |
admin/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
uploads/flower-cover.png | 117.81KB | 124.35KB | 0.00% |