Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method ADECARTMANAGER::activation() should not be called statically
Server metrics [RAM: ▼1.04MB] [CPU: ▼37.99ms] Passed 4 tests
Server-side resources used by Ade Cart Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▼0.63 | 20.46 ▼18.76 |
Dashboard /wp-admin | 3.01 ▼0.29 | 31.45 ▼19.37 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 23.28 ▼29.83 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.88 | 23.13 ▼83.99 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 21.49 ▼13.33 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_ade_user_cart_data |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
ade_cart_manager_enable_popup |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ade Cart Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.21 ▼0.44 | 2.16 ▲0.42 | 45.38 ▲0.65 |
Dashboard /wp-admin | 2,207 ▲27 | 5.68 ▲0.08 | 96.65 ▲8.50 | 41.77 ▼2.99 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▲0.01 | 35.94 ▼1.21 | 33.85 ▼2.42 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.41 ▲0.62 | 659.43 ▼10.27 | 49.72 ▼2.11 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.15 ▲0.06 | 104.70 ▼2.34 | 43.50 ▼0.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method ADEDASHBOARD::adecartmanagermenu() should not be called statically
- Zombie tables were found after uninstall: 1 table
- wp_ade_user_cart_data
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- ade_cart_manager_enable_popup
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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 everything seems fine, this is not 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
No output text or server-side errors detected 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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2, #3 in ade-cart-manager/assets to your readme.txt
ade-cart-manager/ade-cart-manager.php Passed 13 tests
The main PHP file in "Ade Cart Manager" ver. 1.4.5 adds more information about the plugin and also serves as the entry point for this plugin
34 characters long description:
Track and recover users cart items
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,462 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 98 | 117 | 1,288 |
JavaScript | 1 | 3 | 11 | 173 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 4 | 16.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin