Benchmarks
Plugin footprint 48% 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.03MB] [CPU: ▼4.61ms] Passed 4 tests
Server-side resources used by Redirect External Links(Back Links)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.51 ▼4.01 |
Dashboard /wp-admin | 3.34 ▲0.03 | 53.43 ▼1.98 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.22 ▼1.99 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.82 ▼10.46 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 43.26 ▲7.03 |
Add Link /wp-admin/admin.php?page=edit_link | 3.24 | 34.64 |
Manage BackLink /wp-admin/admin.php?page=manage_link | 3.26 | 27.37 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_track_back_link |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Redirect External Links(Back Links)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.25 ▼0.11 | 1.71 ▼0.05 | 41.29 ▼2.14 |
Dashboard /wp-admin | 2,209 ▲29 | 5.58 ▼0.06 | 97.87 ▲6.54 | 74.61 ▲29.72 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 1.97 ▲0.01 | 38.57 ▲1.47 | 33.99 ▼3.42 |
Add New Post /wp-admin/post-new.php | 1,710 ▲182 | 24.28 ▲1.13 | 615.05 ▼83.76 | 53.99 ▼0.05 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.11 ▼0.07 | 107.88 ▲6.23 | 64.01 ▲20.47 |
Add Link /wp-admin/admin.php?page=edit_link | 926 | 2.18 | 26.79 | 41.22 |
Manage BackLink /wp-admin/admin.php?page=manage_link | 982 | 2.04 | 27.40 | 28.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/track-external-linksback-links/kaddy_backlinktracker.php+113
Undefined variable: table
- The uninstall procedure failed, leaving 1 table in the database
- wp_track_back_link
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 6× 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/track-external-linksback-links/kaddy_backlinktracker.php:29
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/track-external-linksback-links/includes/kaddy_backlink_list.php on line 7
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/track-external-linksback-links/includes/kaddy_edit_link.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/track-external-linksback-links/includes/kaddy_backlink_list.php on line 7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/track-external-linksback-links/includes/kaddy_backlink_list.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_meta_box() in wp-content/plugins/track-external-linksback-links/includes/kaddy_edit_link.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% 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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Show the list of external link refer site .), #2 (Add Custom links by fill the form.)
track-external-linksback-links/kaddy_backlinktracker.php 77% from 13 tests
The principal PHP file in "Redirect External Links(Back Links)" v. 2.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.6.20" instead of "5.7")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("track-external-linksback-links.php" instead of "kaddy_backlinktracker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,598 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 37 | 49 | 1,257 |
PHP | 5 | 38 | 149 | 341 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.57KB | 0.65KB | ▼ 58.27% |