Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼148.24ms] Passed 4 tests
A check of server-side resources used by Link Designer - Free Link Designer Plugin for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.10 | 38.14 ▲6.19 |
Dashboard /wp-admin | 3.23 ▲0.17 | 40.71 ▼10.03 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 36.62 ▼8.16 |
Add New Post /wp-admin/post-new.php | 5.07 ▼0.36 | 78.31 ▼573.30 |
Media Library /wp-admin/upload.php | 3.17 ▲0.17 | 31.10 ▼1.47 |
Link Designer Lite /wp-admin/tools.php?page=edld-info | 3.15 | 29.71 |
Server storage [IO: ▲0.45MB] [DB: ▲0.03MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 1 new option
New WordPress options |
---|
edld_font_list |
Browser metrics Passed 4 tests
An overview of browser requirements for Link Designer - Free Link Designer Plugin for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 9,492 ▲5,886 | 18.43 ▲2.88 | 13.31 ▲5.36 | 50.00 ▲4.09 |
Dashboard /wp-admin | 8,647 ▲5,710 | 7.42 ▲1.24 | 202.02 ▲58.81 | 121.50 ▲12.70 |
Posts /wp-admin/edit.php | 8,454 ▲5,715 | 3.62 ▲0.93 | 133.12 ▲65.51 | 117.56 ▲20.81 |
Add New Post /wp-admin/post-new.php | 6,002 ▲4,504 | 17.73 ▼1.15 | 390.48 ▲11.29 | 118.86 ▲9.75 |
Media Library /wp-admin/upload.php | 7,432 ▲5,622 | 5.65 ▲0.62 | 169.36 ▲25.53 | 156.90 ▲40.57 |
Link Designer Lite /wp-admin/tools.php?page=edld-info | 7,836 | 5.68 | 146.50 | 121.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- edld_font_list
Smoke tests 0% 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/tools.php?page=edld-info
- > Notice in wp-content/plugins/link-designer-lite/includes/backend/edld-shortcode-popup.php+104
Undefined variable: edld_link_color
- > GET request to /wp-admin/tools.php?page=edld-info
- > Notice in wp-content/plugins/link-designer-lite/includes/backend/edld-shortcode-popup.php+108
Undefined variable: edld_link_active_color
- > GET request to /wp-admin/tools.php?page=edld-info
- > Notice in wp-content/plugins/link-designer-lite/includes/backend/edld-shortcode-popup.php+112
Undefined variable: edld_link_hover_color
- > GET request to /wp-admin/tools.php?page=edld-info
- > Notice in wp-content/plugins/link-designer-lite/includes/backend/edld-shortcode-popup.php+117
Undefined variable: edld_link_background_color
- > GET request to /wp-admin/tools.php?page=edld-info
- > Notice in wp-content/plugins/link-designer-lite/includes/backend/edld-shortcode-popup.php+121
Undefined variable: edld_active_background_color
- > GET request to /wp-admin/tools.php?page=edld-info
- > Notice in wp-content/plugins/link-designer-lite/includes/backend/edld-shortcode-popup.php+125
Undefined variable: edld_hover_background_color
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/link-designer-lite/includes/backend/edld-how-to.php
- > /wp-content/plugins/link-designer-lite/links-designer-lite.php
- > /wp-content/plugins/link-designer-lite/includes/backend/edld-info.php
- > /wp-content/plugins/link-designer-lite/includes/backend/edld-shortcode-popup.php
- > /wp-content/plugins/link-designer-lite/includes/frontend/shortcode.php
- > /wp-content/plugins/link-designer-lite/includes/backend/edld-about.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/link-designer-lite/includes/backend/edld-google-fonts.php:747
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/tools.php?page=edld-info
- > Javascript (severe) in unknown
/wp-content/plugins/link-designer-lite/js/wp-color-picker-alpha.js?ver=1.0.1 10:459 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: button generator, wordpress link, button, wordpress button, links
link-designer-lite/links-designer-lite.php 92% from 13 tests
"Link Designer - Free Link Designer Plugin for WordPress" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("link-designer-lite.php" instead of "links-designer-lite.php")
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
No dangerous file extensions were detected3,431 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 81 | 95 | 1,765 |
CSS | 2 | 178 | 81 | 1,116 |
JavaScript | 4 | 76 | 201 | 373 |
PO File | 1 | 76 | 82 | 177 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 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 | 6 | |
▷ Global constants | 6 | 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
5 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-sets/facebook.png | 5.54KB | 1.67KB | ▼ 69.89% |
images/icon-sets/youtube.png | 7.11KB | 2.79KB | ▼ 60.71% |
images/icon-sets/twitter.png | 6.65KB | 2.51KB | ▼ 62.26% |
images/icon-sets/pinterest.png | 7.76KB | 3.29KB | ▼ 57.57% |
images/icon-sets/googlePlus.png | 6.98KB | 2.73KB | ▼ 60.91% |