Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.01ms] Passed 4 tests
Analyzing server-side resources used by Simple Keyword to Link
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 39.94 ▲1.69 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.11 ▼2.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.91 ▼3.18 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.93 ▼12.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.33 ▲3.56 |
delete /wp-admin/admin.php?page=simple-keyword-to-link-delete-element | 3.18 | 26.26 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Keyword to Link
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.21 ▼1.20 | 1.80 ▲0.09 | 41.39 ▲0.48 |
Dashboard /wp-admin | 2,218 ▲27 | 5.86 ▲1.00 | 105.52 ▲4.23 | 38.53 ▼6.35 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.00 ▼0.05 | 40.09 ▼2.50 | 34.89 ▼3.44 |
Add New Post /wp-admin/post-new.php | 1,543 ▲18 | 23.14 ▼0.06 | 668.33 ▲53.45 | 55.74 ▲5.39 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.21 ▲0.07 | 97.56 ▼2.19 | 40.18 ▼2.22 |
delete /wp-admin/admin.php?page=simple-keyword-to-link-delete-element | 1,616 | 2.30 | 26.06 | 27.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/simple-keyword-to-link/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/simple-keyword-to-link/simple-keyword-to-link.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/simple-keyword-to-link/views/credits.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Management screen. there is only one screenshot because the plugin is really "Very simple")
simple-keyword-to-link/simple-keyword-to-link.php Passed 13 tests
"Simple Keyword to Link" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
104 characters long description:
Really Simple "Keyword to Link" Converter. Automatically create links for specific words in your content
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin277 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 33 | 27 | 218 |
PO File | 1 | 18 | 19 | 50 |
Markdown | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 PNG file occupies 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 59.76KB | 17.13KB | ▼ 71.33% |