Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.06ms] Passed 4 tests
Server-side resources used by Premium Link Cloaker Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.89 ▼5.28 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.86 ▼3.69 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.09 ▲1.84 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.43 ▼8.99 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.05 ▲1.72 |
Go PRO /wp-admin/admin.php?page=plcl_go_pro | 3.28 | 32.06 |
Stats /wp-admin/admin.php?page=plcl_stats | 3.32 | 38.38 |
Add New Link /wp-admin/admin.php?page=plcl_add_link | 3.30 | 34.74 |
Categories /wp-admin/admin.php?page=plcl_categories | 3.30 | 29.58 |
Settings /wp-admin/admin.php?page=plcl_settings | 3.29 | 32.22 |
Cloaked Links /wp-admin/admin.php?page=plcl | 3.33 | 32.35 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 29 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_plcl_cat_relationships |
wp_plcl_categories |
wp_plcl_clicks |
wp_plcl_links |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
plcl_settings |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Premium Link Cloaker Lite
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.27 ▼1.09 | 1.61 ▼0.17 | 41.52 ▼2.65 |
Dashboard /wp-admin | 2,249 ▲61 | 5.90 ▲0.99 | 106.33 ▼12.52 | 39.27 ▼8.25 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.01 ▼0.05 | 42.20 ▲7.73 | 34.41 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,567 ▲47 | 23.52 ▲0.43 | 658.71 ▼29.43 | 56.11 ▼10.32 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.19 ▼0.03 | 96.00 ▼17.08 | 43.37 ▼5.64 |
Go PRO /wp-admin/admin.php?page=plcl_go_pro | 1,031 | 2.38 | 31.80 | 54.97 |
Stats /wp-admin/admin.php?page=plcl_stats | 1,163 | 2.50 | 37.75 | 33.17 |
Add New Link /wp-admin/admin.php?page=plcl_add_link | 1,067 | 2.39 | 30.76 | 27.41 |
Categories /wp-admin/admin.php?page=plcl_categories | 1,093 | 2.38 | 31.35 | 30.12 |
Settings /wp-admin/admin.php?page=plcl_settings | 1,084 | 2.38 | 30.88 | 28.00 |
Cloaked Links /wp-admin/admin.php?page=plcl | 1,162 | 2.52 | 40.85 | 31.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_plcl_clicks
- wp_plcl_categories
- wp_plcl_cat_relationships
- wp_plcl_links
- Zombie WordPress options detected upon uninstall: 7 options
- plcl_settings
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 10× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function premium_link_cloaker_lite() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/sidebar.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/categories.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/go-pro.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/edit-link.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/link-form.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/cat-form.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/stats.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/links.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/premium-link-cloaker-lite/templates/admin/add-link.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: Screenshot #1 (PLC Lite dashboard) image not found
premium-link-cloaker-lite/premium-link-cloaker-lite.php 77% from 13 tests
The main PHP file in "Premium Link Cloaker Lite" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Description: The description should be shorter than 140 characters (currently 225 characters long)
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
No dangerous file extensions were detected2,011 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 240 | 119 | 1,818 |
CSS | 3 | 30 | 3 | 127 |
JavaScript | 4 | 5 | 22 | 66 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 57 | |
▷ Static methods | 1 | 1.75% |
▷ Public methods | 54 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.26% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 42.67KB | 17.55KB | ▼ 58.86% |