Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼11.12ms] Passed 4 tests
A check of server-side resources used by Easy External Links
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 40.56 ▲3.81 |
Dashboard /wp-admin | 3.47 ▲0.12 | 46.22 ▼14.65 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 41.60 ▼9.92 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.43 ▼16.58 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 34.69 ▼3.33 |
External Links /wp-admin/options-general.php?page=WPLINKS_menu | 3.36 | 30.97 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 106 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
WPLINKS-external-image |
theysaidso_admin_options |
WPLINKS-open |
WPLINKS-whitelist |
db_upgraded |
WPLINKS-title |
WPLINKS-title-shortcode |
WPLINKS-comments |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy External Links
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 14.38 ▲0.10 | 2.10 ▲0.29 | 45.02 ▲1.33 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.05 | 90.18 ▼1.93 | 41.27 ▲4.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.00 | 35.93 ▼10.34 | 32.56 ▼5.23 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 18.35 ▼4.63 | 616.11 ▼43.07 | 63.00 ▲7.70 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.25 ▲0.11 | 94.82 ▼14.69 | 43.03 ▼4.00 |
External Links /wp-admin/options-general.php?page=WPLINKS_menu | 1,618 | 4.08 | 78.32 | 109.65 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 15 options in the database
- can_compress_scripts
- WPLINKS-image
- WPLINKS-external-image
- WPLINKS-whitelist
- WPLINKS-title
- theysaidso_admin_options
- WPLINKS-open
- WPLINKS-excerpt
- WPLINKS-nofollow
- widget_theysaidso_widget
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-links/wp-links.php:32
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=WPLINKS_menu
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/options-general.php?page=WPLINKS_menu:143:29)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/options-general.php?page=WPLINKS_menu
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Options Page)
- Tags: Please delete some tags, you are using 25 tag instead of maximum 10
wp-links/wp-links.php Passed 13 tests
The main PHP script in "Easy External Links" version 2.2.3 is automatically included on every request by WordPress
35 characters long description:
External link handler for Wordpress
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
Everything looks great! No dangerous files found in this plugin473 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 79 | 63 | 473 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.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
102 PNG files occupy 0.21MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/external-link-aqua03.png | 0.21KB | 0.14KB | ▼ 32.55% |
icons/external-link-lilac05.png | 0.18KB | 0.13KB | ▼ 26.52% |
icons/external-link-beige-dark03.png | 0.21KB | 0.14KB | ▼ 32.23% |
icons/external-link-red-dark02.png | 0.20KB | 0.14KB | ▼ 31.03% |
icons/external-link-red-dark06.png | 0.17KB | 0.12KB | ▼ 31.79% |