Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼9.04ms] Passed 4 tests
Analyzing server-side resources used by Powie's WHOIS Domain Check
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.63 ▼6.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.63 ▼3.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.91 ▼7.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.57 ▼17.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.26 ▲2.44 |
Powie's WHOIS Setup /wp-admin/options-general.php?page=powies-whois/pwhois_settings.php | 3.26 | 38.63 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
display-on-connect |
display-on-free |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Powie's WHOIS Domain Check
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲141 | 13.41 ▼0.83 | 8.57 ▲6.87 | 42.34 ▼5.25 |
Dashboard /wp-admin | 2,199 ▲21 | 5.57 ▼0.14 | 91.48 ▼14.55 | 39.86 ▼3.26 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.01 ▲0.01 | 33.73 ▼5.10 | 32.86 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.91 ▼0.14 | 657.53 ▼13.92 | 66.54 ▲17.13 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.01 | 95.65 ▼23.74 | 44.86 ▼2.59 |
Powie's WHOIS Setup /wp-admin/options-general.php?page=powies-whois/pwhois_settings.php | 1,110 | 3.50 | 73.68 | 41.28 |
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
These items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- display-on-free
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- display-on-connect
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/powies-whois/powies-whois.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/powies-whois/pwhois_settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: shortcode, lookup, whois, free, domain
powies-whois/powies-whois.php Passed 13 tests
The main PHP file in "Powie's WHOIS Domain Check" ver. 0.9.33 adds more information about the plugin and also serves as the entry point for this plugin
29 characters long description:
Domain WHOIS Shortcode Plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin716 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 48 | 392 |
PO File | 3 | 110 | 132 | 297 |
JavaScript | 1 | 2 | 0 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 4.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 50.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
There were not PNG files found in your plugin