Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼6.35ms] Passed 4 tests
An overview of server-side resources used by WPC Sticky Add To Cart for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 40.28 ▼10.56 |
Dashboard /wp-admin | 3.49 ▲0.15 | 49.84 ▼17.02 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 52.46 ▲2.40 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 91.66 ▼0.21 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 40.81 ▲3.14 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.38 | 36.05 |
About /wp-admin/admin.php?page=wpclever | 3.38 | 36.30 |
Server storage [IO: ▲0.09MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WPC Sticky Add To Cart for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 14.28 ▼0.34 | 1.99 ▲0.08 | 41.25 ▼6.16 |
Dashboard /wp-admin | 2,260 ▲89 | 5.83 ▲0.22 | 90.31 ▼13.88 | 71.30 ▲26.22 |
Posts /wp-admin/edit.php | 2,181 ▲78 | 2.04 ▲0.01 | 34.84 ▼1.76 | 33.94 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,753 ▲222 | 22.46 ▼0.56 | 750.18 ▲57.68 | 63.72 ▲0.03 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.26 ▲0.02 | 105.48 ▼4.01 | 81.96 ▲34.60 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.18 | 35.67 | 54.72 |
About /wp-admin/admin.php?page=wpclever | 1,404 | 2.13 | 33.85 | 36.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Congratulations! This plugin passed the SRP 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2 in wpc-sticky-add-to-cart/assets to your readme.txt
wpc-sticky-add-to-cart/wpc-sticky-add-to-cart.php Passed 13 tests
The main PHP file in "WPC Sticky Add To Cart for WooCommerce" ver. 2.0.2 adds more information about the plugin and also serves as the entry point for this plugin
100 characters long description:
WPC Sticky Add To Cart brings about a nicer, customer-friendly sticky add-to-cart bar for your site.
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
Good job! No executable or dangerous file extensions detected1,736 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 120 | 28 | 943 |
CSS | 4 | 101 | 6 | 534 |
JavaScript | 4 | 48 | 16 | 230 |
SVG | 1 | 0 | 0 | 29 |
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.38 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 4.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.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 | 32 | |
▷ Static methods | 4 | 12.50% |
▷ Public methods | 32 | 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
PNG images were not found in this plugin