Benchmarks
Plugin footprint 65% 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.14MB] [CPU: ▼7.93ms] Passed 4 tests
This is a short check of server-side resources used by WP AutoKeyword
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.27 ▼2.48 |
Dashboard /wp-admin | 3.46 ▲0.11 | 48.47 ▼18.56 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.94 ▼1.65 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 88.47 ▼9.03 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.97 ▲2.86 |
WP AutoKeyword /wp-admin/tools.php?page=WP-AutoKeyword | 3.36 | 33.41 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wpak_keywords |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP AutoKeyword
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲41 | 14.37 ▲0.02 | 1.87 ▼0.07 | 43.17 ▼0.07 |
Dashboard /wp-admin | 2,210 ▲30 | 5.74 ▲0.08 | 97.71 ▲9.34 | 42.40 ▲4.22 |
Posts /wp-admin/edit.php | 2,112 ▲15 | 2.09 ▲0.10 | 49.32 ▲14.40 | 34.85 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.02 ▼0.08 | 702.34 ▲78.99 | 67.49 ▲14.75 |
Media Library /wp-admin/upload.php | 1,412 ▲12 | 4.27 ▼0.13 | 116.62 ▲11.10 | 43.58 ▼1.12 |
WP AutoKeyword /wp-admin/tools.php?page=WP-AutoKeyword | 1,607 | 2.15 | 38.39 | 81.14 |
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
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_wpak_keywords
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-autokeyword/WP-AutoKeyword.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-autokeyword/wp_ak_functions.php:9
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: metatag, keyword, seo, keyword selector, keyword adder...
wp-autokeyword/WP-AutoKeyword.php 85% from 13 tests
The main file in "WP AutoKeyword" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-autokeyword.php" instead of "WP-AutoKeyword.php")
- Description: The description should be shorter than 140 characters (currently 319 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,155 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 132 | 201 | 897 |
JavaScript | 1 | 20 | 33 | 159 |
SVG | 1 | 0 | 0 | 99 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Notice-Icon.png | 1.63KB | 1.63KB | 0.00% |
images/Warning-Icon.png | 1.12KB | 1.22KB | 0.00% |
images/Error-Icon.png | 1.63KB | 1.63KB | 0.06% |
images/Success-Icon.png | 1.61KB | 1.61KB | 0.42% |