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.22MB] [CPU: ▼7.25ms] Passed 4 tests
Server-side resources used by WPC Brands for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.46 ▼1.07 |
Dashboard /wp-admin | 3.53 ▲0.18 | 54.25 ▼13.96 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 48.39 ▼5.59 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 91.13 ▼8.36 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 41.26 ▲4.18 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.63 | 35.68 |
About /wp-admin/admin.php?page=wpclever | 3.42 | 31.94 |
Server storage [IO: ▲0.09MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WPC Brands for WooCommerce: 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,892 ▲131 | 14.75 ▲0.37 | 1.86 ▼0.04 | 43.62 ▼1.03 |
Dashboard /wp-admin | 2,286 ▲83 | 4.86 ▼1.07 | 99.64 ▼19.21 | 71.71 ▲28.26 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 2.04 ▼0.01 | 36.27 ▼1.18 | 32.81 ▼3.35 |
Add New Post /wp-admin/post-new.php | 1,622 ▲96 | 23.21 ▲5.69 | 674.25 ▼12.04 | 59.53 ▼2.96 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 4.18 ▼0.02 | 101.81 ▲0.65 | 81.77 ▲37.99 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.15 | 36.02 | 56.71 |
About /wp-admin/admin.php?page=wpclever | 1,372 | 2.16 | 33.40 | 38.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: wpc, woo, brands, woocommerce
wpc-brands/wpc-brands.php Passed 13 tests
The main PHP file in "WPC Brands for WooCommerce" ver. 1.2.5 adds more information about the plugin and also serves as the entry point for this plugin
62 characters long description:
WPC Brands allows you to manage product brands in the easiest.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,752 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 172 | 39 | 1,141 |
CSS | 4 | 92 | 7 | 474 |
JavaScript | 3 | 19 | 4 | 108 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 3 | 6.52% |
▷ Public methods | 46 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin