Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/wp-keylink/kl_plugin.php+88
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.78ms] Passed 4 tests
A check of server-side resources used by WP KeyLink
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.71 ▲3.88 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.73 ▼5.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.19 ▼4.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.21 ▼13.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.09 ▲0.47 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP KeyLink
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.56 ▼0.82 | 1.97 ▲0.15 | 44.62 ▲1.13 |
Dashboard /wp-admin | 2,203 ▲15 | 5.91 ▲0.01 | 99.81 ▼13.86 | 39.62 ▼7.65 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.03 | 37.19 ▼0.52 | 32.34 ▼4.70 |
Add New Post /wp-admin/post-new.php | 1,514 ▼22 | 17.71 ▼5.44 | 643.00 ▼45.45 | 57.41 ▼5.67 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.05 | 94.29 ▼7.94 | 39.53 ▼3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-keylink/kl_admin_setting.php:2
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/wp-keylink/kl_plugin.php on line 88
- > 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 90% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: autolink keywords, linkbuilding, inline auto link, autolink, linkbuild...
wp-keylink/kl_plugin.php 77% from 13 tests
The primary PHP file in "WP KeyLink" version v0.0.0.2... is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-keylink.php" instead of "kl_plugin.php")
- Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "v0.0.0.2...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected141 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 15 | 7 | 141 |
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.24 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin