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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.08ms] Passed 4 tests
An overview of server-side resources used by Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.91 ▲1.64 |
Dashboard /wp-admin | 3.33 ▼0.01 | 46.78 ▼19.71 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.82 ▼0.06 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 95.67 ▼10.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 32.97 ▼2.20 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
_wpc_activation_redirect |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲38 | 13.44 ▼0.95 | 2.05 ▼0.12 | 41.57 ▼1.55 |
Dashboard /wp-admin | 2,215 ▲30 | 4.84 ▼0.98 | 102.69 ▼5.16 | 40.59 ▼0.17 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.00 ▼0.03 | 39.60 ▲3.37 | 35.01 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,523 ▼11 | 17.49 ▼5.91 | 611.93 ▲18.02 | 57.92 ▲5.29 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.38 ▲0.08 | 96.88 ▼6.16 | 43.30 ▼0.50 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- _wpc_activation_redirect
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
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 smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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: You are using too many tags: 11 tag instead of maximum 10
woocommerce-putler-connector/woocommerce-putler-connector.php 85% from 13 tests
"Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store" version 2.13.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Plugin Name: Please don't use more than 70 characters for the plugin name (currently 92 characters long)
- Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.6+")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,354 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 501 | 368 | 2,354 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.84 |
Average class complexity | 327.50 |
▷ Minimum class complexity | 133.00 |
▷ Maximum class complexity | 522.00 |
Average method complexity | 8.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 1 | 3.12% |
▷ Private methods | 4 | 12.50% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 5 | |
▷ Global constants | 5 | 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 were not PNG files found in your plugin