Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.57ms] Passed 4 tests
This is a short check of server-side resources used by Platform.ly for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.46 ▲1.86 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.96 ▼16.38 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.58 ▼3.92 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.57 ▼15.83 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.17 ▲1.88 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Platform.ly 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,789 ▲32 | 14.26 ▼0.03 | 1.80 ▼0.36 | 41.11 ▼0.78 |
Dashboard /wp-admin | 2,195 ▲14 | 5.63 ▼0.08 | 94.18 ▼6.98 | 42.29 ▼1.36 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.96 ▼0.02 | 39.47 ▼2.23 | 36.55 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.21 ▲0.13 | 642.20 ▼16.49 | 48.66 ▼7.61 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▼0.01 | 97.00 ▼8.95 | 44.78 ▼0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: platformly, event tracking, sales reporting, cart abandonment, ecommerce...
platformly-for-woocommerce/platformly-for-woocommerce.php 85% from 13 tests
This is the main PHP file of "Platform.ly for WooCommerce" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.9.13" instead of "3.5.0")
- Description: Keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected12,419 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 2,457 | 665 | 9,668 |
PHP | 18 | 327 | 295 | 2,292 |
CSS | 3 | 58 | 0 | 459 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 118 | |
▷ Static methods | 6 | 5.08% |
▷ Public methods | 87 | 73.73% |
▷ Protected methods | 24 | 20.34% |
▷ Private methods | 7 | 5.93% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/profile_img.png | 2.03KB | 2.03KB | 0.00% |
admin/img/logo.png | 1.17KB | 0.26KB | ▼ 77.30% |