Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.46MB] [CPU: ▼1.08ms] Passed 4 tests
Server-side resources used by Easy Beer Lister
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 52.35 ▲2.50 |
Dashboard /wp-admin | 3.80 ▲0.46 | 58.96 ▼4.65 |
Posts /wp-admin/edit.php | 3.85 ▲0.50 | 62.02 ▲11.74 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 101.95 ▼13.74 |
Media Library /wp-admin/upload.php | 3.66 ▲0.44 | 51.25 ▲11.58 |
Add New /wp-admin/post-new.php?post_type=beers | 3.87 | 64.96 |
All Menus /wp-admin/edit.php?post_type=menus | 3.77 | 48.90 |
Tags /wp-admin/edit-tags.php?taxonomy=tags&post_type=beers | 3.66 | 44.14 |
Add New /wp-admin/post-new.php?post_type=menus | 3.81 | 62.54 |
Beer Styles /wp-admin/edit-tags.php?taxonomy=style&post_type=beers | 3.66 | 44.62 |
Easy Beer Lister Settings /wp-admin/options-general.php?page=ebl-settings | 3.61 | 42.29 |
All Beers /wp-admin/edit.php?post_type=beers | 3.77 | 44.89 |
Availability /wp-admin/edit-tags.php?taxonomy=availability&post_type=beers | 3.67 | 44.50 |
Themes /wp-admin/edit.php?post_type=menus&page=easybeerlister-themes | 3.63 | 37.61 |
Pairings /wp-admin/edit-tags.php?taxonomy=pairing&post_type=beers | 3.66 | 45.19 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_ebl_on_tap |
widget_ebl_random_beer |
widget_recent-posts |
can_compress_scripts |
availability_children |
Browser metrics Passed 4 tests
Easy Beer Lister: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲120 | 14.24 ▼0.04 | 2.05 ▼0.06 | 39.21 ▼6.08 |
Dashboard /wp-admin | 2,277 ▲106 | 5.66 ▲0.07 | 88.54 ▲1.10 | 57.63 ▲17.41 |
Posts /wp-admin/edit.php | 2,182 ▲82 | 2.02 ▲0.02 | 36.86 ▲2.83 | 35.20 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,604 ▲78 | 18.23 ▼4.91 | 735.81 ▼24.17 | 55.31 ▼4.05 |
Media Library /wp-admin/upload.php | 1,482 ▲82 | 4.22 ▼0.01 | 99.95 ▼9.08 | 66.39 ▲19.18 |
Add New /wp-admin/post-new.php?post_type=beers | 2,939 | 8.03 | 192.28 | 139.94 |
All Menus /wp-admin/edit.php?post_type=menus | 1,143 | 1.96 | 33.62 | 29.96 |
Tags /wp-admin/edit-tags.php?taxonomy=tags&post_type=beers | 1,328 | 2.27 | 25.82 | 33.44 |
Add New /wp-admin/post-new.php?post_type=menus | 2,242 | 3.59 | 65.30 | 93.50 |
Beer Styles /wp-admin/edit-tags.php?taxonomy=style&post_type=beers | 1,353 | 2.12 | 26.22 | 29.63 |
Easy Beer Lister Settings /wp-admin/options-general.php?page=ebl-settings | 1,247 | 2.29 | 40.65 | 43.99 |
All Beers /wp-admin/edit.php?post_type=beers | 1,152 | 1.90 | 32.41 | 29.04 |
Availability /wp-admin/edit-tags.php?taxonomy=availability&post_type=beers | 1,720 | 2.28 | 27.55 | 31.79 |
Themes /wp-admin/edit.php?post_type=menus&page=easybeerlister-themes | 838 | 2.00 | 26.70 | 27.42 |
Pairings /wp-admin/edit-tags.php?taxonomy=pairing&post_type=beers | 1,331 | 2.12 | 25.90 | 31.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_ebl_random_beer
- widget_theysaidso_widget
- can_compress_scripts
- availability_children
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_ebl_on_tap
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ebl-settings
- > Notice in wp-content/plugins/easy-beer-lister/ebl-settings.php+28
Undefined variable: active_tab
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/easy-beer-lister/ebl-beer-template.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
easy-beer-lister/easy-beer-lister.php Passed 13 tests
The entry point to "Easy Beer Lister" version 1.23 is a PHP file that has certain tags in its header comment area
58 characters long description:
Manage Your Beers, Beer Pairings, and What's on Tap Easily
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected2,533 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 151 | 142 | 2,057 |
CSS | 4 | 70 | 2 | 378 |
JavaScript | 3 | 2 | 22 | 98 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 8.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 22.22% |
Functions | 83 | |
▷ Named functions | 83 | 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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/untappd.png | 4.10KB | 2.50KB | ▼ 38.91% |
media/beer-icon.png | 0.54KB | 0.45KB | ▼ 17.27% |
media/menu-icon.png | 0.51KB | 0.69KB | 0.00% |