Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.06ms] Passed 4 tests
Server-side resources used by WPC Shop as a Customer for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.18 ▼1.33 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.87 ▲2.34 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.22 ▲0.92 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 79.50 ▼5.83 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.82 ▼2.00 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 29.97 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.21 | 30.98 |
Server storage [IO: ▲0.07MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WPC Shop as a Customer for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 14.35 ▼0.18 | 2.12 ▲0.35 | 43.70 ▼1.73 |
Dashboard /wp-admin | 2,260 ▲86 | 5.62 ▲0.01 | 84.50 ▼14.29 | 73.45 ▲28.92 |
Posts /wp-admin/edit.php | 2,181 ▲84 | 2.04 ▲0.03 | 34.77 ▲1.40 | 34.06 ▼2.88 |
Add New Post /wp-admin/post-new.php | 1,604 ▲76 | 23.28 ▼0.04 | 742.14 ▲57.19 | 61.68 ▲1.89 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 4.18 ▼0.00 | 95.64 ▼6.78 | 78.98 ▲35.17 |
About /wp-admin/admin.php?page=wpclever | 1,408 | 2.14 | 31.08 | 34.32 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.16 | 32.40 | 60.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 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 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3 in wpc-shop-as-customer/assets to your readme.txt
wpc-shop-as-customer/wpc-shop-as-customer.php Passed 13 tests
The entry point to "WPC Shop as a Customer for WooCommerce" version 1.2.3 is a PHP file that has certain tags in its header comment area
90 characters long description:
WPC Shop as a Customer allows store administrators to login as a customer on the frontend.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,510 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 131 | 28 | 785 |
CSS | 3 | 96 | 6 | 563 |
JavaScript | 3 | 23 | 2 | 126 |
SVG | 2 | 0 | 0 | 36 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 4.00 |
▷ 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 | 34 | |
▷ Static methods | 3 | 8.82% |
▷ Public methods | 34 | 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