Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.38ms] Passed 4 tests
Server-side resources used by Product Builder for WooCommerce - Custom PC Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.50 ▼16.20 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.16 ▼13.06 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.97 ▲6.13 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.95 ▼9.62 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.52 ▼2.65 |
Server storage [IO: ▲0.99MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Product Builder for WooCommerce - Custom PC Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 13.59 ▼0.76 | 1.62 ▼0.62 | 39.90 ▼11.18 |
Dashboard /wp-admin | 2,212 ▲23 | 5.84 ▲0.90 | 95.60 ▼26.29 | 39.95 ▼6.08 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.03 ▲0.06 | 37.43 ▼0.32 | 33.17 ▲1.32 |
Add New Post /wp-admin/post-new.php | 1,520 ▼2 | 17.48 ▼5.60 | 660.79 ▲2.73 | 54.14 ▼3.55 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.19 ▼0.02 | 96.31 ▼1.96 | 43.35 ▼0.66 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: custom pc builder, custom pc parts, add products step by step, prebuilt gaming pc, woocommerce
woo-product-builder/woo-product-builder.php Passed 13 tests
The primary PHP file in "Product Builder for WooCommerce - Custom PC Builder" version 1.0.12 is used by WordPress to initiate all plugin functionality
126 characters long description:
Increases sales with Building product configuration for your online store. Help build a complete product from small components
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected11,277 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 391 | 292 | 5,504 |
PHP | 27 | 663 | 1,172 | 4,328 |
CSS | 20 | 272 | 136 | 1,402 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 43.08 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 155 | |
▷ Static methods | 13 | 8.39% |
▷ Public methods | 140 | 90.32% |
▷ Protected methods | 10 | 6.45% |
▷ Private methods | 5 | 3.23% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 12 | 57.14% |
▷ Class constants | 9 | 42.86% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/layout/layout_2column.png | 5.88KB | 2.75KB | ▼ 53.26% |
images/square-image.png | 0.81KB | 0.90KB | 0.00% |
images/added-success.png | 1.23KB | 1.07KB | ▼ 13.45% |
images/layout/layout_3column.png | 5.80KB | 2.73KB | ▼ 52.97% |
images/plus-product.png | 0.93KB | 0.63KB | ▼ 32.32% |