Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.12ms] Passed 4 tests
Analyzing server-side resources used by Extended Settings for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.49 ▼4.65 |
Dashboard /wp-admin | 3.47 ▲0.17 | 46.95 ▼4.28 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 48.13 ▲2.04 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 108.15 ▲10.94 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 40.34 ▲2.43 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Extended Settings for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.18 | 1.80 ▲0.15 | 50.93 ▲7.55 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼0.04 | 111.83 ▲1.97 | 40.58 ▼0.47 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.13 ▲0.16 | 39.99 ▲2.75 | 35.20 ▲0.30 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.24 ▲5.70 | 582.23 ▼88.52 | 53.50 ▼12.86 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▼0.02 | 101.23 ▼17.15 | 49.91 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please describe screenshot #5 in woo-extended-settings/assets to your readme.txt
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
woo-extended-settings/wc-extended-settings.php 77% from 13 tests
"Extended Settings for WooCommerce" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 195 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("3.9" instead of "4.0")
- Main file name: Name the main plugin file the same as the plugin slug ("woo-extended-settings.php" instead of "wc-extended-settings.php")
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 plugin1,205 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 278 | 577 | 1,125 |
JavaScript | 5 | 19 | 21 | 80 |
CSS | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 18.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 3 | 5.77% |
▷ Public methods | 49 | 94.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.77% |
Functions | 9 | |
▷ Named functions | 2 | 22.22% |
▷ Anonymous functions | 7 | 77.78% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin