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.03MB] [CPU: ▼0.61ms] Passed 4 tests
Analyzing server-side resources used by Webfluential for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.79 ▲0.51 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.87 ▼0.95 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.59 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.64 ▲1.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.26 ▼3.14 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Webfluential for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.22 ▼1.08 | 4.51 ▲2.83 | 44.69 ▲5.33 |
Dashboard /wp-admin | 2,212 ▲23 | 4.87 ▼0.03 | 96.99 ▼13.42 | 38.84 ▼5.45 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▼0.03 | 39.23 ▼0.28 | 37.23 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.25 ▲5.73 | 617.27 ▼60.47 | 48.51 ▼21.92 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.26 ▲0.01 | 95.89 ▼18.24 | 41.74 ▼5.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Screenshots: Screenshot #1 (screenshot-3.(png|jpg|jpeg|gif)) image required
webfluential-for-woocommerce/webfluential-for-woocommerce.php Passed 13 tests
The entry point to "Webfluential for WooCommerce" version 1.0.0 is a PHP file that has certain tags in its header comment area
54 characters long description:
Connect with influencers on the web using Webfluential
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
Good job! No executable or dangerous file extensions detected1,366 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 358 | 408 | 1,250 |
CSS | 1 | 15 | 0 | 76 |
JavaScript | 1 | 10 | 1 | 40 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 17.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 1 | 1.14% |
▷ Public methods | 61 | 69.32% |
▷ Protected methods | 19 | 21.59% |
▷ Private methods | 8 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 13 | 72.22% |
▷ Class constants | 5 | 27.78% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin