Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼3.55ms] Passed 4 tests
Server-side resources used by Adventure Bucket List
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 30.00 ▼18.46 |
Dashboard /wp-admin | 3.46 ▲0.15 | 49.31 ▲3.15 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 52.64 ▲4.34 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 86.80 ▼2.31 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 41.14 ▲3.42 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Adventure Bucket List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,939 ▲193 | 13.99 ▼0.69 | 8.40 ▲6.72 | 51.65 ▲9.01 |
Dashboard /wp-admin | 2,228 ▲37 | 4.92 ▼0.98 | 96.36 ▼4.16 | 68.89 ▲25.99 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.03 ▲0.02 | 37.40 ▼1.09 | 33.90 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,685 ▲152 | 22.29 ▼1.04 | 732.51 ▲34.74 | 60.68 ▲10.48 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.25 ▲0.01 | 96.90 ▼17.47 | 74.77 ▲27.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/adventure-bucket-list/public/partials/wp-abl-plugin-public-display.php
- > /wp-content/plugins/adventure-bucket-list/trunk/public/partials/wp-abl-plugin-public-display.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/adventure-bucket-list/admin/partials/wp-abl-plugin-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/adventure-bucket-list/trunk/admin/wp-abl-plugin-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/adventure-bucket-list/admin/wp-abl-plugin-admin-display.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/adventure-bucket-list/trunk/admin/partials/wp-abl-plugin-admin-display.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: calendar, travel, booking
adventure-bucket-list/wp-abl-plugin.php 77% from 13 tests
This is the main PHP file of "Adventure Bucket List" version 1.0.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 370 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("adventure-bucket-list.php" instead of "wp-abl-plugin.php")
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
Success! There were no dangerous files found in this plugin784 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 128 | 506 | 663 |
JavaScript | 2 | 5 | 13 | 48 |
Markdown | 1 | 14 | 0 | 41 |
CSS | 2 | 0 | 4 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 13.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 112 | |
▷ Static methods | 4 | 3.57% |
▷ Public methods | 102 | 91.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 8.93% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.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
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
trunk/admin/css/ablLogo.png | 5.59KB | 2.42KB | ▼ 56.69% |
admin/css/abl.png | 2.14KB | 1.25KB | ▼ 41.55% |
trunk/admin/css/abl.png | 2.14KB | 1.25KB | ▼ 41.55% |
admin/css/ablLogo.png | 5.59KB | 2.42KB | ▼ 56.69% |