Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.26ms] Passed 4 tests
An overview of server-side resources used by WP Keywords Report
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.91 ▼1.83 |
Dashboard /wp-admin | 3.31 ▼0.04 | 260.89 ▲199.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.32 ▼3.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.23 ▼5.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.18 ▲1.46 |
Full Keywords Report /wp-admin/admin.php?page=full-keywords-report | 3.20 | 249.16 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Keywords Report
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,151 ▼584 | 12.29 ▼1.99 | 2.07 ▲0.32 | 42.66 ▼3.71 |
Dashboard /wp-admin | 1,560 ▼628 | 1.38 ▼3.53 | 13.13 ▼103.33 | 33.93 ▼9.78 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.01 ▲0.00 | 38.95 ▲3.26 | 41.72 ▲6.28 |
Add New Post /wp-admin/post-new.php | 1,669 ▲156 | 21.76 ▲4.08 | 678.45 ▲79.34 | 40.47 ▼2.98 |
Media Library /wp-admin/upload.php | 1,387 ▲2 | 4.21 ▲0.04 | 100.50 ▼0.48 | 40.19 ▼4.02 |
Full Keywords Report /wp-admin/admin.php?page=full-keywords-report | 675 | 1.53 | 6.30 | 15.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=full-keywords-report
- > Error in wp-content/plugins/wp-keywords-report/wp-keywords-report.php+43
Uncaught Error: Cannot use object of type WP_Error as array in wp-content/plugins/wp-keywords-report/wp-keywords-report.php:43
Stack trace:
#0 wp-includes/class-wp-hook.php(310): gkr_full_report()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/wp-keywords-report/wp-keywords-report.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Dashboard widget demo), #2 (Full report page demo)
- Tags: There are too many tags (17 tag instead of maximum 10)
wp-keywords-report/wp-keywords-report.php 92% from 13 tests
The entry point to "WP Keywords Report" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 177 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected56 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 13 | 56 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 5 | |
▷ Named functions | 5 | 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
2 PNG files occupy 0.32MB with 0.21MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 184.16KB | 59.75KB | ▼ 67.55% |
screenshot-1.png | 145.43KB | 50.49KB | ▼ 65.28% |