Benchmarks
Plugin footprint 65% 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.08MB] [CPU: ▼8.11ms] Passed 4 tests
An overview of server-side resources used by WPCashLinks LITE
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.08 ▼4.75 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.62 ▼5.04 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.62 ▼0.48 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 84.05 ▼19.88 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.73 ▼2.75 |
WPCashLinksLITE /wp-admin/admin.php?page=wpcashlinks_home | 3.28 | 32.00 |
Settings /wp-admin/admin.php?page=wpcl-settings | 3.28 | 31.88 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 150 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wpcl_keywords |
New WordPress options |
---|
widget_recent-comments |
wpcl_options |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPCashLinks LITE
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 14.06 ▼0.14 | 4.61 ▲2.91 | 41.01 ▲2.78 |
Dashboard /wp-admin | 2,246 ▲58 | 5.12 ▲0.27 | 111.25 ▲9.63 | 43.34 ▼2.60 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.26 ▲0.22 | 37.58 ▼1.89 | 33.43 ▼5.09 |
Add New Post /wp-admin/post-new.php | 1,551 ▲31 | 23.19 ▲0.02 | 641.20 ▼7.27 | 34.47 ▼31.20 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.34 ▲0.11 | 94.33 ▼18.64 | 40.70 ▼6.50 |
WPCashLinksLITE /wp-admin/admin.php?page=wpcashlinks_home | 1,025 | 1.80 | 25.92 | 24.99 |
Settings /wp-admin/admin.php?page=wpcl-settings | 1,054 | 1.80 | 23.04 | 23.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_wpcl_keywords
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wpcashlinks-lite/public/partials/wpcashlinks-public-display.php
- > /wp-content/plugins/wpcashlinks-lite/admin/partials/wpcashlinks-admin-sidebar.php
- > /wp-content/plugins/wpcashlinks-lite/admin/partials/wpcashlinks-admin-help.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wpcashlinks-lite/admin/partials/wpcashlinks-admin-settings.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wpcashlinks-lite/admin/partials/wpcashlinks-admin-display.php:102
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wpcashlinks_home
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=wpcashlinks_home 212:8 Uncaught TypeError: $ is not a function
Optimizations
Plugin configuration 93% 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
2 plugin tags: silo, keyword
wpcashlinks-lite/wpcashlinks.php 85% from 13 tests
Analyzing the main PHP file in "WPCashLinks LITE" version 1.0.3
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("wpcashlinks-lite.php" instead of "wpcashlinks.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin2,499 lines of code in 141 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 124 | 82 | 463 | 1,942 |
PHP | 15 | 194 | 455 | 549 |
CSS | 2 | 5 | 8 | 8 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/edit.png | 0.68KB | 0.70KB | 0.00% |