Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.48ms] Passed 4 tests
Server-side resources used by WooCommerce Hear About Us
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.46 ▼2.78 |
Dashboard /wp-admin | 3.32 ▼0.02 | 54.46 ▼12.67 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.45 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.46 ▼11.97 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.86 ▲6.62 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Hear About Us
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.76 ▼0.99 | 1.88 ▼0.38 | 42.48 ▼1.06 |
Dashboard /wp-admin | 2,206 ▲15 | 4.86 ▼0.02 | 116.36 ▲14.68 | 43.27 ▼1.36 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.04 | 37.29 ▲1.06 | 31.39 ▼3.57 |
Add New Post /wp-admin/post-new.php | 1,520 ▼25 | 23.23 ▲4.90 | 655.43 ▲30.50 | 47.08 ▼13.29 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.10 | 96.90 ▼9.59 | 40.98 ▼1.34 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Requires at least: Invalid plugin version format
woocommerce-hear-about-us/woocommerce-hear-about-us.php Passed 13 tests
This is the main PHP file of "WooCommerce Hear About Us" version 1.5.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
51 characters long description:
Ask where your new customers come from at checkout.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin679 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 156 | 172 | 457 |
PO File | 3 | 66 | 76 | 187 |
Markdown | 1 | 5 | 0 | 18 |
JavaScript | 1 | 5 | 0 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 49 | |
▷ Static methods | 5 | 10.20% |
▷ Public methods | 38 | 77.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 22.45% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin