Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼0.89ms] Passed 4 tests
Analyzing server-side resources used by WPC Product FAQs for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 32.76 ▼3.70 |
Dashboard /wp-admin | 3.48 ▲0.18 | 44.29 ▲0.01 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 47.92 ▲1.26 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 88.16 ▼0.39 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 32.18 ▲0.53 |
About /wp-admin/admin.php?page=wpclever | 3.37 | 30.81 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.37 | 28.32 |
Server storage [IO: ▲0.08MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WPC Product FAQs 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,866 ▲105 | 14.37 ▼0.21 | 1.58 ▼0.20 | 37.92 ▼7.34 |
Dashboard /wp-admin | 2,275 ▲101 | 5.69 ▲0.07 | 82.30 ▼3.51 | 68.96 ▲25.58 |
Posts /wp-admin/edit.php | 2,181 ▲84 | 2.03 ▲0.02 | 38.04 ▲1.79 | 34.58 ▲1.32 |
Add New Post /wp-admin/post-new.php | 1,601 ▲75 | 23.10 ▲0.21 | 724.18 ▲49.11 | 49.18 ▼0.43 |
Media Library /wp-admin/upload.php | 1,480 ▲83 | 4.27 ▲0.05 | 96.64 ▼4.96 | 88.05 ▲45.67 |
About /wp-admin/admin.php?page=wpclever | 1,405 | 2.14 | 29.57 | 36.38 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.13 | 32.99 | 60.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2 in wpc-product-faqs/assets to your readme.txt
wpc-product-faqs/wpc-product-faqs.php Passed 13 tests
The primary PHP file in "WPC Product FAQs for WooCommerce" version 2.1.5 is used by WordPress to initiate all plugin functionality
53 characters long description:
Ultimate solution to manage WooCommerce product FAQs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,684 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 148 | 33 | 965 |
CSS | 4 | 100 | 8 | 514 |
JavaScript | 3 | 33 | 5 | 176 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 43 | |
▷ Static methods | 1 | 2.33% |
▷ Public methods | 43 | 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 | 8 | |
▷ Global constants | 8 | 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
No PNG files were detected