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.03MB] [CPU: ▼8.22ms] Passed 4 tests
Analyzing server-side resources used by WPC Save For Later for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.64 ▲1.02 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.65 ▼1.74 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 40.51 ▼17.40 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 78.71 ▼14.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.26 ▲3.95 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 36.77 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.21 | 26.35 |
Server storage [IO: ▲0.15MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
WPC Save For Later for WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲103 | 14.61 ▼0.11 | 1.69 ▲0.04 | 43.43 ▼0.49 |
Dashboard /wp-admin | 2,273 ▲103 | 5.70 ▲0.10 | 85.65 ▼13.93 | 72.01 ▲33.19 |
Posts /wp-admin/edit.php | 2,176 ▲76 | 2.02 ▲0.05 | 49.24 ▲10.23 | 31.58 ▼4.93 |
Add New Post /wp-admin/post-new.php | 1,760 ▲356 | 24.65 ▲6.76 | 674.75 ▲0.10 | 48.72 ▼16.31 |
Media Library /wp-admin/upload.php | 1,472 ▲72 | 4.23 ▲0.01 | 100.19 ▼8.76 | 73.67 ▲29.38 |
About /wp-admin/admin.php?page=wpclever | 1,389 | 2.15 | 29.43 | 35.10 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,730 | 2.12 | 33.30 | 59.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is required in wc-save-for-later/assets to your readme.txt
wc-save-for-later/wpc-save-for-later.php 85% from 13 tests
The main PHP script in "WPC Save For Later for WooCommerce" version 3.1.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wc-save-for-later.php" instead of "wpc-save-for-later.php")
- Description: The description should be shorter than 140 characters (currently 178 characters long)
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
No dangerous file extensions were detected2,134 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 170 | 40 | 1,091 |
CSS | 3 | 95 | 7 | 497 |
JavaScript | 3 | 78 | 5 | 292 |
Sass | 1 | 19 | 0 | 103 |
PO File | 1 | 26 | 28 | 82 |
SVG | 7 | 0 | 0 | 69 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 28.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 4 | 8.51% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG images were found in this plugin