Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.51ms] Passed 4 tests
This is a short check of server-side resources used by WP Dynamic Keywords Injector
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.61 ▲1.33 |
Dashboard /wp-admin | 3.38 ▲0.07 | 50.20 ▲2.51 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.32 ▲0.89 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.25 ▼7.41 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.82 ▼0.85 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Dynamic Keywords Injector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 14.77 ▲0.36 | 1.95 ▲0.04 | 46.48 ▲1.10 |
Dashboard /wp-admin | 2,222 ▲31 | 5.79 ▲0.83 | 116.09 ▲8.37 | 42.77 ▲1.41 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.02 ▼0.01 | 34.09 ▼3.44 | 34.89 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,558 ▲25 | 18.22 ▼4.87 | 626.12 ▼5.16 | 52.90 ▼11.03 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.33 ▲0.14 | 94.39 ▼6.06 | 39.88 ▼4.88 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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
Even though no errors were found, 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
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/wp-dynamic-keywords-injector/sidebar.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-dynamic-keywords-injector/settings.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dynamic-keywords-injector/wp-dynamic-keywords-injector.php:18
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wp-dynamic-keywords-injector/wp-dynamic-keywords-injector.php Passed 13 tests
The primary PHP file in "WP Dynamic Keywords Injector" version 2.3.18 is used by WordPress to initiate all plugin functionality
90 characters long description:
WP Dynamic Keywords Injector inserts dynamic keywords, spintax, page title and meta title.
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
There were no executable files found in this plugin2,142 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 0 | 18 | 1,332 |
PHP | 3 | 92 | 92 | 805 |
JavaScript | 3 | 0 | 10 | 5 |
PHP code Passed 2 tests
Analyzing 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.43 |
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 | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.44MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/banner-new.png | 153.91KB | 65.25KB | ▼ 57.60% |
images/banner-three.png | 12.96KB | 5.88KB | ▼ 54.61% |
images/banner-new-one.png | 187.42KB | 60.80KB | ▼ 67.56% |
images/close.png | 25.60KB | 7.35KB | ▼ 71.30% |
images/banner-one.png | 29.81KB | 11.18KB | ▼ 62.48% |