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.01MB] [CPU: ▼8.55ms] Passed 4 tests
Server-side resources used by Woocommerce Admin App Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.62 ▼0.36 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.75 ▼15.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.89 ▲0.94 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.32 ▼19.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.97 ▲7.77 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Woocommerce Admin App Connector: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.17 ▼0.38 | 1.83 ▼0.20 | 44.28 ▲0.34 |
Dashboard /wp-admin | 2,192 ▲15 | 5.63 ▲0.06 | 96.43 ▼3.63 | 43.14 ▲0.86 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.03 | 35.52 ▼1.74 | 31.83 ▼4.95 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.24 ▲0.23 | 681.77 ▲0.29 | 64.61 ▼2.45 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.10 ▼0.10 | 110.44 ▲4.64 | 45.89 ▲2.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woo-admin-app-connector/app/phoen-woo-admin-customer_role.php
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 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: woo app, app connector, administrator app, woocommerce app, woocommerce...
woo-admin-app-connector/plugin.php 69% from 13 tests
"Woocommerce Admin App Connector" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "2.6.0")
- Domain Path: The domain path points to an invalid folder, "/i18n/languages/" does not exist
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-admin-app-connector.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected822 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 255 | 22 | 749 |
CSS | 2 | 8 | 5 | 45 |
JavaScript | 1 | 0 | 0 | 28 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
6 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_777777_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
assets/css/images/ui-icons_444444_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
assets/css/images/ui-icons_ffffff_256x240.png | 6.33KB | 4.18KB | ▼ 33.99% |
assets/css/images/ui-icons_cc0000_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/css/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |