Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.02ms] Passed 4 tests
Server-side resources used by Share That Cart
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.97 ▲3.45 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.08 ▼1.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.52 ▼5.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.37 ▼6.58 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.26 ▼2.42 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Share That Cart
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.19 ▼1.18 | 1.80 ▼0.18 | 42.21 ▲1.08 |
Dashboard /wp-admin | 2,206 ▲21 | 4.84 ▼0.98 | 106.28 ▲3.55 | 42.55 ▼0.64 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.98 ▼0.02 | 35.11 ▼4.80 | 32.07 ▼6.27 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.60 ▲0.34 | 632.77 ▼36.20 | 48.91 ▼20.66 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.25 ▲0.02 | 94.28 ▼10.65 | 39.93 ▼9.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/share-that-cart/share-that-cart.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: share, cart, sharing cart, share cart via link, mateusz-styrna...
share-that-cart/share-that-cart.php Passed 13 tests
The main file in "Share That Cart" v. 1.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
63 characters long description:
This plugin allows you to share your cart via link with others.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected186 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 9 | 74 |
JavaScript | 1 | 5 | 0 | 36 |
PO File | 1 | 3 | 3 | 31 |
Sass | 1 | 4 | 0 | 26 |
CSS | 1 | 1 | 1 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
No PNG images were found in this plugin