Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.91ms] Passed 4 tests
This is a short check of server-side resources used by WP Airdrop Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.61 ▼0.75 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.67 ▼0.11 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.26 ▼2.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 94.27 ▲1.59 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.30 ▼0.08 |
Airdrop Settings /wp-admin/edit.php?post_type=airdrop&page=airdrop | 3.22 | 32.33 |
Add New /wp-admin/post-new.php?post_type=airdrop | 3.46 | 51.69 |
All Items /wp-admin/edit.php?post_type=airdrop | 3.32 | 38.74 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=airdrop | 3.36 | 29.62 |
Server storage [IO: ▲2.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Airdrop Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲123 | 13.55 ▼0.75 | 1.82 ▼0.35 | 44.39 ▼6.60 |
Dashboard /wp-admin | 2,278 ▲90 | 5.19 ▼0.70 | 112.49 ▼0.61 | 38.24 ▼6.34 |
Posts /wp-admin/edit.php | 2,163 ▲74 | 2.35 ▲0.18 | 43.90 ▲3.53 | 34.45 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,570 ▲36 | 23.15 ▲0.05 | 608.47 ▼45.13 | 33.70 ▼17.50 |
Media Library /wp-admin/upload.php | 1,457 ▲72 | 4.52 ▲0.31 | 104.99 ▼2.93 | 46.30 ▲1.95 |
Airdrop Settings /wp-admin/edit.php?post_type=airdrop&page=airdrop | 1,028 | 2.61 | 44.31 | 32.74 |
Add New /wp-admin/post-new.php?post_type=airdrop | 3,214 | 9.47 | 244.47 | 86.39 |
All Items /wp-admin/edit.php?post_type=airdrop | 1,175 | 2.66 | 36.53 | 31.09 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=airdrop | 1,381 | 2.25 | 35.13 | 28.12 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=airdrop&page=airdrop
- > Notice in wp-content/plugins/airdrop/admin/settings.php+101
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/airdrop/templates/archive-airdrop.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/airdrop/templates/single-airdrop.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/airdrop/admin/settings.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/airdrop/admin/shortcode.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: cryptocurrency, ico, bounty hunt, cryptocurrencies, bitcoin...
airdrop/airdrop.php 92% from 13 tests
The main PHP file in "WP Airdrop Manager" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 173 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected16,362 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 3,192 | 29 | 12,429 |
SVG | 3 | 0 | 12 | 3,360 |
PHP | 5 | 106 | 99 | 568 |
JavaScript | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected