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 gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.62ms] Passed 4 tests
Server-side resources used by Quick View For Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.69 ▲3.05 |
Dashboard /wp-admin | 3.43 ▲0.08 | 51.19 ▼7.05 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 44.60 ▼3.36 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 96.92 ▼4.14 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.78 ▲0.09 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Quick View For Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.07 ▼0.28 | 1.84 ▼0.05 | 44.04 ▲5.78 |
Dashboard /wp-admin | 2,202 ▲24 | 5.49 ▼0.19 | 99.18 ▲3.44 | 41.37 ▼5.05 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.11 ▲0.16 | 35.40 ▲1.02 | 35.19 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,437 ▼100 | 22.46 ▲4.30 | 567.96 ▼76.06 | 30.70 ▼55.22 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.28 ▲0.11 | 94.90 ▲0.24 | 38.35 ▼1.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- 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
Good news, no errors were detected
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 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
quick-view-for-woocommerce/start.php 85% from 13 tests
Analyzing the main PHP file in "Quick View For Woocommerce" version 1.2.4
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("quick-view-for-woocommerce.php" instead of "start.php")
- Requires PHP: Please use periods and digits for the required version (ex. "7.0" instead of "7.0 or higher")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,745 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 257 | 523 | 1,179 |
CSS | 2 | 15 | 8 | 807 |
JavaScript | 4 | 43 | 45 | 422 |
PO File | 1 | 96 | 104 | 206 |
SVG | 14 | 0 | 0 | 131 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 107)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 42.40 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 107.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 3 | 6.00% |
▷ Public methods | 49 | 98.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin