Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/save-for-later-like-amazon/core.php+37
Undefined variable: charset_collate
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.53ms] Passed 4 tests
A check of server-side resources used by Save For Later Like Amazon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 41.69 ▼3.67 |
Dashboard /wp-admin | 3.46 ▲0.15 | 49.59 ▼1.22 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.71 ▼3.24 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 86.85 ▼18.00 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.59 ▼0.48 |
Settings /wp-admin/admin.php?page=settings-for-later-like-amazon | 3.32 | 32.02 |
Save For Later Like Amazon /wp-admin/admin.php?page=shop-for-later | 3.32 | 38.79 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_save_for_later |
New WordPress options |
---|
get_option_save_for_list |
api_url_for_activation |
enable_disable_plugin |
server_allow |
requested_activation_key |
user_end_code_to_check |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
kbiz_activation_key |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Save For Later Like Amazon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲90 | 14.41 ▲0.03 | 1.68 ▼0.36 | 37.55 ▼4.07 |
Dashboard /wp-admin | 2,257 ▲51 | 5.82 ▼0.03 | 100.01 ▼6.31 | 41.97 ▼3.03 |
Posts /wp-admin/edit.php | 2,133 ▲30 | 2.18 ▲0.21 | 39.24 ▲0.68 | 35.73 ▼1.73 |
Add New Post /wp-admin/post-new.php | 1,557 ▲17 | 23.06 ▲4.68 | 655.93 ▲23.78 | 55.43 ▼3.56 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.25 ▲0.02 | 101.13 ▲2.14 | 43.09 ▲1.85 |
Settings /wp-admin/admin.php?page=settings-for-later-like-amazon | 730 | 1.53 | 7.03 | 25.96 |
Save For Later Like Amazon /wp-admin/admin.php?page=shop-for-later | 710 | 1.35 | 7.06 | 22.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_save_for_later
- Zombie WordPress options detected upon uninstall: 14 options
- kbiz_activation_key
- widget_theysaidso_widget
- server_allow
- enable_disable_plugin
- theysaidso_admin_options
- user_end_code_to_check
- kbiz_registration_email
- widget_recent-comments
- get_option_save_for_list
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Woo\\SaveForLater\\plugin_dir_url() in wp-content/plugins/save-for-later-like-amazon/core.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function Woo\\SaveForLater\\plugin_dir_url() in wp-content/plugins/save-for-later-like-amazon/core.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in save-for-later-like-amazon/assets to your readme.txt
save-for-later-like-amazon/woo-save-for-later-like-amazon.php 77% from 13 tests
Analyzing the main PHP file in "Save For Later Like Amazon" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("save-for-later-like-amazon.php" instead of "woo-save-for-later-like-amazon.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 159 characters long)
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin706 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 171 | 81 | 536 |
JavaScript | 1 | 38 | 14 | 116 |
CSS | 2 | 2 | 3 | 54 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 75.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 25 | 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 | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin