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.14MB] [CPU: ▼5.87ms] Passed 4 tests
Analyzing server-side resources used by WP24 Domain Check
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.15 ▼2.47 |
Dashboard /wp-admin | 3.47 ▲0.17 | 46.20 ▼4.42 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 47.45 ▼0.32 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 85.00 ▼16.25 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 38.99 ▲3.57 |
WP24 Domain Check /wp-admin/options-general.php?page=wp24_domaincheck_settings | 3.36 | 33.72 |
Server storage [IO: ▲0.68MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 24 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_wp24_tld_woocommerce |
wp_wp24_tld_prices_links |
wp_wp24_whois_queries |
wp_wp24_whois_servers |
New WordPress options |
---|
can_compress_scripts |
widget_wp24_domaincheck_widget |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
wp24_domaincheck |
Browser metrics Passed 4 tests
An overview of browser requirements for WP24 Domain Check
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲88 | 13.39 ▼0.99 | 1.63 ▼0.17 | 42.49 ▼8.10 |
Dashboard /wp-admin | 2,229 ▲38 | 5.12 ▼0.81 | 113.03 ▲1.00 | 39.34 ▼8.58 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.37 ▲0.37 | 42.93 ▲5.79 | 34.05 ▲1.27 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.18 ▼0.22 | 694.83 ▲13.64 | 37.68 ▼15.53 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.47 ▲0.25 | 103.76 ▼12.76 | 42.09 ▼9.16 |
WP24 Domain Check /wp-admin/options-general.php?page=wp24_domaincheck_settings | 1,098 | 2.15 | 30.40 | 33.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WP24_Domain_Check_Settings::uninstall() should not be called statically
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_wp24_domaincheck_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp24-domain-check/includes/class-wp24-widget.php:6
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: A description for screenshot #14 is required in wp24-domain-check/assets to your readme.txt
- Screenshots: Please add an image for screenshot #7 (General settings)
wp24-domain-check/wp24-domain-check.php Passed 13 tests
The entry point to "WP24 Domain Check" version 1.10.10 is a PHP file that has certain tags in its header comment area
86 characters long description:
Check (whois) domain names for availability. Easy integration via shortcode or widget.
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
Everything looks great! No dangerous files found in this plugin9,615 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 280 | 870 | 7,469 |
JavaScript | 4 | 103 | 93 | 1,199 |
PO File | 1 | 289 | 351 | 703 |
CSS | 3 | 28 | 0 | 204 |
XML | 1 | 0 | 0 | 40 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 70.12 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 213.00 |
Average method complexity | 7.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.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 | 74 | |
▷ Static methods | 8 | 10.81% |
▷ Public methods | 45 | 60.81% |
▷ Protected methods | 17 | 22.97% |
▷ Private methods | 12 | 16.22% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin